Building a Digital Scale using Arduino UNO and HX711

Arduino 04-03-26
19 0

Tutorial plan

1- Objective of the project

2- Required Components

3- Circuit Connections of system

4- Arduino program of weight scale

 

 

Objective of the project

The objective of the project “Building a Digital Scale using Arduino and HX711 and LCD I2C Screen” is to design and implement a low-cost digital weighing system capable of measuring weight accurately and displaying the result in real time. This project allows learners to understand how force can be converted into electrical signals, how small analog signals can be amplified and digitized, and how microcontrollers process and display data. It is mainly intended for educational purposes to demonstrate sensor interfacing and embedded system design.

The functioning of the system begins with the load cell, which acts as the weight sensor. When an object is placed on the scale, the load cell slightly deforms. This deformation changes its internal electrical resistance, generating a very small analog voltage signal proportional to the applied weight. Since this signal is extremely weak, it cannot be read directly by the microcontroller.

To solve this, the HX711 module is used. It amplifies the tiny voltage signal produced by the load cell and converts it into a high-resolution digital value using its built-in 24-bit analog-to-digital converter. The digital data is then transmitted to the Arduino Uno, which processes the information.

The Arduino reads the data from the HX711, applies a calibration factor, and converts the raw measurement into a readable weight value expressed in grams or kilograms. Finally, the processed result is sent to the LCD I2C 16x2, which displays the measured weight clearly. The I2C communication protocol simplifies wiring by using only two data lines, making the system compact and easy to assemble.

 

Required Components

1. Arduino UNO

Arduino Uno

It reads digital data from the HX711 module, processes the values, applies calibration, and controls the LCD display. The ESP32 is powerful, fast, and suitable for real-time sensor applications.

2. Load cell sensor

The load cell sensor is the component responsible for measuring weight. It works using strain gauges that change resistance when pressure or weight is applied. When an object is placed on the platform, the load cell slightly deforms and produces a very small analog voltage proportional to the weight.

3. HX711 amplifier module

The HX711 module is a precision 24-bit analog-to-digital converter (ADC) specially designed for weight measurement systems. Since the signal generated by the load cell is extremely small (in millivolts), the HX711 amplifies this weak signal and converts it into digital data that the Arduino UNO can read accurately.

4. LCD Display with I2C Module

The LCD I2C display is used to show the measured weight. It receives data from the Arduino UNO and displays the weight value in real time.

5. Breadboard 

Breadboard

A breadboard is used to assemble the circuit without soldering. It makes it easy to connect and modify the components during testing and development.

6. Jumper Wires

Jumper wires

Jumper wires are used to connect the Arduino UNO, HX711 module, load cell, and LCD display together. They ensure proper electrical connections between all components.

 

Circuit Connections of system

 

1- Connection of Load cell sensor to HX711 module 

Load cell sensor HX711 module
Red E+
Black E-
White A-
Green A+

 

2- Connection of HX711 module to Arduino UNO

HX711 Arduino UNO
VCC 3V
GND GND
DT Pin 3
SCK Pin 4

 

3- Connection of LCD I2C display to Arduino UNO

LCD I2C display Arduino UNO
VCC 5V
GND GND
SDA Pin A4
SCL Pin A5

 

Arduino program of weight scale

This Arduino program implements a digital weight scale system using an Arduino UNO, an HX711 load cell amplifier, and an LCD I2C display. The program reads weight data from a load cell sensor, processes it using calibration values, and displays the measured weight in grams on the LCD screen.

You need to install this libraries :

LiquidCrystal_I2C for I2C LCD screen

HX711-master for HX711 module

0 comment

Leave a comment

Veuillez noter s'il vous plaît*

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Purpose of this website

Educational robotics refers to the use of robots and robotics technology to promote learning in educational settings. It involves the integration of technology, engineering, and computer science into the classroom, allowing students to engage in hands-on, project-based learning experiences.
In this context, our website represents an excellent resource for parents, teachers and children who wish to discover robotics.

Contact details

Zaouiet Kontech-Jemmel-Monastir-Tunisia

Pictures of the articles

Robotic site created by Mohamed Ali Haj Salah - Teacher info