05-20-2018 01:29 AM
This guy made it work with LYNX. Just to let you know.
It worked for me with Arduino Leonardo.
https://www.labviewmakerhub.com/forums/viewtopic.php?f=12&t=1605&start=20
Hope it works for someone else too.
05-20-2018 01:35 PM - edited 05-20-2018 01:53 PM
@RAQH wrote:
@Duron-WTS ha escrito:
Hello again,
Finally I "created" a library to be able to add a load cell using HX711. It is based on Nathan_B LIFA Ultrasonic Distance LV9 showed in this post:
https://forums.ni.com/t5/LabVIEW-Interface-for-Arduino/LIFA-Ultrasonic-Distance-Sensor/ta-p/3514004
And was done under the suggestions of Daikataro. Thanks a lot.
For sure that can be enhanced. So far I am not a professional, but still it is working fine.
Any suggestion, tip or modification would be very welcome. Indeed, I would be very glad if someone with more experience and professionalism have a look and give at least a brief guideline on how could I do it better.
@did you place SCK @ A1 & DT @ A0?
Thank you very much for the help.
Hi RAQH,
Sorry for my late reply.
Pin SCK of the HX711 -> Pin 5 on the Arudino board.
Pin DTof the HX711 -> Pin 6 on the Arduino board.
Normally the scripts for Arduino Leonardo include a while loop like this in the setup:
while (!Serial) { ; // wait for serial port to connect. Needed for native USB port only }
You could try and add it to the main LIFA_Base script. Remember that to use this custom function, you need to upload the LIFA_Base script you can find on the library.
I am managing to get a LV Home version and hope to get it at home soon. When that happen, I will post and update of the library a bit easier to use.