Digital Scale using ESP8266 NodeMCU and HX711 module

ESP8266 05-03-26
19 0

Tutorial plan

1- Objective of the project

2- Required Components

3- Circuit Connections of system

4- Micropython program of ESP8266 Weight Scale

 

 

Objective of the project

The objective of this project is to build a digital weighing scale using the ESP8266 NodeMCU microcontroller and the HX711 Load Cell Amplifier module. The system is designed to measure the weight of objects accurately using a load cell sensor and display the measured value on an LCD screen. This project also aims to demonstrate how to interface a sensitive weight sensor with a microcontroller and how to process and display measurement data in real time.

Functioning of the Project:

The project works by using a load cell sensor that detects the force applied when an object is placed on the scale platform. This force produces a very small electrical signal proportional to the weight. The HX711 module amplifies this signal and converts it into digital data that can be read by the ESP8266 NodeMCU. The microcontroller processes these readings, applies a calibration factor to convert the raw values into weight units (usually grams), and then sends the result to an LCD display. The screen continuously shows the measured weight, allowing the user to easily read the value in real time.

 

Required Components

1. ESP8266 NodeMCU board

The ESP8266 NodeMCU board is the main microcontroller of the system. 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 ESP8266 NodeMCU 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 ESP8266 NodeMCU board 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 ESP8266 NodeMCU board, 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 ESP8266 NodeMCU

HX711 module ESP8266 NodeMCU
VCC 3V
GND GND
DT D6
SCK D5

 

3- Connection of LCD I2C display to ESP8266 NodeMCU

LCD I2C display ESP8266 NodeMCU
VCC 5V
GND GND
SDA D2
SCL D1

 

Micropython program of ESP8266 Weight Scale

This MicroPython program implements a digital weight scale system using an ESP8266 NodeMCU, 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 :

i2c_lcd et lcd_api for I2C LCD screen

hx711 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