0% found this document useful (0 votes)
1 views

progress report ismail

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

progress report ismail

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

PROJECT REPORT

ON
“IOTBased Electrical Parameter Monitoring System of
Home Appliances”
Submitted in partial fulfilment of the requirements for the degree of
MASTER OF TECHNOLOGY
IN
ELECTRICAL ENGINEERING
By
ISMAIL MOLLA
ENROLLMENT NO.: EEN202009

Guided by-
Dr. Rumpa Saha

Department of Electrical Engineering


Aliah University
ACTION AREA IIA/27, NEWTOWN, KOL-700160

2022

ALIAH UNIVERSITY
ACTION AREA IIA/27, NEWTOWN, KOL-700160

Page 1 of 35
DEPARTMENT OF ELECTRICAL ENGINEERING

CERTIFICATE

This is certified that the project report entitled “IOT Based Electrical Parameter
Monitoring System of Home Appliances” Submitted by ISMAIL MOLLA, Enrolment
No: EEN202009 in partial fulfilment of the requirement for the award of the degree of "MASTER
OF
TECHNOLOGY in ELECTRICAL ENGINEERING”.

This is certified that it is in original and benefited work undertaken by DR. RUMPA SAHA

Date: 26/05/2022
Place: Kolkata

Dr. Rumpa Saha Dr. Rumpa Saha


(Assistant professor) ( Assistant professor)
Supervisor of the project Head of The Department
Dept. of Electrical Engineering Dept. of Electrical Engineering

DECLERATION

Page 2 of 35
I am a student of M. Tech department of Electrical Engineering here submitted project
report prepared as entitled “IOT Based Electrical Parameter Monitoring
System of Home Appliances”. I declare that this project has been carried out by
me this report is original to the best of my knowledge. I am responsible for the content
of this report.

Name of student Enrolment No signature


ISMAIL MOLLA EEN202009

Page 3 of 35
ACKNOWLEDGEMENT
I would like to place on record my deep sense of gratitude to Dr. Rumpa Saha,
Assistant Professor of Electrical Engineering, Aliah University, Kolkata for her
stimulating guidance, helps and useful suggestions, continuous encouragement and
supervision throughout the course of my present work.
I also wish to extend my thanks to the other professors and other colleagues for
attending my previous seminar and for their insightful comments and constructive
suggestions to improve the quality of this project work.
I am extremely thankful to Prof. Dr Rumpa Saha H.O.D of Electrical Engineering for
providing me infrastructural facilities to work in without which this work would not
have been possible.

Date:26/05/2022 ISMAIL MOLLA


Place: Kolkata ENROLLMENT NO.: EEN202009

Page 4 of 35
TABLE CONTENT

ABSTRACT………………………………………………………..…….07

CHAPTER NO-01

1.1. INTRODUCTION…………………………………………………....08

1.2. LITERATURE REVIEW………………………………………….…10

CHAPTER NO-02

2.1. INTRODUCTION TO IoT…………………………………….……..12


2.2. APPLICATION OF IoT………………………………………………13
2.3. APPLICATION OF IoT IN ELECTRICAL FIELD………….....……14

CHAPTER NO-03

3.1. REQUIRED COMPONENT…………………………………………15


1.Current Sensor………………………………………………..15
2.Voltage Sensor…………………………………………….17
3.Wi-Fi module(ESP32) …………………………………….……18
4.Resistor…………………………………………………… 21
5.capacitor…………………………………………………………
6.Breadboard…………………………………………………….
CHAPTER NO-04
4.1.Required Library installation:
1.Blynk Libray…………………………………………………………23
2.Emonlib Library
4.2.Setting Up Blynk Application
4.3.Source Code:
CHAPTER NO-05

Page 5 of 35
5.1.PROPOSED SYSTEM……………………………………………….23
5.2. FUTURE SCOPE AND CONCULATION……………………………23
5.3. REFERENCES……………………………………………………..…….24

LIST OF FIGURE
FIGURE PAGE NO
Figure: 1.1 Block Diagram..........................................................................................
Figure: 1.2 Architectural Diagram ..............................................................................10
Figure: 3.1 Current Sensor...........................................................................................15
Figure: 3.2 C.T Construction and circuit symbol........................................................16
Figure: 3.3 Voltage Sensor..........................................................................................17
Figure: 3.4 Wi-Fi module(ESP32)…………………………………………………18
Figure: 3.5 LCD Display..............................................................................................21

Page 6 of 35
ABSRACT

IOT is commonly used for smart home, data acquisition smart energy monitoring,
industrial automation and a variety of platforms. The aims of the project is to develop
the architecture of an IOT based electrical parameter monitoring system.
The goal of this project is to visualize and monitor the voltage, current, power and
energy of electrical loads used in home. Entire monitored data will be sent to the
Smart phone of customer using mobile application by integrating smart plugs, sensors,
internet of things (IOT) devices.
Main objective of this project is to monitor the status of electrical parameters like
voltage, current, active power and reactive power of different electrical home
appliances from any location using smart phone.

