0% found this document useful (0 votes)
60 views8 pages

A1 Batch Ieee Document

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
60 views8 pages

A1 Batch Ieee Document

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Iot Based Smart Weighing Machine For

Remote Monitoring using ESP32 and Blynk Iot


1
Dr B Raghavaiah, 2S Anusha, 3B Kiran, 4CH john raj, 5K Ravi teja, ⁶M L deepak
1
Professor & Head,Department of Electronics and Communication Engineering, Ramachandra Collegeof
Engineering, Eluru, Andhra Pradesh, India.
2,3,4,5,6
B. Tech Students, Department of Electronics and Communication Engineering, Ramachandra college
of Engineering, Eluru, Andhra Pradesh, India.

Abstract— This project introduces a These days, every machine is digital, and to
comprehensive weight measurement system process and analyse weights, they use
centered around an Arduino Uno microprocessors like Arduino. For long-
microcontroller. It seamlessly integrates various distance communication in this project, we'll
components to provide precise weight also need an Arduino for analysis and an
measurements and advanced functionalities. By esp32 module for wifi connectivity. Blynk
utilizing a load cell and amplifier, the system IoT will be used to store the data in the cloud
accurately captures weight data, which is for precise data storage and also using
promptly displayed on an LCD screen for bluetooth for smart phone connection for
convenient monitoring. Moreover, it
viewing the details of particular weight.
incorporates the ability to calculate item prices
based on user-defined price per kilogram When utilised to weigh the goods in business
entered via a keypad, making it suitable for applications, this project might be quite
commercial settings. To ensure accurate helpful.
timekeeping, a real-time clock (RTC) module is It is equipped with a load cell sensor that
included, offering timestamp functionality for detects the load applied to it. The load cell
enhanced data logging and management. amplifier then converts the analogue data into
digital form, which is then fed into a
microprocessor system for analysis. Data is
Keywords— Arduino, Load sent to the display, smartphone, and Blynk
Sensor, HX711, Blynk Iot,BLE. IOT customised app via Bluetooth, which
stores information like item name, price per
kg, total weight, cost, and time using (RTC).

II. EXISTING WORK


I.INTRODUCTION In this work, the system is used to measure
Weighing machines were previously limited the weight only and display it, and we check
to using weights placed on both sides of and entry the data manually. There are some
boxes in order to verify the weight. drawbacks in this case, the system uses
microprocessor including less accuracy and
long measuring period.
In this case the system uses microcontroller Following the application of that specific
operation to an load cell sensor it may weight to the load cell.After the load cell
difficult to check weight in a automatically detects the load weight, the signal travels
and accurately. In this system, the load cell through the Arduino and all of the
sensor is used as an input source and is components begin to function in their initial
analysed by the microcontroller. The state.
microcontroller reads only digital signals, This is how the work is progressing so far.
but the load cell sensor produces an analog 1. Type the item's name using the three-digit
signal. So, to convert that signal, we use an predefined code and hit *.
analog-to- digital converter. And it is 2. Type the item's cost and hit #.
amplified by HX711 amplifier. After 3. Press B to freeze and A to upload data to
analysing the digital signal, By the arduino the Blynk Bluetooth Serial Device.
and it is displayed on the LCD display. 4. To view clear data, press C.
5. To set the tare weight to 0, press D.
In this way data is stored in iot customized
app and accurate storage is provided.

IV. BLOCK DIAGRAM

The block diagram of proposed work as shown


below;
Fig. 1. Block diagram of Existing Work

III. PROPOSED WORK

In this work, we can avoid humans to enter


the data manually, and we can also increase
the speed of the operation by using Arduino.
In recent days, automation has become
mandatory to avoid humans for faster
operations. We have used the load cell
sensor, Hx711 amplifier, esp32, LCD, HC Fig. 2. Block diagram of Proposed Work
05 and Arduino, 4x4 Hex keypad.

