Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4151

Troubleshooting • Re: HX711 continually drifting upwards - at a loss!

$
0
0
Hello folks.

Thank you for your replies and help. I bought a new scale that I tested, confirming all was working. I dismantled the scale and wired it up to the circuit to find...everything worked as expected!

I've also changed to using the HX711 library from gandalf15 https://github.com/gandalf15/HX711/tree/master directly instead of the endail library. I should have tried this with my original strain gauges to confirm they were an issue but I'm pleased it's working correctly now with the new gauges. At some point I will wire the original gauges and confirm if they are an issue or not.

Here is the scale with no weight added and with a 449g weight added. You can see the large spikes to 449 but also some aberrant spikes throughout - not really an issue for my purposes but still interesting interference.
drift_with_cap_at_5_21022024.png

Here you can see a closer version of the fluctuation in the scale where I have set the 449g spikes to be capped at 5g. This fluctation is inconsequential for my purposes and more inline with the tolerance of the gauges and HX711.
drift_21022024.png


Thanks everyone for your help and I'll leave this here for anyone in the future that is struggling!

Statistics: Posted by k_sld — Thu Feb 22, 2024 12:50 am



Viewing all articles
Browse latest Browse all 4151

Trending Articles