Page 7 of 35
CHAPTER NO: 01

INTRODUCTION:

Recent years, due to the advancement in internet technology computerized electricity billing
and online bill payment has become possible. However, the assessment of meter reading is still
carried out manually. This requires huge manpower. Further, the incorrectness in assessment leads to
high revenue loss. Energy monitoring system is a technique that uses energy information as a basis to
eliminate waste, reduce and control current level of energy use and to reduce the human interference.
The energy consumption can be monitor by using an electric device called energy meter. The cost
and the regular uses of Power consumption are informed to the user to overcome high bill uses. The
energy meter shows the amount of units consumed and transfer the data to both the customer and to
the electrical board so this help in reducing man-power. The user can check their power uses from
anywhere and at any time interval. The IoT is used to turn on/off the household application using
relay and Arduino interfacing. The objective of this system is to monitor the amount of electricity
consumed. The distributer and the consumer both will be benefitted by eventually reducing the total
power consumption.
IoT based energy meter system mainly consist of three major parts i.e. controller, Wi-Fi and theft
detection part. Whenever there is any fault or theft, the theft detection sensor senses the error and
circuit response according to the information it receives. The controller plays a major role in the
system making sure all the component are working fine.
In this project, we will learn how to make our own IoT Based Electricity Energy
Meter using ESP32 & monitor data on the Blynk Application. With the current technology, you need
to go to the meter reading room and take down readings. Thus monitoring and keeping track records
of your electricity consumption is a tedious task. To automate this, we can use the Internet of Things.
The Internet of Things saves time and money by automating remote data collection. Smart Energy
Meter has received quite a lot of acclaim across the globe in recent years. So, why not to build our
own IoT Based Electricity Energy Meter?
We need to select the current sensor as well as the voltage sensor so that the current & voltage can be
measured and thus we can know about the power consumption & total power consumed. The best
current sensor available in the market is SCT-013. This is SCT-013 Non-Invasive AC Current
Sensor Split Core Type Clamp Meter Sensor which can be used to measure AC current up to 100

P a g e 8 | 35
amperes. Similarly, the best voltage sensor is the AC Voltage Sensor Module ZMPT101B.
The ZMPT101B AC Voltage Sensor is the best where we need to measure the accurate AC voltage
with a voltage transformer.
Using the SCT-013 Current Sensor & ZMPT101B Voltage Sensor, we can measure the all required
parameters needed for Electricity Energy Meter. We will interface the SCT-013 Current Sensor &
ZMPT101B Voltage Sensor with ESP32 Wi-fi Module & Send the data to Blynk Application.
The Blynk dashboard will display the voltage, current, power & total unit consumed in kWh.

1.1 LITERATURE REVIEW

V. Amrutha et al., [1] in this paper an IOT Energy meter is proposed with current, voltage and
cost monitoring system using Node MCU that utilizes energy meter with microcontroller system
to monitor energy meter readings over IOT. This system interacts with out online IOT system
that THING SPEAK free web interface which shows the live output of these readings over the
IOT with ease.
Rumpa Saha et al [3] in this paper the idea of in this paper the idea of smart energy meter using
IoT and Arduino have been introduced. In this method we are using Arduino because it is
energy efficient i.e. it consume less power, it is fastest and has two UARTS. In this paper,
energy meters which is already installed we cannot replace but a change the existing meter into
smart meters.
B. Sujatha, et al., [4] this project provides a vital solution for Energy Monitoring System using
Internet of Things (loT) technology that enables us to develop the system without human
interference and with the use of smart energy meter to read electrical energy consumed to get an
accurate reading. Harasha Khandel et al.,[5]in this paper power is the main concern which needs
to be monitored and controlled in In this paper, a model is designed which aims to control and
monitor power consumption of a particular area or sector. The designed model monitors the
power consumption of the end users and cut off the power supply when it exceeds the set limit.
Rumpa Saha, Jitendra et al., [6] this paper illustrates an improved method of classification of
electrical appliances, particularly for domestic loads, to construct load taxonomy on the basis of
their signature analysis. A. Syed Mustafa et al., [7] this paper describes us the Arduino UNO
Microcontroller based architecture of smart energy meter using IoT. The system designed by us
eliminates the need for human involvement in Electricity maintenance.

