How can I get data from a load cell connected with Arduino Uno board and a HX711 Amplifier in Simulink?
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have an Arduino Board connected to a Hx711 amplifier and to a Load Cell, how can i get the data from the arduino board? I'm not sure about which block to use to get the signal from the board and how to convert it. I guess it should be the -serial receiver- block, but i?m not sure about the parameters. Thx for the help.
2 comentarios
Jiang Ping
el 14 de En. de 2019
hi have you figured this out? I am confused by this exactly same issue.
Respuestas (1)
Ameer Hamza
el 3 de Mayo de 2018
The easiest way to communicate your Arduino from MATLAB is to use MATLAB support package for Arduino. You can directly control and read digital and analog pins from MATLAB command window.
A more advanced approach is to write your own code for Arduino and print the values of required signals to Arduino's serial port. Keep the Arduino connected to your PC and use serial() in MATLAB to read data over serial port.
Ver también
Categorías
Más información sobre Arduino Hardware en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!