Ordered on weekdays before 14:00 = shipped the same day and delivered the next day in 98% of cases. Free returns 30-day reflection period 1-year warranty

Wiring diagram and code example

How to connect the HX711 Load Cell Amplifier Module to an Arduino UNO or ESP32, with an example sketch you can upload straight away.

Weight Reading with HX711 Amplifier

This example connects an HX711 24-bit ADC module to the Arduino Uno to read weight data from a load cell. On startup, the module tares (zeros) the scale and continuously prints weight measurements to the Serial Monitor.

Wiring diagram: HX711 Load Cell Amplifier Module on an Arduino UNO
Wiring diagram · Click to enlarge
Connection table: HX711 Load Cell Amplifier Module on an Arduino UNO
Connection table · Click to enlarge
Weight_Reading_with_HX711_Amplifier.ino · compiled and verified
/*
 * ==================================================================
 *  Generated by Codey.online  —  https://www.codey.online
 * ==================================================================
 *  Project   : Weight Reading with HX711 Amplifier
 *  Board     : Arduino UNO (arduino:avr:uno)
 *  Parts     : HX711 Load Cell Amplifier
 *  Libraries : HX711 Arduino Library 0.7.5
 *
 *  Codey Online is an AI-powered browser IDE for Arduino and ESP32.
 *  Describe your project and Codey writes the code, draws the wiring
 *  diagram and uploads it to your board, straight from the browser.
 *  This code is free to use, modify and share, without warranty.
 * ==================================================================
 */

#include "HX711.h"

const int DOUT_PIN = 3;
const int SCK_PIN = 2;

HX711 scale;

void setup() {
  Serial.begin(115200);
  Serial.println(F("HX711 Load Cell Demo"));

  scale.begin(DOUT_PIN, SCK_PIN);

  Serial.println(F("Taring... ensure no weight is on the scale."));
  scale.set_scale();
  scale.tare();
  Serial.println(F("Tare complete. Place weight on load cell."));
}

void loop() {
  if (scale.is_ready()) {
    long reading = scale.get_units(5);
    Serial.print(F("Reading: "));
    Serial.println(reading);
  } else {
    Serial.println(F("HX711 not detected."));
  }
  delay(500);
}

Required libraries: HX711 Arduino Library 0.7.5

Wiring diagram and example code generated by Codey.online — https://www.codey.online

HX711 Load Cell Weight Measurement

This project interfaces an HX711 24-bit load cell amplifier with the ESP32. On startup, the sketch tares the scale and then continuously outputs raw load cell readings to the Serial Monitor at 115200 baud. Powering the HX711 from 3.3V ensures signal levels are directly compatible with ESP32 GPIOs.

Wiring diagram: HX711 Load Cell Amplifier Module on an ESP32 DevKit V1
Wiring diagram · Click to enlarge
Connection table: HX711 Load Cell Amplifier Module on an ESP32 DevKit V1
Connection table · Click to enlarge
HX711_Load_Cell_Weight_Measurement.ino · compiled and verified
/*
 * ==================================================================
 *  Generated by Codey.online  —  https://www.codey.online
 * ==================================================================
 *  Project   : HX711 Load Cell Weight Measurement
 *  Board     : ESP32 DEVKIT V1 (esp32:esp32:esp32doit-devkit-v1)
 *  Parts     : HX711 Load Cell Amplifier
 *  Libraries : HX711 Arduino Library 0.7.5
 *
 *  Codey Online is an AI-powered browser IDE for Arduino and ESP32.
 *  Describe your project and Codey writes the code, draws the wiring
 *  diagram and uploads it to your board, straight from the browser.
 *  This code is free to use, modify and share, without warranty.
 * ==================================================================
 */

#include "HX711.h"

// Pin definitions (GPIO 19 for DOUT, GPIO 18 for SCK)
const int DOUT_PIN = 19;
const int SCK_PIN = 18;

HX711 scale;

void setup() {
  Serial.begin(115200);
  while (!Serial) { delay(10); }

  Serial.println("HX711 Weight Sensor Demo");
  scale.begin(DOUT_PIN, SCK_PIN);

  Serial.println("Initializing sensor...");
  delay(1000);

  if (scale.is_ready()) {
    scale.set_scale();    // Set default scale factor
    scale.tare();         // Reset the scale to 0 (tare)
    Serial.println("Tare complete. Place weight on the load cell.");
  } else {
    Serial.println("HX711 not detected. Check wiring.");
  }
}

void loop() {
  if (scale.is_ready()) {
    long reading = scale.get_units(5); // Average of 5 readings
    Serial.print("Raw reading: ");
    Serial.println(reading);
  } else {
    Serial.println("HX711 not ready.");
  }
  delay(500);
}

Required libraries: HX711 Arduino Library 0.7.5

Wiring diagram and example code generated by Codey.online — https://www.codey.online

HX711 Load Cell Amplifier Module

The module uses the HX711 as a controller, a 24-bit S/D converter chip specifically designed for digital scales. This module is used with one or two weight sensors, which provide a variable resistance depending on the weight.

With the HX711 Load Cell amplifier, you can easily read weight sensors to determine the weight. Since the differential signal from a weight sensor is very small, you cannot connect it directly to an Arduino, so you need to use this amplifier.

The HX711 module is equipped with a 24-bit ADC, allowing it to detect the smallest differences in weight. With the help of calibration weights, you could make a very accurate scale.

  • Operating voltage: 5V
  • Current consumption: approx. 1.6mA (active), < 1 uA (sleep mode)
  • ADC Resolution: 24 bit
  • Number of load cells: 2 pieces (4-wire) or 4 pieces (3-wire)
  • Dimensions: 33.50 x 20.30 x 3.00 mm
  • Weight: 2.2 grams

You can download the HX711 datasheet here

  • 24-bit ADC
  • Calibratable measurement
  • For digital scales
  • 5V operating voltage
Playing loads the video from YouTube.

Why choose this product?

  • Easy to read – Easily reads weight sensors.
  • Amplifies weak signals – Suitable for small differential signals.
  • Highly accurate measurement – 24-bit ADC detects small weight differences.
  • Calibration possible – Calibration weights make the scale more accurate.
Specifications
Dimensions33.50 x 20.30 x 3.00 mm
Weight2.2 grams
Operating voltage5V
Power consumptionapprox. 1.6mA (active), < 1 uA (sleep mode)
ModelHX711
ADC Resolution24 bit
Number of load cells2 pieces (4-wire) or 4 pieces (3-wire)

Frequently bought together

Total: € 19,65

Reviews

★★★★★ 4,0/5 1 review
  • ★★★★★SERVICE ACHATSVerified purchase

    correct, everything seems to me to be in order

Write a review
Your rating

Shipping & returns

Shipping

  • Parcel with track & trace€ 7,70Within 24 hours
  • Pick up at PostNL location€ 7,40Within 24 hours
  • Letterbox parcel€ 3,70Within 2 business days
  • Letterbox parcel 24 hours€ 4,55Within 24 hours
  • Pick up in storeFree
All about shipping

Returns

Not satisfied? You have 30 days after delivery to return the product.

All about returns

Recently viewed

Vibration sensor SW-18020P

Vibration sensor SW-18020P

€ 0,55
Universal ECG electrode pad

Universal ECG electrode pad

€ 0,80
Gas sensor MQ-5 module

Gas sensor MQ-5 module

€ 2,45
SIM800L GSM GPRS data Module

SIM800L GSM GPRS data Module

€ 6,65
MQ-9 Gas sensor module

MQ-9 Gas sensor module

€ 2,70
KY-002 vibration sensor module

KY-002 vibration sensor module

€ 1,10