ARDUINO
In this proposed system, The operator must The Arduino is a small, consistent and open-
feed power to the board before attempting to source development Arduino board based on
measure the weight. ATmega328P or ATmega628. The operating
voltage of Arduino is 5V and it has 14 digital
pins and 8 analog pins.
The digital pins are used to interface
It is commonly used to measure small
sensors by using them as both input and
changes in resistance that occur when a
output pins. The analog pins are used to load is applied to a load cell, converting
read the values of sensors of the input and these changes into digital signals that can
output pins. The input voltage is in between be read by a microcontroller like Arduino.
7 to 12V. 1.Bridge Configuration:
• Load cells typically use a
Wheatstone bridge configuration. When a
load is applied to the load cell, it causes a
change in resistance in one or more of the
strain gauges in the Wheatstone bridge.
2.Wheatstone Bridge Excitation:
• The HX711 provides a stable and
accurate excitation voltage to the
Wheatstone bridge. It supplies a constant
Fig. 3. Diagram of Arduino
current to the bridge, allowing it to measure
ESP32 the small changes in resistance accurately.
The ESP32 is a powerful microcontroller
and system-on-chip (SoC) that has gained
significant popularity in the world of IoT
(Internet of Things) and embedded
systems. Developed by Espressif Systems,
the ESP32 offers a wide range of features
and capabilities suitable for various
Fig. 5. Diagram of Load cell Amplifier
applications. (HX711)

ARDUINO UNO LCD DISPLAY SHIELD


A Liquid Crystal display is a thin, flat display
made up of any number of color or
monochrome pixels arrayed in front of a light
source or a reflector. Each pixel consists of
Fig. 4. Diagram of ESP32
column of liquid crystal molecules
suspended between two transparent
The ESP32 microcontroller features a electrodes, and two polarizing filters, the
variety of pins for different functions, axes of polarity which are perpendicular to
including digital input/output (GPIO), each other. Without theliquid crystals
analog input, power, ground, and between them, light going through one
communication interfaces. would be impeded by the other. The liquid
crystals twist the polarization of light
HX711 LOAD CELL AMPLIFIER entering one filter to allow it to pass through
the other.
The HX711 is a precision analog-to-digital • You can use the LCD screen to display
converter (ADC) specifically designed for
sensor readings, messages, or any other
weighing scale and load cell applications.
information relevant to your project.
device via the I2C (Inter-Integrated Circuit)
serial communication protocol. This allows
multiple PCF8574 devices to be connected
to the same I2C bus, expanding the number
of available GPIO pins even further.
3. Low Power Consumption:
• The PCF8574 operates at very low power,
making it suitable for battery-powered or
energy-efficient applications.

Fig. 6. Diagram of LCD • Keypad or Button Inputs: Use the


PCF8574 to read inputs from multiple
PCF8574
buttons or a keypad.
The PCF8574 is an I/O expander IC • LED Control: Expand the number of
(Integrated Circuit) that allows you to LEDs that can be controlled by your
increase the number of GPIO (General microcontroller.
Purpose Input/Output) pins available to • LCD or Display Modules: Control LCD
your microcontroller or other digital displays or other digital modules that
device. The PCF8574 is commonly used in require multiple GPIO pins.
situations where the number of available
GPIO pins on the microcontroller is
limited, but additional I/O capabilities are 4X4 MATRIX KEYPAD
needed.
.

A 4x4 matrix keypad is a type of input


device commonly used in electronics
projects to provide user input in a compact
and organized manner. It consists of 16 keys
Fig. 7. Diagram of PCF8574 arranged in a grid of 4 rows and 4 columns.
Each key is a momentary push-button
1. 8-Bit I/O Expander:
switch.
• The PCF8574 provides 8 additional
GPIO pins, which can be used as inputs or
outputs.
 2. I2C Communication: It Fig. 8. Circuit diagram of 4x4 keypad