P a g e 9 | 35
Mr. U. V. Kute et al., [8] in this paper the idea of smart energy meter using IoT and Arduino have
been introduced. In this method we are using Arduino because it is energy efficient i.e. it
consume less power, it is fastest and has two UARTS. In this paper, energy meters which
is already installed at our houses are not replaced, but a small modification on the already
installed meters can change the existing meters into smart meters.
Md. Jakaria Islam et al., [9] In this paper we combined existing energy meter with
implementation of IoT in the case of meter reading for electricity can give customer relief in
using electrical energy. Soumyajit Ghosh et al.,[10] In this paper, few statistical features
extracted from the raw time series electrical signal is used to classify or identify the
appliances. Using these statistical features, an IoT based fuzzy rule technique is built to
monitor the residential appliances.,[11] In this project remote energy monitoring system based
on B/S structure, many kinds of technologies, such as digital instrumentation, communications
networks, software, databases and so on is used in this application, The goals of the project
setting centralized management, decentralized control and remote monitoring.,[12] A device
which is economically feasible, technically sound and compact to measure the kWh readings of a
specific appliance is hence proposed.,[13] in this paper deals the solar and energy meter energy
monitoring with help of Arduino controller and home automation is done by IoT with Esp8266
Wifi module.,[14] In This paper proposes the wireless energy meter monitoring system using
Blynk application via smartphone.,[15] In this paper have designed and implemented a smart
energy metering platform consisting using IoT of smart plugs, gateway and cloud server.,[16] In
this paper, proposed energy monitoring system for a low-cost, which is used for saving a
significant amount of energy by identifying the devices, the devices can be turned off by using
MIT Platform based App.,[17] In this project design and build a low-cost electronic monitoring
device using Arduino and IoT for electricity monitoring system.,[18]In This paper propose the
design and implementation of a full working smart meter system by using Arduino, Raspberry Pi
and other sensors. That provides remote control of individual loads. [19]In this project is to create
smart IoT based energy meter which is used track energy consumption via gsm module. In the
mobile phone the form of sms we can send the data of the energy consumed. We can get data of
the energy consumption on time requirement basis consumption basis. [20] In this paper we
energy meter design and implementation using Arduino microcontroller. This is used to measure
the power consumed by any individual electrical appliance.,[21] The proposed approach
exhibited significant reduction in the energy consumption by automatically switching the energy
devices ON and OFF of each venue based on the time table. ,[22]in this project acquire
knowledge how to set u blynk app.,[23]This paper proposes a readings and bill generation system

P a g e 10 | 35
eliminates manpower by self-regulating meter reducing the flaws which are one of the major
cause for energy-related corruption.,[24] The aim of this project is to create a popular chip based
IoT electrical meter that will capture all meter information and transmit the required meter
information to the main server by means of wireless communication.,[25] This propose system
implemented the concept of an IoT based energy meter using a simple low-cost NodeMCU
microcontroller, an esp8266 Wi-Fi chip module and Blynk application.

P a g e 11 | 35
CHAPTER NO: 02

INTRODUCTION OF IOT:

IoT (internet of Things) is device (thing) connected to a network communicating via data transfer
with each other and acting upon it. The internet of things (IoT) describes the network of physical
objects- “things”-that are embedded with sensor, software, and other technologies for the purpose
of connecting and exchanging data with other device and system over the internet. These devices
range from ordinary household object to sophisticated industrial tools. With more than 7 billion
by 2020 and 22 billion by 2025. (Ref: oracle).

In 21st century data and connectivity has become integral part of our life. internet, smart
phone, smart device, automation, smart healthcare, AI and ML, autonomous vehicles and many
more problem, to automate things to make smart device and hence to ease human life. Over the
past few years, IoT has become one of the most important technologies of the 21 st century. Now
that we can connect everyday objects-kitchen appliances, cars, thermostats baby monitors-to the
internet via embedded device, seamless communication is possible between people, processes,
and things. By means of low cast computing, the cloud big data, analytics, and mobile
technologies, physical things can share and collect data with minimal human intervention. In this
hyper connected world, digital system can record monitor, and adjust each interaction between
connected things. The physical world meets the digital world- and they cooperate. (Ref: oracle)

2.1 How does it work?


Devices and objects with built in sensors are connected to an Internet of Things platform, which
integrates data from the different devices and applies analytics to share the most valuable
information with applications built to address specific needs. These powerful IoT platforms can
pinpoint exactly what information is useful and what can safely be ignored. This information can
be used to detect patterns, make recommendations, and detect possible problems before they
occur.
For example, if I own a car manufacturing business, I might want to know which optional
components (leather seats or alloy wheels, for example) are the most popular. Using Internet of
Things technology, I can:

P a g e 12 | 35
 Use sensors to detect which areas in a showroom are the most popular, and where
customers linger longest;
 Drill down into the available sales data to identify which components are selling fastest,
