App Designer and arduino

20 次查看(过去 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