Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No readings when running sudo node test.js #10

Open
mrzephros opened this issue Sep 9, 2019 · 4 comments
Open

No readings when running sudo node test.js #10

mrzephros opened this issue Sep 9, 2019 · 4 comments

Comments

@mrzephros
Copy link

I'm trying out the test.js from the examples folder in this library, however, I couldn't get any readings... I'm just getting 0s all the ways... is there any tutorial for this library? I'm using 4 load cells btw...

@mrzephros
Copy link
Author

Anyone help?

@brendjuan
Copy link

Did you figure this out? I just ran into it as well

@brendjuan
Copy link

My issue was the pin numbering. You have to use GPIO pin numbering from WiringPi GPIO not the actual GPIO pin numbering...
https://pinout.xyz/pinout/wiringpi I used this to figure it out. Trial and error until I figured it out

@christiaanwesterbeek
Copy link

To clarify. You have for example:

  • physical pin 29 = GPIO 5 = WiringPi 21
  • physical pin 31 = GPIO 6 = WiringPi 22

Then you need to enter the physical pin numbering: 29 and 31.

BTW: I also had only 0 readings. Turned out I had the gnd and vcc from the HX711 connected to the Raspberry PI the other way around. Once I changed that, I got readings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants