Closed dakin80 closed 1 month ago
Thanks for the note. I'll check that. It seems you do not use the most recent versions of the driver from beginning of June 2024? There was a change to deal with the situation, that the HX711 issues conversion ready pulses at the data line even if a data transfer is taking place. That pulse can cause a huge deviation in the values. As part of the change is method is_ready() was dropped. So you do not have to call it. The driver will wait itself for the data being ready.
Have replaced classes with latest versions and that has corrected the problem. Thanks for the quick response. I had downloaded the code a fair while ago and had done a quick test but not noticed the difference in behaviour of the two methods. Have now nearly finished a weighing tipping bucket rain gauge to add to a weather station and the problem became apparent. Again, many thanks.
I'm getting intermittent spurious values returned from pio version versus gpio version. I'm using a Raspberry Pico W with a run-of-the-mill hx711 board and a 1kg shear beam loadcell in a test mount. Plus of course the important 455g tin of peeled plum tomatoes used as a calibration weight and which is left on the rig for these tests.
pio code:
The output:
On changing the pio library to the gpio one I get no spurious values.
Is there a problem with the pio version of the library or am I doing something wrong?
I also note that the values of the pio version seem to have a granularity in the measurement. Note how the values always end in "75". This seems odd.