04-04-2023 11:38 AM
Hello, I want to make a Weigh Scale using load cell, HX711, and the DAQ to analyze the weight using LabVIEW software.
I have connected the load cell to HX711, and connected the HX711 pins as below:
VCC - 5 V supply
GND - ground
DT - Analog input pin
SCK - Digital output pin
When I make the programming, I use two DAQ assists, but it is not working well. I have merged the two signals, but still it is not displaying reliable number.
I used Arduino instead, it was quite easy. And now I am thinking of making it in Arduino, and display it in the LabVIEW.
How can I do it? Because I have used VISA, and didn't know how to continue the project.
Solved! Go to Solution.
04-04-2023 12:38 PM
According to the HX711 Data Sheet, it appears to communicate with the user using digital lines (pins 11-15). A USB 6000 is an analog input device -- you need a Digital I/O device.
Bob Schor
04-04-2023 12:38 PM - edited 04-04-2023 12:40 PM
HX711 uses I2C protocol to return the data equivalent to the load. USB-6000 does not support I2C protocol.
Your options,
04-04-2023 01:16 PM
Hi,
@santo_13 wrote:
Your options,
- Connect HX711 to Arduino, install LINX, use the LINX I2C APIs to tell Arduino to read HX711
1b: Connect the HX711 to an Arduino, use the Arduino IDE to communicate with that sensor and use the (virtual) COM port of the Arduino to talk to your host computer with LabVIEW using plain VISA functions… (Will be very easy when there are libraries for Arduino supporting that kind of sensor!)
04-05-2023 11:46 AM
Thank you bro for helping.
I have already made a weigh scale script that reads the voltage reading and convert it to weight reading by using a calibration factor, but I just need to view the readings that I see (in Serial Monitor) to the LabVIEW.
I have seen some is mentioning LINX and some are mentioning VISA. I am confused between them.
What do you mean by (virtual) COM port of the Arduino?
You have mentioned sensor here, which sensor you mean?
If you have similar project reference from Youtube, so I can understand better, or has the same perspective of connecting Arduino to he LabVIEW interface.
Thanks.
04-05-2023 12:32 PM
Hi alsabri,
@alsabri_71 wrote:
- I have seen some is mentioning LINX and some are mentioning VISA. I am confused between them.
- What do you mean by (virtual) COM port of the Arduino?
- You have mentioned sensor here, which sensor you mean?