Hi there,
this is a short note to support the community of people aiming to use the HX711 with MicroPython.
Introduction
The lowlevel HX711 driver hx711.py for the Terkin Datalogger is based upon the hx711-lopy project by David Gerber – kudos! There are some improvements to the power_up()
and power_down()
functions you can find there.
Scale adjustment
At Calibration process · Issue #5 · geda/hx711-lopy · GitHub, someone asked about how a »HX711 calibration sketch for MicroPython« would look like. On this matter, I would like to point out the discussion at Ermittlung der Variablen offset und divider / scale zur Justierung der Waage - #2 by Andreas, where we gave a short introduction to our corresponding implementation.
Here, we would like directly point out the implementation at MicroPython HX711 scale adjustment program. Maybe this helps any people looking for something like this. [1]
What’s next?
Maybe this introductory post will spark further discussions around that topic.
Cheers,
Andreas.
-
Please note that this implementation is based on the Terkin Datalogger framework, by using
terkin.sensor.SensorManager
. However, this could easily be swapped out, in order to build a variant using thehx711.py
in a standalone manner. ↩︎