Interfacing Load Cell with Arduino using HX711

Last Updated on March 16, 2024

Electronic weighing machine uses load cell to measure the load or pressure produced by the load, here most load cells are follows the method of strain gauge, Which converts the pressure (force) into an electrical signal, these load cells have four strain gauges that are hooked up in a Wheatstone bridge formation.

When we apply load the strain gauge resistance will change and hence the output voltage from the load cell get changes by the way we can measure the load value.

Wheatstone bridge formation of Load Cell

load cell strian gauge

HX711 (24 bit Analog to Digital Converter)

HX 711 is a precision 24-bit analog to digital converter (ADC) specially designed for Weigh scales and industrial control applications to interface directly with a bridge sensor.


Source :

Pinout of HX711

hx711 pin

pdf-iconDatasheet HX711


Arduino Hookup

arduino hx711

Simply connect Load cell wires to the HX711 module based on their color, then connect DAT (Data) pin to Arduino Analog pin A1 and connect CLK (Clock) pin to Arduin0 Analog pin A0, Put Vcc and Gnd supply from Arduino power source pins.

Arduino Code


// Hx711.DAT - pin #A1
// Hx711.CLK - pin #A0

#include "hx711.h"

Hx711 scale(A1, A0);

void setup() {



void loop() {

  Serial.print(scale.getGram(), 1);
  Serial.println(" g");


This simple code brings output at serial port terminal of Arduino IDE.

Before compiling this code put HX711 Library into the Arduino IDE.

3 thoughts on “Interfacing Load Cell with Arduino using HX711

Leave a Reply

Your email address will not be published. Required fields are marked *