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)
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.

Respuestas (1)

Ameer Hamza
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.

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!

Translated by