Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

How communicate HX711 ADC module with myRIO via SPI interface?

Hi, I'm trying to build a Labview VI for data acquisition from a load cell. I connected signal wires of the load cell to the HX711 ADC module, and output wires of HX711 were connected to myRIO. For this system, how can I configure block diagram using SPI interface?

I already checked a sample of using HX711 with myRIO. (https://forums.ni.com/t5/LabVIEW-Team-Indonesia/Interfacing-myRIO-with-HX711-Load-Cell/td-p/3719348)

However, the sample code used FPGA and I'd like to build a real-time running program on the chassis of myRIO without embedding a FPGA.

 

0 Kudos
Message 1 of 3
(1,933 Views)

There is an SPI Express VI out there, so you don't even need FPGA coding.
Once you got your SPI data out, consult the datasheet for data conversion, you'll need a bit of skills here.

0 Kudos
Message 2 of 3
(1,911 Views)

there is some information on that in the forum.

 

it seems that hx711 uses a bit banging protocol, not SPI.

 

i'll post some links for you to check out:

 

https://forums.ni.com/t5/LabVIEW-Interface-for-Arduino/hx711-load-cell-arduino-using-LIFA/td-p/36394...
https://forums.ni.com/t5/LabVIEW-Interface-for-Arduino/Weight-measurement-using-load-cell-and-hx711/...
https://forums.ni.com/t5/LabVIEW/Connect-load-cell-to-Arduino-through-SPI-interface-using-LINX-in/td...

they are mostly about arduino, but since the problem is the same, it may give you a hint.

Jorge Augusto Pessatto Mondadori, PhD
Sistema Fiep
CLAD, CLD
0 Kudos
Message 3 of 3
(1,873 Views)