A 50 kg half-bridge strain-gauge load cell with three colour-coded wires, for building digital scales with an HX711 amplifier board.
The Load Cell Weighing Sensor - 50kg is the type of flat metal load cell used in bathroom scales. It turns the force on it into a tiny electrical signal, which an HX711 board reads and passes on to an Arduino UNO, ESP32 or Raspberry Pi Pico. One cell is a half bridge, so you finish the bridge with two 1 kΩ resistors (shown in the Tutorial) or combine four cells for a 200 kg platform.
Why choose it
- Fits scale projects — the 34 × 34 mm flat body with a 7.8 mm thickness suits the corners of a platform; four cells combine to 4 × 50 kg = 200 kg.
- Works with common boards — through an HX711 board it connects to Arduino UNO, ESP32 and Raspberry Pi Pico using two signal pins.
- Easy to test — the Tutorial shows how to find the centre wire with a multimeter before you wire anything.
Specifications
| Core | |
|---|---|
| Type | Half-bridge strain-gauge load cell |
| Rated capacity | 50 kg |
| Output | Small analogue signal; needs an amplifier such as the HX711 |
| Electrical | |
| Resistance | Approx. 1 kΩ from the centre wire to each end wire; approx. 2 kΩ end to end |
| Wires | 3: black, red, white |
| Bridge | Half bridge; complete it with two 1 kΩ resistors, or combine four cells |
| Physical | |
| Dimensions | 34 mm × 34 mm × 7.8 mm (±0.2 mm thickness) |
Compatibility
| Platform | Works | Notes |
|---|---|---|
| Arduino UNO / Nano (5 V) | ◐ With adapter | Connect through an HX711 board and two 1 kΩ resistors; never straight to a pin |
| ESP32 (3.3 V) | ◐ With adapter | HX711 board powered from 3V3, plus two 1 kΩ resistors |
| Raspberry Pi Pico (3.3 V) | ◐ With adapter | HX711 board powered from 3V3(OUT), plus two 1 kΩ resistors |
| Software | ✓ Yes | Arduino IDE with "HX711 Arduino Library"; MicroPython with the community hx711_gpio.py driver |
In the box
- 1 × Load Cell Weighing Sensor - 50kg
Applications
- Bathroom-style digital scales (four cells under a platform)
- Weighing a bag, bucket or tank on a platform
- Force or load monitoring in small projects
Tutorial
What you'll build: a digital scale that prints the weight on your computer every half second · About 30 minutes.
Choose your board
| Board | Logic voltage | Pins used | Language | Best for |
|---|---|---|---|---|
| Arduino UNO | 5 V | D2, D3 | C++ (Arduino IDE) | First-timers |
| ESP32 | 3.3 V | GPIO16, GPIO4 | C++ (Arduino IDE) | Sending weights over Wi-Fi later |
| Raspberry Pi Pico | 3.3 V | GP4, GP5 | MicroPython (Thonny) | Learning Python |
New to this? Start with the Arduino UNO.
How it works
Pressing on the load cell bends the metal a tiny amount. Strain gauges inside it change their resistance, and the cell turns that into a very small voltage. A microcontroller cannot read such a small voltage, so an HX711 amplifier board makes it bigger and sends it to your board as a number.
- Half bridge — your cell holds two strain gauges with a wire at each end and one in the middle. The HX711 needs a full bridge, so two 1 kΩ resistors act as the missing half.
- E+ / E− — the power (excitation) pins that feed the bridge.
- A+ / A− — the signal pins that carry the tiny voltage back.
- Tare — setting the scale to zero with nothing on it.
Before you wire: find the centre wire
Set a multimeter to resistance (Ω) and measure between each pair of the three wires. The centre wire reads about 1 kΩ to each of the other two, and the two end wires read about 2 kΩ between them. On most of these cells the centre wire is red, but confirm it on your own cell. Use the centre wire as A+ and the two end wires as E+ and E−. If the reading goes down when you add weight, swap the two end wires.
You need: Arduino UNO R3, a data USB cable, an HX711 amplifier board (Load Cell HX711 Weighing Sensor), two 1 kΩ resistors and jumper wires.
■ Power ■ GND / E− ■ Data ■ Clock and load-cell signal Black dots = joined wires
| # | Arduino UNO R3 pin | → | HX711 / load-cell pin | Wire | Notes |
|---|---|---|---|---|---|
| 1 | 5V | → | HX711 VCC | Red | Power (5 V) |
| 2 | D2 | → | HX711 DT | Yellow | Data |
| 3 | D3 | → | HX711 SCK | Green | Clock |
| 4 | GND | → | HX711 GND | Black | Ground |
| 5 | HX711 E+ | → | Load cell white wire (end) | White | Excitation +. Also one end of the resistor pair |
| 6 | HX711 E− | → | Load cell black wire (end) | Black | Excitation −. Also the other end of the resistor pair |
| 7 | HX711 A+ | → | Load cell red wire (centre) | Red | Signal +. The centre wire of your cell, found in the check above |
| 8 | HX711 A− | → | Junction between the two 1 kΩ resistors | Any | Signal −. Resistor 1 goes to E+, resistor 2 goes to E− |
Wires 5–8 are the same on every board. Check the pin labels printed on your HX711 board.
Watch out: The HX711 runs from 2.6–5.5 V, so 5 V from the UNO is fine. Keep wires 5–8 short and tidy: the signal from the load cell is very small and picks up noise easily.
Install the Arduino IDE, then Sketch → Include Library → Manage Libraries → search for HX711 Arduino Library by Bogdan Necula (library page) → Install.
Tools → Board → Arduino UNO, then Tools → Port → the port of your board. If no port appears, use a data USB cable and install the USB driver for your board.
Connect wires 1–8 as in the table. Leave the load cell resting on the bench and do not press on it yet.
Paste the code below into a new sketch and click Upload. Do not touch the load cell while it starts: it sets zero in the first seconds.
▸ Example — Read the weight
// Wiring: HX711 VCC->5V, GND->GND, DT->D2, SCK->D3
// Load cell: white->E+, black->E-, red->A+, resistor junction->A-
#include "HX711.h"
const int LOADCELL_DOUT_PIN = 2; // DT pin
const int LOADCELL_SCK_PIN = 3; // SCK pin
const float CALIBRATION_FACTOR = 1.0; // you can change this (see Calibrate it)
HX711 scale;
void setup() {
Serial.begin(115200); // speed of the Serial Monitor
scale.begin(LOADCELL_DOUT_PIN, LOADCELL_SCK_PIN);
if (!scale.wait_ready_timeout(1000)) { // wait up to 1 second for the HX711
Serial.println("HX711 not found - check wiring");
while (true) {} // stop here
}
Serial.println("OK - epartners.co.nz test");
scale.set_scale(CALIBRATION_FACTOR); // divide the raw value by this number
scale.tare(10); // set zero (nothing on the load cell)
}
void loop() {
Serial.print("Reading: ");
Serial.println(scale.get_units(10), 1); // average of 10 readings
delay(500);
}
✓ Check: Open the Serial Monitor at 115200 baud. It prints "OK - epartners.co.nz test" once, then "Reading:" every half second. If it says "HX711 not found - check wiring", check wires 1–4.
You need: ESP32 DevKitC (ESP32-WROOM-32), a data USB cable, an HX711 amplifier board (Load Cell HX711 Weighing Sensor), two 1 kΩ resistors and jumper wires.
■ Power ■ GND / E− ■ Data ■ Clock and load-cell signal Black dots = joined wires
| # | ESP32 DevKitC pin | → | HX711 / load-cell pin | Wire | Notes |
|---|---|---|---|---|---|
| 1 | 3V3 | → | HX711 VCC | Red | Power (3.3 V) |
| 2 | GPIO16 | → | HX711 DT | Yellow | Data |
| 3 | GPIO4 | → | HX711 SCK | Green | Clock |
| 4 | GND | → | HX711 GND | Black | Ground |
| 5 | HX711 E+ | → | Load cell white wire (end) | White | Excitation +. Also one end of the resistor pair |
| 6 | HX711 E− | → | Load cell black wire (end) | Black | Excitation −. Also the other end of the resistor pair |
| 7 | HX711 A+ | → | Load cell red wire (centre) | Red | Signal +. The centre wire of your cell, found in the check above |
| 8 | HX711 A− | → | Junction between the two 1 kΩ resistors | Any | Signal −. Resistor 1 goes to E+, resistor 2 goes to E− |
Wires 5–8 are the same on every board. Check the pin labels printed on your HX711 board.
Watch out: ESP32 pins are 3.3 V only. Power the HX711 from 3V3, never 5 V, so DT stays at 3.3 V. Keep wires 5–8 short and tidy.
Install the Arduino IDE, then Sketch → Include Library → Manage Libraries → search for HX711 Arduino Library by Bogdan Necula (library page) → Install.
Follow the official install guide: File → Preferences → Additional boards manager URLs → add
https://espressif.github.io/arduino-esp32/package_esp32_index.json. Then Tools → Board → Boards Manager → install esp32 by Espressif Systems.Tools → Board → ESP32 Dev Module, then Tools → Port. If no port appears, use a data USB cable and install the USB driver for your board. If the upload fails, set Tools → Upload Speed → 115200 and upload again.
Connect wires 1–8 as in the table, then paste the code below and click Upload.
▸ Example — Read the weight
// Wiring: HX711 VCC->3V3, GND->GND, DT->GPIO16, SCK->GPIO4
// Load cell: white->E+, black->E-, red->A+, resistor junction->A-
#include "HX711.h"
const int LOADCELL_DOUT_PIN = 16; // DT pin
const int LOADCELL_SCK_PIN = 4; // SCK pin
const float CALIBRATION_FACTOR = 1.0; // you can change this (see Calibrate it)
HX711 scale;
void setup() {
Serial.begin(115200); // speed of the Serial Monitor
scale.begin(LOADCELL_DOUT_PIN, LOADCELL_SCK_PIN);
if (!scale.wait_ready_timeout(1000)) { // wait up to 1 second for the HX711
Serial.println("HX711 not found - check wiring");
while (true) {} // stop here
}
Serial.println("OK - epartners.co.nz test");
scale.set_scale(CALIBRATION_FACTOR); // divide the raw value by this number
scale.tare(10); // set zero (nothing on the load cell)
}
void loop() {
Serial.print("Reading: ");
Serial.println(scale.get_units(10), 1); // average of 10 readings
delay(500);
}
✓ Check: Open the Serial Monitor at 115200 baud. It prints "OK - epartners.co.nz test" once, then "Reading:" every half second. If it says "HX711 not found - check wiring", check wires 1–4.
You need: Raspberry Pi Pico (RP2040), a USB cable, an HX711 amplifier board (Load Cell HX711 Weighing Sensor), two 1 kΩ resistors and jumper wires.
■ Power ■ GND / E− ■ Data ■ Clock and load-cell signal Black dots = joined wires
| # | Raspberry Pi Pico pin | → | HX711 / load-cell pin | Wire | Notes |
|---|---|---|---|---|---|
| 1 | 3V3(OUT) (pin 36) | → | HX711 VCC | Red | Power (3.3 V) |
| 2 | GP4 (pin 6) | → | HX711 DT | Yellow | Data |
| 3 | GP5 (pin 7) | → | HX711 SCK | Green | Clock |
| 4 | GND (pin 38) | → | HX711 GND | Black | Ground |
| 5 | HX711 E+ | → | Load cell white wire (end) | White | Excitation +. Also one end of the resistor pair |
| 6 | HX711 E− | → | Load cell black wire (end) | Black | Excitation −. Also the other end of the resistor pair |
| 7 | HX711 A+ | → | Load cell red wire (centre) | Red | Signal +. The centre wire of your cell, found in the check above |
| 8 | HX711 A− | → | Junction between the two 1 kΩ resistors | Any | Signal −. Resistor 1 goes to E+, resistor 2 goes to E− |
Wires 5–8 are the same on every board. Check the pin labels printed on your HX711 board.
Watch out: Pico pins are 3.3 V only. Power the HX711 from 3V3(OUT) (pin 36), not VBUS (pin 40, which is 5 V). Keep wires 5–8 short and tidy.
Download and install Thonny.
Hold the BOOTSEL button while plugging in the USB cable, then install the firmware from micropython.org. In Thonny, choose the interpreter MicroPython (Raspberry Pi Pico).
Download
hx711_gpio.py from the community robert-hh/hx711 repository, open it in Thonny and choose File → Save as → Raspberry Pi Pico, keeping the name hx711_gpio.py.Connect wires 1–8 as in the table, then plug the USB cable in again.
Paste the code below into Thonny and click Run. Do not touch the load cell while it sets zero. Save it as
main.py on the Pico to run it when the Pico is powered.▸ Example — Read the weight
# Wiring: HX711 VCC->3V3(OUT) pin 36, GND->GND pin 38, DT->GP4 (pin 6), SCK->GP5 (pin 7)
# Load cell: white->E+, black->E-, red->A+, resistor junction->A-
from machine import Pin
from hx711_gpio import HX711 # hx711_gpio.py must be saved on the Pico
import time
DT_PIN = 4 # GP4 = DT
SCK_PIN = 5 # GP5 = SCK
CALIBRATION_FACTOR = 1.0 # you can change this (see Calibrate it)
hx = HX711(Pin(SCK_PIN, Pin.OUT), Pin(DT_PIN, Pin.IN, pull=Pin.PULL_DOWN))
hx.read() # first reading: the HX711 answered
print("OK - epartners.co.nz test")
offset = hx.read_average(15) # zero point (nothing on the load cell)
while True:
raw = hx.read_average(10) # average of 10 readings
print("Reading:", round((raw - offset) / CALIBRATION_FACTOR, 1))
time.sleep(0.5)
✓ Check: The Thonny shell prints "OK - epartners.co.nz test" once, then "Reading:" every half second. If nothing prints, check wires 1–4 and that the driver file is saved on the Pico.
Calibrate it (all boards)
- Run the example with
CALIBRATION_FACTOR = 1.0and nothing on the load cell. The reading should be close to 0. - Place a known weight on the load cell, for example a 500 g item weighed on kitchen scales. Note the reading.
- Divide that reading by the weight in grams. Put the result in
CALIBRATION_FACTORand run again: the reading is now in grams. - Never put more than the rated 50 kg on the cell.
Troubleshooting
| Board | Problem | Likely cause | Fix |
|---|---|---|---|
| All | Reading is always 0 or does not change | Signal wires A+ / A− loose, or the bridge is not complete | Check wires 7 and 8 and that both 1 kΩ resistors are in place |
| All | Reading goes down when you add weight | End wires swapped | Swap the white and black wires on E+ and E− |
| All | Reading drifts or jumps | Loose or long wires, or the cell is not mounted firmly | Shorten the wires, mount the cell firmly and let it settle for a minute |
| All | "HX711 not found" or no output | DT / SCK swapped, or VCC / GND wrong | Check wires 1–4 against the table |
| ESP32 | Stuck on "Connecting…" | Board not in upload mode | Hold the BOOT button until uploading starts |
| ESP32 | Upload fails or stops part-way | Upload speed too high for the USB cable | Tools → Upload Speed → 115200, then upload again |
| Pico | No Pico drive appears | BOOTSEL not held while plugging in | Unplug, hold BOOTSEL, plug in again |
| Pico | ImportError: no module named hx711_gpio | Driver file not on the Pico | Save hx711_gpio.py to the Pico (step 3) |
Try next: add a button to tare the scale, or show the weight on an OLED display.
Spotted a problem in this tutorial? Email support@epartners.co.nz and we'll check it and update the tutorial.
- Never load it beyond its 50 kg rating; sustained overloading can bend the metal and spoil your calibration.
- A single cell is a half bridge: it will not work on an HX711 board until the bridge is completed with two 1 kΩ resistors or by combining four cells.
- Handle it gently and do not pull on the thin wires.
Resources
- HX711 amplifier datasheet (PDF)
- SparkFun HX711 hookup guide
- HX711 Arduino Library (bogde/HX711)
- MicroPython HX711 driver (robert-hh/hx711)
- Arduino-ESP32 installation guide
- Instructables: Arduino bathroom scale with 50 kg load cells and HX711
Which one should I choose?
| Product | Key difference | Best for |
|---|---|---|
| This product: Load Cell Weighing Sensor - 50kg | Flat half-bridge cell, 3 wires, 50 kg; needs two 1 kΩ resistors or four cells to complete the bridge | Bathroom-style platform scales |
| Load Cell (1 / 5 / 10 / 20 kg) | 75 mm bar load cell with 4 wires (red, black, green, white); connects to an HX711 board directly | Small scales with one cell |
FAQ
▸ Can I connect this load cell straight to an Arduino?
No. The signal is very small, so use an HX711 amplifier board between the load cell and your Arduino, ESP32 or Raspberry Pi Pico.
▸ Can one cell work with an HX711 board?
Yes, once you complete the bridge. Add two 1 kΩ resistors in series across E+ and E−, join the resistor junction to A−, and connect the centre wire of the cell to A+, as shown in the Tutorial.
▸ How do I weigh more than 50 kg?
Combine four 50 kg cells into a full bridge for a combined rating of 200 kg, as in the Instructables guide linked under Resources. This page covers the single-cell wiring only.
▸ Which wire is which?
Measure with a multimeter: the centre wire reads about 1 kΩ to each of the other two wires, and the two end wires read about 2 kΩ between them. Use the centre wire as A+.
Technical question about this part? Email support@epartners.co.nz with your board and wiring, and we'll help you get it working.
Shipping: $5.99 urban, $9.99 rural. Free shipping on orders of $100 or more.
Order by 10:30am (NZT), Monday to Friday, and we dispatch the same day. Orders placed after 10:30am, on weekends or on public holidays are dispatched the next business day.
Delivery usually takes 1–2 business days after dispatch (2–3 for rural addresses). See our Shipping Policy for full details.