tatobari / hx711py

HX711 Python Library for Raspberry Pi.
Apache License 2.0
206 stars 154 forks source link

Giving Random Values #23

Closed kush-13 closed 5 years ago

kush-13 commented 5 years ago

My Hx711 and Load Cell works fine with Arduino Uno (giving outputs with +-4 grams of fluctuations ). But when I run example.py on my Rpi with following connection: DT>>5 SCK>>6 VCC>>5V GND>>GND(RPi 3B+)

I'm getting random values even when nothing placed on load cell.

I get the following result when I run example.py with nothing placed on the Loadcell:


-3939697 -4791665 123791 -1186929 -859249 -4595057 -1252465 -3546225 -7150961 -3808625 -7019889 -4529521 -7478641 -8854897 -4005233 -7609713 -7347569 -9706865 -6888817 -6692209 3859087 -73073 3138191 320143


Plz Help !!!

I'm using python2.7 to run example.py which comes pre installed on Raspbian which is running on my RPi 3B Plus

tatobari commented 5 years ago

When did you start using the library? What's the current commit you've got cloned?

On Tue, Jun 11, 2019, 19:44 kush-13 notifications@github.com wrote:

My Hx711 and Load Cell works fine with Arduino Uno (giving outputs with +-4 grams of fluctuations ). But when I run example.py on my Rpi with following connection: DT>>5 SCK>>6 VCC>>5V GND>>GND(RPi 3B+)

I'm getting random values even when nothing placed on load cell.

I get the following result when I run example.py with nothing placed on the Loadcell:

-3939697 -4791665 123791 -1186929 -859249 -4595057 -1252465 -3546225 -7150961 -3808625 -7019889 -4529521 -7478641 -8854897 -4005233 -7609713 -7347569 -9706865 -6888817 -6692209 3859087 -73073 3138191 320143

Plz Help !!!

I'm using python2.7 to run example.py which comes pre installed on Raspbian which is running on my RPi 3B Plus

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tatobari/hx711py/issues/23?email_source=notifications&email_token=ABVNTWKFJPD7YXG6ZRZPZXTP2ATGFA5CNFSM4HXD6BF2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GY5YUTQ, or mute the thread https://github.com/notifications/unsubscribe-auth/ABVNTWPCJGPQZWSV3TOY5GDP2ATGFANCNFSM4HXD6BFQ .

kush-13 commented 5 years ago

I UnderVoltaged the sensor{ HX711 24 Bit ADC } to 3V3 and then it started giving me stable values .

tatobari commented 5 years ago

I use it with 5V and it works fine. What voltage where you using it with?

On Sat, Jul 6, 2019, 11:23 kush-13 notifications@github.com wrote:

I UnderVoltaged the sensor{ HX711 24 Bit ADC } to 3V3 and then it started giving me stable values .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tatobari/hx711py/issues/23?email_source=notifications&email_token=ABVNTWORYZULSCQEMRZSK5TP6CTGHA5CNFSM4HXD6BF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZK2Q4Y#issuecomment-508930163, or mute the thread https://github.com/notifications/unsubscribe-auth/ABVNTWOZXOX2YFQLTWBXCZTP6CTGHANCNFSM4HXD6BFQ .