Esp8266 Projects

Weight Scale With ESP8266 & Blynk App

Introduction

Hi, In this tutorial, we will make IOT Based weighting scale with HX711 Module, load cell & ESP8266 Board.

The load cell measures the weight up to 10kg. We will display the measured weight in the 16×2 LCD & Blynk Application. If you are capable to change coding then you also Display the reading in thing speak.

if you used the new Blynk App Then You required to change a Few Things

Overview

In this project, we interface a 10kg load cell to the ESP8266 microcontroller with an HX711 amplifier.

HX711 is prelission 24 bit anulog to Digital converter. They design for weighing scales and industrial control applications to interface directly with a bridge sensor.

The electronic weighting machine uses a load cell to measure the weight produced by the load. The measuring load with the help of a strain gauge sensor.

We will make a weight scale And measure weights up is 10kg. First, we need to calibrate the load cell and find the calibration factor. Once the calibration is done we put the value in an Arduino Code. Then will make the scale precise and Then Measure the value. Because if you do not find the calibration factor this generates a mass of error. So we first try to remove errors from the weight scale.

Bill Of Materials

S.N

Component

Quantity

Link To Buy

1

ESP8266

1

2

(I2C) 16x2 LCD Display 

1

3

Load Cell

1

4

HX711 Module

1

5

Push Button

1

6

Zero PCB

1

7

USB Cable

1

Loadcell Component3 scaled e1675017390152

ESP8266

ESP8266 or NodeMCU with cp2102 Wifi Board is Wifi based microcontroller that is very easy to use to create projects with WiFi and IoT (Internet of Things) applications. This WiFi development board already embeds in its board all the necessary components for the ESP8266 to program and uploaded code. It has an in-built USB to serial chip upload codes, a 3.3V regulator and a logic-level converter circuit so you can immediately upload codes and connect your circuits.

Component1 e1673931371445

Specification of Node-MCU IoT Module:-

  • It is based on ESP8266 and integrates GPIO, PWM, IIC, 1-Wire and ADC in one board.
  • Power your development in the fastest way combinating with NodeMCU Firmware!
  • USB-TTL included plug&play
  • 10 GPIO, every GPIO can be PWM, I2C, 1-wire

Features of Node-MCU IoT Module:-

  • Open-source IoT Platform
  • Easily Programmable
  • Low Cost & Simple to Implement
  • WI-FI enabled

16×2 LCD Display

16×02 LCD type with 2 rows of 16 Columns. This model operates at 5V and has a green backlight with white-on-Green text. It features a standard HD44780 compatible controller to simplify integration into your project and includes a strip of male header that can be soldered to the board as needed.

Component2

Features:-

  • 16 Characters x 2 Lines
  • Green Backlight
  • 5×7 Dot Matrix Character + Cursor
  • HD44780 Equivalent LCD Controller/driver Built-In
  • 4-bit or 8-bit MPU Interface
  • Standard Type
  • Works with almost any Microcontroller

Load Cell & HX711 Module

Load Cell 

 

10KG Load Cell

The load cell is a module for measuring the force. they are used in varial fields, industrial, weight machines & medical applications to measure the weight of an object, the force exerted by the fluid on a surface. a load cell is made of metal Saft by an inbuilt strain gauge. When force is applied to the beam, the strain gauge measuring the resulting distortion of the beam produces a signal that the proportional to the force. 

Specifications

  • Capacity – 10kg
  • Accuracy – 0.03% Fs
  • Output – 4 wires (Whcalshone bride)
  • Method of connecting wire – Red(+), Black(-), Green(+), White(-)
  • Zero output – 0.05% fs

Loadcell Component2 1 scaled e1675014609107

HX711 Load Cell Amplifier

HX711 Module

This deuce is used to measure the force exerted by an object. The module interfacing with the load cell and Arduino Nano microcontroller are easy to read reading & it is clearly reading the whetstone bridge formed by the load cell. Converting the analog reading to Digital form with an internal 24-bit A/D converter.

To communicates the Hx711 Amplifier circuit with Arduino Nano pin (clock & Date) in a serial way. (similar to I2C)

In 4 wire Arough we could to Hx711 module to load cells, Red, Black, White & Green.

  • Red – Excitation Voltage(+), E+, VCC
  • Black – Excitation Voltage (-), E-, GND
  • Green – Amplifier (-), Signal (-), A(-)
  • White – Amplifier (+), Signal (+), A(+)

Specifications

  • Operating Voltage – 2.7V to 5V DC
  • Operating voltage – 710 mA
  • Refresh frequency – 10/90 HZ
  • Data Accularly – 24-bit ( A/D converter chip)

Push Button

These are very small light duty SPST Single Pole Single push buttons that are NO Normally Open. Push buttons are only rated up to 50mA at 12V DC and are intended for low-voltage operations such as providing digital inputs to microcontrollers.

Components3

Zero PCB

This Is A High-Quality Single Sided Fr2 / Phenolic General Purpose PCB. It Is Used For Rapid Prototyping Design. The Size Is 100 mm*75 mm (10 cm X 7.5 cm). The Copper Layer Is Laminated For Easy Soldering And To Prevent Corrosion. It Is Ideal For College And Engineering Students. Widely Used For Electronic Projects.

Esp32 cam Motion Detection using Ultrasonic Sensor4

Circuit Diagram

Weight machine based circuit diagram e1675017195117

PCB DESIGN

 

0005720 coming soon page 550

 

Blynk App Install

First, you have to set up a project in the Blynk app on your web dashboard And Smart Phone. after setting the app you receive an auth token which has to be provided in the code.

You can Download the Blynk app from Below the Links.

Open Blynk App, register with an email ID and then log in. 

Screenshot 2022 12 24 at 8.43.41 PM

Screenshot 2022 12 24 at 11.29.19 PM

Installing the HX711 Library

There are many sources to get measurements from a load cell using the HX711 amplifier. We’ll use the HX711 library. It is compatible with Arduino, ESP32, and ESP8266.

The following instructions are to install the library in Arduino IDE.

  • Open Arduino IDE and go to Sketch > Include Library > Manage Libraries.
  • Search for “HX711 Arduino Library” and install the library by Bogdan Necula.

HX711

Installing the I2C Library

Source Code

Demo of Project

  • Now we will test the project I will put My Mobile phone in the load sensor and the LCD, Blynk App Will Display The Weight Of the Mobile.

Weight Scale0

  • And When I remove the mobile the load cell automatically displays the 0 Weight, that’s I will try to show in the image.

Weight Scale1

  • Now this time I put the mouse in the load cell and measured the weight and display it this time the mouse’s Weight is 0.15gm.

Weight Scale2

 

If You are Interested In More Project Then Plz Check Few More Project 

Video Tutorial

Prateek

Hi, Prateek Here I’m interested in Electronics That's why I Make Soo Many Projects, I’m currently Pursuing M Tech.. if you Relay Like To My Blog Plz Comment Below...Thanks To All Electronics Lover...❤️

Leave a Reply

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

Back to top button

Adblock Detected

Please consider supporting us by disabling your ad blocker