Clear Filters
Clear Filters

App Designer and arduino

8 views (last 30 days)
Oscar Avilés
Oscar Avilés on 22 Mar 2022
Answered: Ayush on 8 Dec 2023
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

Answers (1)

Ayush
Ayush on 8 Dec 2023
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

Categories

Find more on MATLAB Support Package for Arduino Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!