I built two bee-hive scales according to the great instructions of the Beelogger project.
Remarks:
- I used the “2 holes per side”-variant of the Load Cell Sensor (CZL601 instead of the CZL601-AC), it works fine too.
In my test-setup I connected it like this:

NOTE: Do not use this wiring in production. It’s suitable for testing purposes only.
The HX711-breakout-boards do not work as intended when powered with 3.3V.
For details, see https://community.hiveeyes.org/t/stromversorgung-hx711/893/16
There are 2 possible solutions for this problem, I don’t know yet which way to go:
- exchanging some resistors on the hx711-breakout-board
- use another breakout board that doesn’t cause that much problems, I ordered a NAU7802-breakout-board for testing.
For calibrating, I used weight-lifting weights.
The code for esphome to use it:
substitutions:
update_interval: 5s
sensor:
- platform: hx711
name: "HX711 Weight"
dout_pin: GPIO4
clk_pin: GPIO5
gain: 128
update_interval: ${update_interval}
filters:
- calibrate_linear:
datapoints:
# measuring at 25 °C
- 77915 -> 0
- 167520 -> 4.08 # empty super + tension belt
- 205782 -> 5.88 # super with empty frames + tension belt
- 308103 -> 9.08 # super with empty frames + tension belt + 5kg
- 413973 -> 14.08 # super with empty frames + tension belt + 10kg
- 517992 -> 19.08 # super with empty frames + tension belt + 15kg
- 630596 -> 24.08 # super with empty frames + tension belt + 20kg
- 734680 -> 29.08 # super with empty frames + tension belt + 25kg
- 836741 -> 34.08 # super with empty frames + tension belt + 30kg
- 939262 -> 39.08 # super with empty frames + tension belt + 35kg
- 1047388 -> 44.08 # super with empty frames + tension belt + 40kg
- 1149025 -> 49.08 # super with empty frames + tension belt + 45kg
- 1251903 -> 54.08 # super with empty frames + tension belt + 50kg
- 1353236 -> 59.08 # super with empty frames + tension belt + 55kg
- 1450079 -> 64.08 # super with empty frames + tension belt + 60kg
- 1554032 -> 69.08 # super with empty frames + tension belt + 65kg
- 1655332 -> 74.08 # super with empty frames + tension belt + 70kg
- clamp:
min_value: 0
ignore_out_of_range: true
Compensating the temperature drift of the scale is still an open TODO.
Leave a Reply to support@beelogger.de Cancel reply