Well, the interface for the HX711 is not I2C, so you can stop messing with 
that.
It is a unique custom serial interface.
Most likely solution is to bit bang the interface using several GPIO pins.

You should bring it up in layers.
Start by learning to read the raw value from the part at a low level, 
before you start trying to process the results.

Write some diagnostic code, so you can dump the bits as they come in.

Get an oscilloscope, so you can watch the bits wiggle and read them on the 
scope.

--- Graham

==




On Tuesday, August 1, 2017 at 6:40:59 AM UTC-5, prad wrote:
>
> Hi all,
>
> I'm trying to interface a load cell strain gauge with the HX711 breakout 
> board (Sparkfun) and the Beaglebone Black using Python. I haven't been 
> successful in getting any readings from GPIO or I2C and am truly stuck. I 
> was trying to copy/implement code I found for reading a load cell on 
> Raspberry Pi, but that was also unsuccessful, despite the code working just 
> fine on my Raspberry Pi. 
>
> https://gist.github.com/Richard-Major/64e94338c2d08eb1221c2eca9e014362#file-hx711-py-L25
> This is the code I'm trying to use and I adapted it to the Beaglebone 
> using Adafruit's BBIO library, to no avail. 
> I'm not sure if I'm skipping some step or anything but no research I've 
> done has proved to be successful in aiding me accomplish my task. 
>
> Thanks for any help!
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/d01633ff-98ab-4fec-9b91-6e28142cef5f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to