Open DieDiren opened 5 years ago
Meine Waage läuft jetzt ziemlich gut: nur +/- 0.1 kg bei 10 kg auch bei dem Temperaturunterschied von 34°C mittags und 20°C jetzt.
Dear @DieDiren and @didilamken,
we mitigated different obscurities (at least we didn't understand them) with the vanilla hx711.py
driver. One easy spot was that one single but important line at the end of the reading routine slipped through the critical section which protects the act from interrupts:
https://github.com/Hiverize/FiPy/blob/master/sensors/hx711.py#L50
We believe it might be better that way:
https://github.com/hiveeyes/hiveeyes-micropython-firmware/blob/master/lib/hx711.py#L102-L109
This could well be held accountable for any strange misreading you might have been getting.
With kind regards, Andreas.
Different people (Didi, we at the uni) have had different problems (negative values, fluctuating values) with the scale. Further testing is needed ;)