App Designer and arduino

조회 수: 18 (최근 30일)
Oscar Avilés
Oscar Avilés 2022년 3월 22일
답변: Ayush 2023년 12월 8일
hello everyone, I am creating a graphical interface in the matlab app designer, I want to connect it to arduino, but I don't know how to make the connection between my arduino and the interface. The activity is to be able to print values ​​in the empty boxes, that if my LM35 (temperature sensor) detects 30 degrees, that information can be seen in my graphical interface. but I don't know how to make the arduino-appdesigner connection, and I don't know how to write the code that allows me to do it to show the values ​​in real time.
if you can help me with the part of the connection with arduino and the app designer and print the temperature value in real time, it will be enough for me

답변 (1개)

Ayush
Ayush 2023년 12월 8일
Hey Oscar,
I understand that you are working with App Designer in MATLAB and are seeking to establish a connection to an Arduino to populate values received from it within the graphical user interface.
You can refer to the following MathWorks resources which can help you in getting insights into Arduino and App Designer:
  1. App Designer: Instrument Control over Serial (Arduino) - File Exchange - MATLAB Central (mathworks.com) : This page has some examples which you can refer for connecting Arduino to App Designer.
  2. Using Arduino Explorer App - MATLAB & Simulink - MathWorks India : This app helps you to fetch data from Arduino and then visualise or plot it.
Hope this helps!
Regards,
Ayush Goyal

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by