communicates with the microcontroller or host
HC-05 BLYNK IOT
Blynk is an Internet of Things
The HC-05 is a Bluetooth serial (IoT) platform that enables users to quickly
module commonly used for wireless and easily build connected projects and
communication between electronic applications without extensive programming
devices. Here's a detailed explanation of its or hardware knowledge. It provides a user-
features, functionality, and usage: friendly interface and a suite of tools to
Features: connect hardware devices, create
1. Bluetooth Version: smartphone apps, and control or monitor
• The HC-05 typically uses connected devices remotely.
Bluetooth version 2.0 or 2.1 + EDR
(Enhanced Data Rate). It supports the
Serial Port Profile (SPP) for serial
communication.
2. Communication Interface:
• The HC-05 module communicates
with microcontrollers or other devices
using UART (Universal Asynchronous
Receiver-Transmitter) communication. It
has a TX (transmit) pin and an RX
Features:
(receive) pin for serial communication.
1. Drag-and-Drop Interface:
3. Operating Modes:
• Blynk offers a drag-and-drop interface for
• The HC-05 module can operate in
creating custom smartphone apps to control
two main modes:
and monitor IoT devices. Users can easily
• AT Command Mode: In this mode,
add buttons, sliders, graphs, and other
the module accepts AT commands sent via
widgets to their app interface without
the UART interface, allowing
writing code.
configuration of various parameters such
2. Cloud Connectivity:
as device name, baud rate, pairing mode,
• Blynk provides cloud connectivity,
and security settings.
allowing users to securely connect their
• Data Mode: In this mode, the
hardware devices to the Blynk cloud
module functions as a Bluetooth slave
platform. This enables remote control and
device and establishes a wireless serial
monitoring of connected devices from
connection with a master device (e.g.,
anywhere with an internet connection.
smartphone, PC).
3. Support for Various Hardware Platforms:
• Blynk supports a wide range of hardware
platforms, including popular
microcontrollers like Arduino, Raspberry
Pi, ESP8266, ESP32, and more. Users can
choose the hardware platform that best suits
their project requirements.
4. Library of Widgets:
• Blynk offers a library of pre-built widgets
Fig. 8. Circuit diagram of 4x4 keypad that can be easily added to smartphone apps,
including buttons, sliders, graphs, gauges,
LCD displays, and more.
V. CIRCUIT DIAGRAM ESP32 Connections:
Bluetooth Module (HC-05 or HC-06):
Connect RX pin of Bluetooth module to
ESP32's pin 16 (TX2).
Connect TX pin of Bluetooth module to
ESP32's pin 17 (RX2).
Connect VCC of Bluetooth module to
ESP32's 3.3V pin.
Connect GND of Bluetooth module to
Fig. 10. Circuit diagram of Iot based smart ESP32's GND pin.
weighing machine using ESp32 and blynk iot Blynk and Telegram:
Connect ESP32 to Wi-Fi using your Wi-Fi
In the proposed system, the major credentials.
components are Arduino, load sensor, load Connect ESP32's pin 2 to the RX pin of the
cell amplifier (HX711), LCD display, and Arduino Uno.
HC-05,ESP 32 IC expander. Connect ESP32's pin 4 to the TX pin of the
Arduino Uno Connections: Arduino Uno.
Load Cell (HX711 Module): Other Connections:
DOUT pin of HX711 to Arduino Uno's A0 Make sure both Arduino Uno and ESP32
pin. have a common ground (GND).
SCK pin of HX711 to Arduino Uno's A1 Power the Arduino Uno and ESP32 using
pin. their respective power sources (5V for
Liquid Crystal Display (LCD): Arduino Uno, 3.3V for ESP32).
RS pin of LCD to Arduino Uno's pin 8. The load cell must be powered properly as
EN pin of LCD to Arduino Uno's pin 9. per its specifications.
D4 pin of LCD to Arduino Uno's pin 4. Ensure that the LCD and keypad modules
D5 pin of LCD to Arduino Uno's pin 5. have proper power connections (usually
D6 pin of LCD to Arduino Uno's pin 6. 5V).
D7 pin of LCD to Arduino Uno's pin 7. For the ESP32 to communicate with Blynk
I2C Keypad: and Telegram, make sure to configure Wi-Fi
Connect SDA pin of the I2C keypad credentials, Blynk Auth Token, Telegram
module to Arduino Uno's A4 pin. Bot Token, and Chat ID appropriately in the
Connect SCL pin of the I2C keypad code.
module to Arduino Uno's A5 pin.
Bluetooth Module (HC-05 or HC-06):
Connect RX pin of Bluetooth module to
Arduino Uno's pin 3 (TX).
Connect TX pin of Bluetooth module to
Arduino Uno's pin 2 (RX).
 Connect VCC of Bluetooth module to
Arduino Uno's 5V pin.
 Connect GND of Bluetooth module to