automatically align sales data with supply, so that popular items don’t go out of stock.
The information picked up by connected devices enables me to make smart decisions about
which components to stock up on, based on real-time information, which helps me save time and
money.
With the insight provided by advanced analytics comes the power to make processes more
efficient. Smart objects and systems mean you can automate certain tasks, particularly when these
are repetitive, mundane, time-consuming or even dangerous. Let’s look at some examples to see
what this looks like in real life.

2.2 IoT in your home


Imagine you wake up at 7am every day to go to work. Your alarm clock does the job of waking
you just fine. That is, until something goes wrong. Your train’s cancelled and you have to drive
to work instead. The only problem is that it takes longer to drive, and you would have needed to
get up at 6.45am to avoid being late. Oh, and it’s pouring with rain, so you’ll need to drive slower
than usual. A connected or IoT-enabled alarm clock would reset itself based on all these factors,
to ensure you got to work on time. It could recognize that your usual train is cancelled, calculate
the driving distance and travel time for your alternative route to work, check the weather and
factor in slower travelling speed because of heavy rain, and calculate when it needs to wake you
up so you’re not late. If it’s super-smart, if might even sync with your IoT-enabled coffee maker,
to ensure your morning caffeine’s ready to go when you get up.
2.3 IoT in transport
Having been woken by your smart alarm, you’re now driving to work. On comes the engine light.
You’d rather not head straight to the garage, but what if it’s something urgent? In a connected
car, the sensor that triggered the check engine light would communicate with others in the car. A
component called the diagnostic bus collects data from these sensors and passes it to a gateway in
the car, which sends the most relevant information to the manufacturer’s platform. The
manufacturer can use data from the car to offer you an appointment to get the part fixed, send you
directions to the nearest dealer, and make sure the correct replacement part is ordered so it’s
ready for you when you show up.

P a g e 13 | 35
Fig 2.1. Block diagram of IoT

2.4 APPLICATION OF IoT

 Building and home automation


 Manufacturing
 Media
 Environmental monitoring
 Infrastructural management
 Energy management
 Transportation
 Better quality of life

2.5 APPLICATION OF IoT IN ELECTRICAL FIELD

 Smart Home

 Smart Grid

 Smart Energy Monitoring

 Solar control and monitoring

 Industrial Internet

 Smart Street lighting

 Energy Usage and Efficiency

 Power quality monitoring

 Building automation

P a g e 14 | 35
2.6 Benefits of the IoT

 The Internet of Things is designed to make our lives more convenient. Here

are a few examples:


 Smart bathroom scales working in tandem with your treadmill, delivering

food preparation ideas to your laptop or smartphone, so you stay healthy.


 Security devices monitoring your home, turning lights on and off as you

enter and exit rooms, and streaming video so you can check in while you’re
away.
 Smart voice assistants placing your usual takeout order on command, making

it a breeze to get fresh food delivered to your door.

P a g e 15 | 35
CHAPTER NO: 03

3.1 REQUIRED COMPONENT:

3.1.1 Current Sensor

Fig. 3.1: SCT-013 Current Sensor

The SCT-013 is a Non-invasive AC Current Sensor Split Core Type Clamp Meter Sensor that
can be used to measure AC current up to 100 amperes. Current transformers (CTs) are
sensors are for measuring alternating current. They are particularly useful for measuring
whole building electricity consumption. The SCT-013 current sensors can be clipped straight
either to the live or neutral wire without having to do any high voltage electricalwork.

P a g e 16 | 35
Fig. 3.2: Circuit Diagram of Current Sensor
Like any other transformer, a current transformer has a primary winding, a magnetic core, and a
secondary winding. The secondary winding comprises many turns of fine wire housed within the
casing of the transformer.

3.1.1 Specifications

 Input Current: 0-30A AC


 Output Signal: DC 0-1 V
 Non-linearity: 2-3 %
 Build-in sampling resistance (RL): 62 Ω
 Turn Ratio: 1800:1
 Resistance Grade: Grade B
 Work Temperature: -25 °C~+70 °C
 Dielectric Strength (between shell and output): 1000 V AC / 1 min 5 mA

3.2 Voltage Sensor

Fig. 3.3: ZMPT101B AC Single Phase Voltage Sensor

The ZMPT101B AC Single Phase voltage sensor module is based on a high precision
ZMPT101B voltage Transformer used to measure the accurate AC voltage with a voltage
transformer. This is an ideal choice to measure the AC voltage using Arduino or ESP32.

The Modules can measure voltage within 250V AC voltage & the corresponding analogy output
can be adjusted. The module is simple to use and comes with a multi-turn trim potentiometer for
adjusting and calibrating the ADC output.

P a g e 17 | 35
3.2.1 Specification
 Voltage up to 250 volts can be measured
 Lightweight with on-board micro-precision voltage transformer
 High precision on-board op-amp circuit
 Operating temperature: 40ºC ~ + 70ºC
 Supply voltage 5 volts to 30 volts.

