HX711 load cell amplifier with ESP32
Supply 3.3-5 V
Bus GPIO
Measures weight
Pins and ESP32 wiring
| Pin | Role | ESP32 pin | Notes |
|---|---|---|---|
| GND | Ground | GND | |
| DT | Output (the part drives it) | D25 | Data out of the HX711 |
| SCK | Input (the ESP32 drives it) | D26 | Clock driven by the ESP32 (not SPI) |
| VCC | Power | 3V3 | |
| E+ | Not wired to the ESP32 | — | Load cell red wire (excitation +) |
| E- | Not wired to the ESP32 | — | Load cell black wire (excitation -) |
| A- | Not wired to the ESP32 | — | Load cell white wire (signal -) |
| A+ | Not wired to the ESP32 | — | Load cell green wire (signal +). Wire colours vary by load cell |
Suggested wiring for the 30-pin ESP32 DevKit, avoiding flash, input-only and strapping pins. BoardPilot checks it for you as you wire.
Sources
- Avia Semiconductor HX711 datasheet, Serial interface PD_SCK and DOUT; supply 2.6 to 5.5 V
Try it in 3D in BoardPilot
Related parts
A02YYUW waterproof ultrasonic distance (UART)A3144 hall effect switchAM312 mini PIR motion sensorATGM336H GPS/BeiDou moduleBeitian BN-220 GPS moduleBenewake TF-Luna LiDAR (UART mode)
Part data: CC BY 4.0, free to reuse with credit to BoardPilot.