You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.
Hi, I Have problem with running example.py as it is giving me thiss error:
/home/klaudia/.local/lib/python3.9/site-packages/hx711.py:60: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
GPIO.setup(self._pd_sck, GPIO.OUT) # pin _pd_sck is output only
True
Traceback (most recent call last):
File "/home/klaudia/Desktop/kb/HX711/python_examples/example.py", line 16, in
raise ValueError('Tare is unsuccessful.')
ValueError: Tare is unsuccessful.
Does anyone have an idea why this is happening ?
The text was updated successfully, but these errors were encountered:
Klaudia19
changed the title
Tare is unsuccessful
Tare is unsuccessful ERROR
Dec 27, 2022
@Klaudia19 the tare can fail if the measurements coming in are bad, or have a lot of noise. Usually a failed tare/zero is because of bad wiring.
You can check out my raw GPIO example of my similar repo at the link below. You can see if running raw GPIO commands helps you identify the issue. You'll need to make sure you have the measurement pin and the clock/sck pin wired properly.
Hi, I Have problem with running example.py as it is giving me thiss error:
/home/klaudia/.local/lib/python3.9/site-packages/hx711.py:60: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
GPIO.setup(self._pd_sck, GPIO.OUT) # pin _pd_sck is output only
True
Traceback (most recent call last):
File "/home/klaudia/Desktop/kb/HX711/python_examples/example.py", line 16, in
raise ValueError('Tare is unsuccessful.')
ValueError: Tare is unsuccessful.
Does anyone have an idea why this is happening ?
The text was updated successfully, but these errors were encountered: