enesbcs / rpieasy

Easy MultiSensor device based on Raspberry PI
GNU General Public License v3.0
162 stars 33 forks source link

Weight - HX711 Load Cell #271

Closed freddujour closed 11 months ago

freddujour commented 1 year ago

Hi, please add the support for Weight - HX711 Load Cell (https://espeasy.readthedocs.io/en/latest/Plugin/P067.html#p067-typename). .

enesbcs commented 1 year ago

I think this code may work with HX711 and python, will se when the test device arrives. https://github.com/tatobari/hx711py/blob/master/hx711.py

enesbcs commented 12 months ago

I wired up the 4 sensor to the HX711 but got nothing but random numbers until now. I hate this device very much.

tonhuisman commented 12 months ago

Reading that HX711 is a bit special, when reading you send a command what data you want to read the next time... Confused the heck out of me when working on the ESPEasy plugin, but finally I got it 🤔 P067 readHX711() for reference

enesbcs commented 12 months ago

I tried two python library with my HX711 without success. Values from the first was kinda random, the second one has no reading at all. I am ordering another sensor with a 4wire 10kg pressure sensor instead of this mess.

enesbcs commented 12 months ago

I've added an experimental plugin for this device, but i still unable to get stable readings https://github.com/enesbcs/rpieasy/commit/4b64aa84e0a3b5c644eceb4665ba2774dcb561ea

enesbcs commented 11 months ago

Tested with a new 10kg sensor, HX711 now produces more stable results... although i am not impressed with this analog device. Closed as added.