Comments (3)
This isn't my repo, but you should first check all your wiring matches the GPIO pins you have set. You should have the clock/sck pin and GPIO input pin wired to the HX711, and then the 5v power and ground. Make sure you've configured your GPIO properly as well.
Over on my similar repo, I have a raw GPIO test you can use to see exactly how the GPIO is interacting with the hx711.
https://github.com/Morrious/hx711-multi/blob/prod/tests/raw_gpio.py
from hx711py.
Hey yes I have assigned data and sck to gpio 5 nd 6 as mentioned in the repo demo. I have checked the GPIO configuration is set as per the two tutorials mentioning this repu, not the connections towards the sensor side I am not sure if the pin connections to the given sensors and hx711 are proper. The sensor has 4 cables of red,white,black and green. I have attached the red and black to excitiation(E+,E-) and green and white to A+ and A-(tried both) I am still getting random values from the hx711. I tried with another weight sensor and still the resut is the same. Is it a fault with the code, is it sending data differentl to the rpi than what the code in the repo ismeant to handle?
Thank you for your code, Ill test and check the raw GPIO values from your code once and see if theres some pattern there.
from hx711py.
Here's a wiring diagram I have of the HX711s I use.
from hx711py.
Related Issues (20)
- wiring 4 load sensors in a full wheatstone bridge config HOT 1
- example.py comments HOT 2
- Having problem on assigning variables HOT 9
- Getting the first weight value aside from tare value HOT 3
- Getting kilograms from the code
- No tare HOT 2
- Random values
- Is it possible to connect multiple sensors to a single pi with this code? HOT 4
- I am getting zero values (all ways) continuously irrespective of the load HOT 5
- Faster sampling rate HOT 15
- Getting zero value from Jetson Nano HOT 2
- 'HX711' object has no attribute 'get_weight' HOT 5
- diffrent values when auto run this script on boot/login
- HX711 Read 0 upon connecting VCC/VDD to power rail but gives output when not connected to Power
- No attribute get-np_arr_8_string
- Python application stuck on is_ready function
- wrong calculation of the arithmetic mean?
- How to change GPIO pins HOT 1
- Random values on Jetson nano HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hx711py.