Arduino HX711 and Load cell weight measurement and calibration

(Last Updated On: June 26, 2020)

Arduino HX711

Arduino HX711 Description:

Arduino HX711 and Load cell– In this Tutorial, you will learn how to use a 5kg load cell with HX711 and Arduino Uno or mega. In this tutorial, you will also learn how to calibrate your load cell or strain gauge, Circuit diagram, Soldering, Programming, and practical implementation. A few days back I posted a tutorial covering the basics of hx711 and load cell or Strain Gauge. If you want to learn the very basics then you should watch this tutorial.

Recently, I posted an IoT version “DIY IoT Weighing Scale using HX711 Load Cell, Nodemcu ESP8266, & Arduino

The components and tools used in this project can be purchased from Amazon, the components Purchase links are given below:

Arduino Uno:
Mega 2560:
hx711 and load cell:


*Please Note: These are affiliate links. I may make a commission if you buy the components through these links. I would appreciate your support in this way!

HX711 Breakout board:

Hx711 has different gain values which are selectable 32, 64, and 128.  Any of the mentioned gains can be selected and used in the programming.

Arduino HX711

Hx711, the hx711 is a 24 bit analog to digital converter “ADC”. Which has an amplifier , which gives maximum gain of 128 as per the datasheet.  As you can see on the right side we have ground,DT, Sck and Vcc. While on the left side we have E+, E-, A-, A+, B- and B+. The load cell will be connected with E+, E-, A- and A+.  Gnd will be connected with the Arduino’s ground, Dt will be connected with pin3, sck with pin2 and vcc with 5v…. these are the male headers which will be soldered with the breakout board, then using male to female type jumpers we can easily connect this with Arduino.

About Load Cell:

HX711, Load cell / Strain Gauge and Arduino Uno to measure Weight | Arduino HX711 and Load cell

Arduino HX711

Load Cell Definition:

 A load cell or a Strain Gauge is basically a Transducer which generates an electrical signal whose magnitude is proportional to the force applied. The various load cell types include Pneumatic, Hydraulic, and strain gauge.

Hx711 and Load cell Interfacing with Arduino, Circuit Diagram:

Arduino HX711 and Load cell

Arduino HX711

HX711 Arduino Programming:

Arduino HX711 and Load cell

Before you Start the Programming, first of all, make sure you download the necessary library. The HX711 library can be downloaded from the GitHub, the download link is given below.

Download Library:

Watch Video Tutorial:

HX711, Load cell / Strain Gauge and Arduino Uno to measure Weight | Arduino HX711 and Load cell

Recommended For You

About the Author: Engr Fahad

My name is Shahzada Fahad and I am an Electrical Engineer. I have been doing Job in UAE as a site engineer in an Electrical Construction Company. Currently, I am running my own YouTube channel "Electronic Clinic", and managing this Website. My Hobbies are * Watching Movies * Music * Martial Arts * Photography * Travelling * Make Sketches and so on...


  1. Arduino: 1.8.10 (Windows 10), Board: “Arduino/Genuino Uno”

    sketch_jan19c:4:22: error: no matching function for call to ‘HX711::HX711(int, int)’

    HX711 scale(DOUT, CLK);

    In file included from C:\Users\kb\Documents\Arduino\sketch_jan19c\sketch_jan19c.ino:1:0:

    C:\Users\kb\Documents\Arduino\libraries\HX711-master\src/HX711.h:30:3: note: candidate: HX711::HX711()



    C:\Users\kb\Documents\Arduino\libraries\HX711-master\src/HX711.h:30:3: note: candidate expects 0 arguments, 2 provided

    C:\Users\kb\Documents\Arduino\libraries\HX711-master\src/HX711.h:19:7: note: candidate: constexpr HX711::HX711(const HX711&)

    class HX711

    C:\Users\kb\Documents\Arduino\libraries\HX711-master\src/HX711.h:19:7: note: candidate expects 1 argument, 2 provided

    Multiple libraries were found for “HX711.h”
    Used: C:\Users\kb\Documents\Arduino\libraries\HX711-master
    Using library HX711-master at version 0.7.3 in folder: C:\Users\kb\Documents\Arduino\libraries\HX711-master
    exit status 1
    no matching function for call to ‘HX711::HX711(int, int)’

  2. iam have copy ur program and change pin but…tstill getting error my load cell not weigh any thing…….. i just try to different weight comparation but it still write 0 gram , please …… i have tried to 3 diffrent load cell and hx711 modul. but still get this error ,,, iam using node mcu and arduino too

Leave a Reply