3.3 Wi-Fi Module (ESP32)

ESP32 is a series of low-cost, low-power system on a chip microcontrollers with integrated Wi-
Fi and dual-mode Bluetooth. The ESP32 series employs either a Tensilica Xtensa LX6
microprocessor in both dual-core and single-core variations, Xtensa LX7 dual-core
microprocessor and a single-core RISC-V microprocessor and includes built-in antenna switches,
RF balun, power amplifier, and low-noise receive amplifier, filters, and power-management
modules. ESP32 is created and developed by Espressif Systems, a Shanghai-based Chinese
company, and is manufactured by TSMC using their 40 nm process.[2] It is a successor to
the ESP8266 microcontroller.

Fig: 3.4: Wi-Fi module ESP 32

 Features of the ESP32 include the following:

 Processors:

• CPU: Xtensa dual-core (or single-core) 32-bit LX6 microprocessor, operating at


160 or 240 MHz and performing at up to 600 DMIPS

P a g e 18 | 35
• Ultra low power (ULP) co-processor

• Memory: 320 KiB RAM, 448 KiB ROM

• Wireless connectivity:

• Wi-Fi: 802.11 b/g/n

• Bluetooth: v4.2 BR/EDR and BLE (shares the radio with Wi-Fi)

3.4 Resistor
3.5 Capacitor
3.6 Breadboard

• Peripheral interfaces:

P a g e 19 | 35
• 34 × programmable GPIOs

• 12-bit SAR ADC up to 18 channels

• 2 × 8-bit DACs

• 10 × touch sensors (capacitive sensing GPIOs)

• 4 × SPI

• 2 × I²S interfaces

• 2 × I²C interfaces

• 3 × UART

• SD/SDIO/CE-ATA/MMC/eMMC host controller

• SDIO/SPI slave controller

• Ethernet MAC interface with dedicated DMA and planned IEEE 1588 Precision
Time Protocol support[4]

• CAN bus 2.0

• Infrared remote controller (TX/RX, up to 8 channels)

• Motor PWM

P a g e 20 | 35
• LED PWM (up to 16 channels)

• Hall effect sensor

• Ultra low power analog pre-amplifier

 Security:

• IEEE 802.11 standard security features all supported, including WPA, WPA2,
WPA3 (depending on version)[5] and WAPI

• Secure boot

• Flash encryption

• 1024-bit OTP, up to 768-bit for customers

• Cryptographic hardware acceleration: AES, SHA-2, RSA, elliptic curve


cryptography (ECC), random number generator (RNG)

 Power management:

• Internal low-dropout regulator

• Individual power domain for RTC

• μA deep sleep current

• Wake up from GPIO interrupt, timer, ADC measurements, capacitive


touch sensor interrupt
Pin Diagram:

P a g e 21 | 35
4 Resistors:
Resistors are electronic components that resist the flow of electricity in a circuit.
Resistors are used in electric circuits to adjust current and voltage, in much the
same way as faucets are used to adjust the flow of tap water. They can be used
not only to control the flow of current, but also to distribute voltage in a circuit.
Electronic circuits need resistors in order to operate under appropriate
conditions. Resistors are made of materials that resist the flow of electricity as it
passes through them. In this way, they can control the flow of current throughout
a circuit. When current is reduced by a resistor, the surplus electrical energy is
converted into heat.
In this project we uses three resistor one 100 ohm and two 10 kohm.

P a g e 22 | 35
Figure:

5 Capacitor:
A capacitor is a device that stores electrical energy in an electric field. It is
a passive electronic component with two terminals.

Figure:
The effect of a capacitor is known as capacitance. While some capacitance exists
between any two electrical conductors in proximity in a circuit, a capacitor is a
component designed to add capacitance to a circuit. The capacitor was originally
known as a condenser or condensator. This name and its cognates are still widely
used in many languages, but rarely in English, one notable exception being condenser
microphones, also called capacitor microphones.
The physical form and construction of practical capacitors vary widely and
many types of capacitor are in common use. Most capacitors contain at least
two electrical conductors often in the form of metallic plates or surfaces separated
by a dielectric medium. A conductor may be a foil, thin film, sintered bead of metal,