Arduino Uno's GND pin.
VI. WORKING example, you can add a Gauge widget to
display the weight, and buttons to tare the
Components Needed: scale or calibrate it.
ESP32 microcontroller: It's a powerful
microcontroller with built-in Wi-Fi and Link the widgets to the virtual pins used in
Bluetooth capability, perfect for IoT the Arduino code.
projects. Testing:
Load cell and HX711 amplifier: These • Upload the Arduino code to the
are used to measure the weight. ESP32.
Blynk IoT platform: Blynk provides a • Open the Blynk app and start the
platform to build IoT applications easily project.
with drag-and-drop widgets for controlling • You should be able to see the weight
and monitoring devices remotely. readings on the app in real-time.
Hardware Setup: • Test the functionality of the tare and
• Connect the load cell and HX711 calibration buttons.
amplifier to the ESP32. The load Expansion:
cell measures the weight, and the You can add additional features like data
HX711 amplifier amplifies the logging, notifications, or remote control.
signal from the load cell. You can also integrate other sensors for
• Connect the ESP32 to the internet environmental monitoring or connect the
via Wi-Fi. weighing machine to other smart home
Software Setup: devices.
• Set up the Arduino IDE with Overall, the ESP32 with Blynk
ESP32 support. provides a robust platform for building IoT-
• Install the Blynk library for based smart weighing machines with remote
Arduino. monitoring and control capabilities.
• Create a new project in the Blynk
app and obtain the authentication
token.Write the Arduino code to
read the weight from the load cell VII.RESULT
using the HX711 library and send it
to the Blynk server using the Blynk
library.
Coding:
• Initialize the Blynk library with
your authentication token.
• Configure the HX711 library to
communicate with the load cell.
• Read the weight from the load cell
periodically.
• Send the weight data to the Blynk
server using virtual pins.
Fig.9. Output for iot based smart weighing
Blynk App Configuration:
machine for remote monitoring using esp32
In the Blynk app, add widgets to visualize and blynk iot.
and control the weighing machine. For
VII.CONCLUSION 3.https://www.wiki.eprolabs.com/index.
php?title=Bluetooth_Module_HC-05.
The weight measurement system presented 4system_for_Crate_in_Agriculture. An
in this project offers a comprehensive international confernce journal in 2016.
overview of its hardware and software
components, along with detailed results 5.https://doi.org/10.3844/jcssp.2021.108
and discussions. It showcases a deep 5.1092. An “Design of smart weighing
understanding of Arduino-based systems, machine for agriculture purpose”.
encompassing precise weight
measurement, efficient data display, 6.https://www.wiki.eprolabs.com/index.
accurate price calculation, reliable php?title=Bluetooth_Module_HC-05.
timekeeping, and diverse connectivity
options. By integrating multiple 7.Dicky dwi Putra, Muhammad Miqdad
communication protocols and platforms, Nadra, Achmad Munir, Wervyan
the system demonstrates enhanced Shalannanda, Elsa Ramadhani Firzal,
versatility and practicality, catering to Mohammad Febriyanto, “Design of
various application scenarios. Smart- Gate Based on Artificial
Furthermore, the forward-looking analysis Intelligence Possibly for COVID-19
of potential future enhancements Early Prevention at Public Area”, IEEE
underscores a commitment to ongoing Xplore 2020.
development and improvement. In
summary, this project exemplifies a 8.https://www.transtekcorp.com/advanta
meticulously executed implementation ges-of-remote-weight-monitoring.html
coupled with insightful analysis,
9.Darren W. Fitzgerald;Fiona Edwards
underscoring its value in real-world
Murphy;William M. D.
applications. Confirmation acknowledged!
Wright;PádraigWhelan;Emanuel M.
Popovici “design and development of iot
VII. FUTURE SCOPE
based smart weighing scale for behive
To further enhance the system's
monitoring”, IEEE Xplore 2015.
functionality, future enhancements could
focus on refining the user interface,
10.https://create.arduino.cc/projecthub/D
incorporating additional features such as
KARDU/how-to-make-non
external data logging, and optimizing
touchautomaticdooropen-close-
power consumption for prolonged battery-
systema0cbcf?ref=tag&ref_id=door&off
powered operation.
set=0
X.REFERENCE

12. https://www.researchgate.net/public
ation/325777798_IOT_based_Smart
_weighing_system_for_Crate_in_A
griculture.

13. https://doi.org/10.3844/jcssp.2021.1
085.1092.

You might also like