Borrar filtros
Borrar filtros

App Designer and arduino

8 visualizaciones (últimos 30 días)
Oscar Avilés
Oscar Avilés el 22 de Mzo. de 2022
Respondida: Ayush el 8 de Dic. de 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

Respuestas (1)

Ayush
Ayush el 8 de Dic. de 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

Categorías

Más información sobre MATLAB Support Package for Arduino Hardware en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by