P a g e 23 | 35
or an electrolyte. The nonconducting dielectric acts to increase the capacitor's charge
capacity. Materials commonly used as dielectrics include glass, ceramic, plastic
film, paper, mica, air, and oxide layers. Capacitors are widely used as parts
of electrical circuits in many common electrical devices. Unlike a resistor, an ideal
capacitor does not dissipate energy, although real-life capacitors do dissipate a small
amount (see Non-ideal behavior). When an electric potential difference (a voltage) is
applied across the terminals of a capacitor, for example when a capacitor is
connected across a battery, an electric field develops across the dielectric, causing a
net positive charge to collect on one plate and net negative charge to collect on the
other plate. No current actually flows through the dielectric. However, there is a flow
of charge through the source circuit. If the condition is maintained sufficiently long,
the current through the source circuit ceases. If a time-varying voltage is applied
across the leads of the capacitor, the source experiences an ongoing current due to
the charging and discharging cycles of the capacitor.
The earliest forms of capacitors were created in the 1740s, when European
experimenters discovered that electric charge could be stored in water-filled glass
jars that came to be known as Leyden jars. Today, capacitors are widely used
in electronic circuits for blocking direct current while allowing alternating current to
pass. In analog filter networks, they smooth the output of power supplies.
In resonant circuits they tune radios to particular frequencies. In electric power
transmission systems, they stabilize voltage and power flow. The property of energy
storage in capacitors was exploited as dynamic memory in early digital
computers and still is in modern DRAM(dynamic random-access memory).

Figure:
6.Breadboard:
A breadboard, or protoboard, is a construction base for prototyping of electronics.
Originally the word referred to a literal bread board, a polished piece of wood used

P a g e 24 | 35
when slicing bread. In the 1970s the solderless breadboard (a.k.a. plugboard, a
terminal array board) became available and nowadays the term "breadboard" is
commonly used to refer to these.
Because the solderless breadboard does not require soldering, it is reusable. This
makes it easy to use for creating temporary prototypes and experimenting with circuit
design. For this reason, solderless breadboards are also popular with students and in
technological education. Older breadboard types did not have this property.
A stripboard (Veroboard) and similar prototyping printed circuit boards, which are
used to build semi-permanent soldered prototypes or one-offs, cannot easily be reused.
A variety of electronic systems may be prototyped by using breadboards, from small
analog and digital circuits to complete central processing units

figure

CHAPTER NO-04
4.1 Required Library installation:
1.Blynk Library
Blynk is the most popular Internet of Things platform for connecting any hardware to
the cloud, designing apps to control them, and managing your deployed products at
scale. With Blynk Library you can connect over 400 hardware models including
Arduino, ESP8266 & ESP32 to the Blynk Cloud.
2.Emonlib Library
The Emonlib Library is used for Electricity Energy Meter. EmonLib is a Continuous
Monitoring of Electricity Energy repeats, every 5 or 10s, a sequence of voltage and
current measurements. EemonLib continuously measures in the background the

P a g e 25 | 35
voltage and all the current input channels, calculates a true average quantity for each
and then informs the sketch that the measurements are available and should be read
and processed.
4.2.Setting Up Blynk Application:
Blynk is an application that runs over Android and IOS devices to control any IoT
based application using Smartphones. It allows you to create your Graphical user
interface for IoT application. Here we will display the IoT Energy Meter Data on
Blynk Application.
1. So download and install the Blynk Application from Google Play Store. IOS users
can download from the App Store. Once the installation is completed, open the app &
sign-up using your Email id and Password.
2. From the dashboard create a new project and select ESP32 & Wifi Connection
3. Then drag & drop or add 4 widgets and assign the variable as per code and then
email the authentication code.
4. You will get the authentication code in the mail. Copy this authentication code. This
will be used in your code.

4.3.Source Code:
After Adding the above libraries to the Arduino IDE, you can upload the IoT
Electricity Energy Meter Code to ESP32 Board.
But before that please make changes to the WiFi SSID, Password & Blynk
Authentication Token.
char auth[] = "4Qi16BB6Bh2GPNhL4LNOKey151QOZBXS ";
char ssid[] = "ISMAIL";
char pass[] = "een202009";
The complete code is given below
#define BLYNK_PRINT Serial
#define BLYNK_TEMPLATE_ID "TMPLpGU2x3gy"
#include "EmonLib.h"
#include <WiFi.h>
#include <WiFiClient.h>
#include <BlynkSimpleEsp32.h>

P a g e 26 | 35
EnergyMonitor emon;
#define vCalibration 106.8
#define currCalibration 0.52
BlynkTimer timer;
char auth[] = "4Qi16BB6Bh2GPNhL4LNOKey151QOZBXS ";
char ssid[] = "ISMAIL";
char pass[] = "een202009";
float kWh = 0;
unsigned long lastmillis = millis();
void myTimerEvent() {
emon.calcVI(20, 2000);
Serial.print("Vrms: ");
Serial.print(emon.Vrms, 2);
Serial.print("V");
Blynk.virtualWrite(V0, emon.Vrms);
Serial.print("\tIrms: ");
Serial.print(emon.Irms, 4);
Serial.print("A");
Blynk.virtualWrite(V1, emon.Irms);
Serial.print("\tPower: ");
Serial.print(emon.apparentPower, 4);
Serial.print("W")
Blynk.virtualWrite(V2, emon.apparentPower);
Serial.print("\tkWh: ");
kWh = kWh + emon.apparentPower*(millis()-lastmillis)/3600000000.0;
Serial.print(kWh, 4);
Serial.println("kWh");
lastmillis = millis();
Blynk.virtualWrite(V3, kWh);
}

