Azzera filtri
Azzera filtri

App Designer and arduino

28 visualizzazioni (ultimi 30 giorni)
Oscar Avilés
Oscar Avilés il 22 Mar 2022
Risposto: Ayush il 8 Dic 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

Risposte (1)

Ayush
Ayush il 8 Dic 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

Categorie

Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by