P a g e 27 | 35
void setup() {
Serial.begin(9600);
emon.voltage(35, vCalibration, 1.7); // Voltage: input pin, calibration, phase_shift
emon.current(34, currCalibration); // Current: input pin, calibration.
Blynk.begin(auth, ssid, pass);
timer.setInterval(5000L, myTimerEvent);
}
void loop() {
Blynk.run();
timer.run();
}

P a g e 28 | 35
Circuit Diagram and Hardware Setup:

Now here circuit diagram and hardware set up of IoT Based Electrical Parameter Monitoring System
of Home Appliances using ESP32.

P a g e 29 | 35
The connection diagram is very simple. Both the Sensor, i.e. ZMPT101B Voltage Sensor and SCT-
013 Current Sensor VCC is connected to with ESP32 to vin which is a 5V Supply. The GND pin of
both the sensor is connected to the GND of ESP32. The GPIO35 of ESP32 is connected output
analog pin of the ZMPT101B Voltage Sensor. Similarly, GPIO34 of ESP32 is connected the output
analog pin of SCT-013 Current Sensor. You need a one resistor of 100 ohms & a two resistor
of 10k connected along with a Capacitor 10 mf. Apart from the circuit part, the AC wires where
the current and voltage needs to measure are connected to the input AC Terminal of Voltage Sensor.
Similarly, the current sensor clip doesn’t have any connection and a single live wire or neutral wire is
inserted inside the clip part as shown in the above circuit

P a g e 30 | 35
P a g e 31 | 35
CHAPTER NO-05

5.1. PROPOSED SYSTEM:


The proposed system shown in figure consists of circuit that has a power supply,
Current Sensor, Voltage Sensor, Resistor, Capicator, ESP32, LCD and LOAD with
IoT service. The each component is explained already here.

5.2. FUTURE SCOPE AND CONCLUSION:

P a g e 32 | 35
Here the proposal of the project work is discussed. The architecture of the working
principle of wireless electrical load monitoring for home appliances are developed.
This entire work will be materialized in future to developed a smart plug with
which when any electrical device will be connected then its information will be
wirelessly send to the user’s smart phone. From the smart phone using the
monitoring application the user can monitor the status of home appliances.

5.3. REFERENCES:
1. V. Amrutha, Bandaru Ramya, k s s Venkata Yashwanth, Shaik Hafeez,
Talluri Kusumitha,
D.Sirisha, IoT based energy meter with current, voltage and cost monitoring
system, IJRECE VOL.7 ISSUE 2 APR-JUNE 2019.
2. Rumpa Saha, jitendra Bera, Gautam Sarkar, sumana Chowdhuri, anish
Deb, A simplified state-of-the-art sample shifting technique for microcontr-
oller based single phase power meserment, Meserment 58(201 459-467).
3. Birendra Kumar Sahani ,Tejasree Ravi, Akibjaved Tamboli, Ranjeet Pisal,
IoT based smart energy meter,IRJET VOL-04,APR-2017.
4. B.Sujatha, N.Aanani, P.Harshini, M.Vaishnavi, Energy moitoring system
using IoT technology,vol 8,issue 4 apr 2020.
5. Harasha Khandel,Suchitra Pandey, D.Reynolds,IoT based power
consumption monitoring and controlling system.vol-5,issue:07 july2018.
6. Rumpa Saha,Jitendra N.Bera & Gautam Sarkar, an improved methode for
load toxonomy using sample shifting techniqueand signature analysis,
ISSN:1532-5008,published online 04 mar 2019.
7. A. Syed Mustafa, Soumya Shree, Afreen Bokhari, P Anitha, S.Babitha,
Nadiya Sayedi,IoT based smart talking energy meter. IJRESM,VOL-
02,ISSUE-04,April-2019.
8. Mr.U.V.Kute, Manisha Ghode, Yashoda Dalvi, Energy meter monitoring
over IoT.IRJET, VOL:08,ISSUE:01 JAN 2021.

P a g e 33 | 35
9. Md.Jakaria Islam Mozumder, Surojit Ghosh, IoT based automatic electricity
monitoring and remote load control system using PIC8F4550,IISC,JULY
10-12,2018.
10. Soumyajit Ghosh, Arunava Chatterjee and Debasish Chatterjee, A Smart IoT
based Non Intrusive appliances identification technique in residential
system, IEEE, MAY 24,2020.
11. H. Luan and J. Leng, "Design of energy monitoring system based on IOT," 2016 Chinese Control
and Decision Conference (CCDC), 2016, pp. 6785-6788, doi: 10.1109/CCDC.2016.7532219.
12. S. K. S. Gunturi and M. S. K. Reddy, "IoT Based Domestic Energy Monitoring Device," 2018 3rd
International Conference for Convergence in Technology (I2CT), 2018, pp. 1-4, doi:
10.1109/I2CT.2018.8529756.
13. U. Ramani, S. S. kumar, T. Santhoshkumar and M. Thilagaraj, "IoT Based Energy Management
for Smart Home," 2019 2nd International Conference on Power and Embedded Drive Control
(ICPEDC), 2019, pp. 533-536, doi: 10.1109/ICPEDC47771.2019.9036546.
14. A. Othman and N. H. Zakaria, "Energy Meter based Wireless Monitoring System using Blynk
Application via smartphone," 2020 IEEE 2nd International Conference on Artificial Intelligence in
Engineering and Technology (IICAIET), 2020, pp. 1-5, doi: 10.1109/IICAIET49801.2020.9257827.

15. M. H. Yaghmaee and H. Hejazi, "Design and Implementation of an Internet of Things Based
Smart Energy Metering," 2018 IEEE International Conference on Smart Energy Grid Engineering
(SEGE), 2018, pp. 191-194, doi: 10.1109/SEGE.2018.8499458.

16. B. N. Rao and R. Sudheer, "Energy Monitoring using IOT," 2020 International Conference on
Inventive Computation Technologies (ICICT), 2020, pp. 868-872, doi:
10.1109/ICICT48043.2020.9112426.

17. O. Andrei, S. Ungureanu, A. Miron and A. C. Cziker, "IoT power monitoring device using Wi-fi and
Arduino," 2021 9th International Conference on Modern Power Systems (MPS), 2021, pp. 1-6,
doi: 10.1109/MPS52805.2021.9492651.

18. M. O. Agyeman, Z. Al-Waisi and I. Hoxha, "Design and Implementation of an IoT-Based Energy
Monitoring System for Managing Smart Homes," 2019 Fourth International Conference on Fog
and Mobile Edge Computing (FMEC), 2019, pp. 253-258, doi: 10.1109/FMEC.2019.8795363.

19. J. Deny, A. B. Narasimha, R. G. Vardhan Reddy and S. Sathish, "Electricity Monitoring And Auto
Bill Generation Using IOT," 2021 3rd International Conference on Signal Processing and
Communication (ICPSC), 2021, pp. 695-698, doi: 10.1109/ICSPC51351.2021.9451738.

20. S. Thakare, A. Shriyan, V. Thale, P. Yasarp and K. Unni, "Implementation of an energy


monitoring and control device based on IoT," 2016 IEEE Annual India Conference (INDICON),
2016, pp. 1-6, doi: 10.1109/INDICON.2016.7839066.

P a g e 34 | 35
21. A. Frank, R. Asuncion and M. Frank, "Smart Optimization of Energy Consumption using
IoT," 2019 2nd IEEE Middle East and North Africa COMMunications Conference (MENACOMM),
2019, pp. 1-6, doi: 10.1109/MENACOMM46666.2019.8988549.

22. . R. Patil, M. D. Patil and A. T. Khude, "IoT Based Prepaid Energy Meter," 2020 5th International
Conference on Devices, Circuits and Systems (ICDCS), 2020, pp. 17-20, doi:
10.1109/ICDCS48716.2020.243539.

23. V. V. Gavhane, M. R. Kshirsagar, G. M. Kale, S. Katangle, S. B. Deosarkar and S. L. Nalbalwar,


"IoT based Energy Meter with Smart Monitoring of Home Appliances," 2021 6th International
Conference for Convergence in Technology (I2CT), 2021, pp. 1-5, doi:
10.1109/I2CT51068.2021.9417886.

24. M. M. Haque, Z. H. Choudhury and F. M. Alamgir, "IoT Based Smart Energy Metering System for
Power Consumers," 2019 2nd International Conference on Innovation in Engineering and
Technology (ICIET), 2019, pp. 1-6, doi: 10.1109/ICIET48527.2019.9290661.

25. N. Ahmad, I. S. Mohd Yusof, N. Ezan Abdullah, N. F. Jamaludin, D. Kamaruzzaman and N.


Anuar, "The Development of Smart Home Energy Monitoring System," 2021 IEEE 12th Control
and System Graduate Research Colloquium (ICSGRC), 2021, pp. 293-298, doi:
10.1109/ICSGRC53186.2021.9515294.

26. www.Wikipedia.org

27. www.youtube.com

• The ope

P a g e 35 | 35

You might also like