IoT Based Smart Energy Metering With Blynk Application
IoT Based Smart Energy Metering With Blynk Application
Volume 7 Issue 2, March-April 2023 Available Online: www.ijtsrd.com e-ISSN: 2456 – 6470
INTRODUCTION
Energy consumption is a major concern for The central server then processes this data and
households and businesses alike. Rising energy costs generates reports that provide detailed information
and the need to reduce greenhouse gas emissions have about energy consumption. These reports can be
led to the development of smart energy meter systems. accessed by the end-users through a web- based
These systems are designed to monitor and track interface or a mobile application.
energy consumption in real-time, which can help users
Implementation: The IoT-based smart energy meter
identify areas where energy is being wasted and make
system consists of several components, including the
changes to reduce energy consumption.
following:
The smart energy meter system presented in this paper Sensor Module: This module consists of sensors that
is based on IoT technology. The system consists of measure the voltage and current flowing through the
several components, including sensors, a power lines. The data from these sensors is sent to the
microcontroller, a wireless module, and a central microcontroller for processing.
server. The system is designed to be cost-effective, Microcontroller: This module processes the data
easy to install, and user-friendly. The system is also received from the sensor module and sends it to the
scalable, which means that it can be used in both wireless module.
small and large-scale applications.
Wireless Module: This module transmits the data
Design: The IoT-based smart energy meter system is received from the microcontroller to the central server
designed to measure the amount of energy consumed over a wireless network.
by an electrical device or an entire building. The
system uses sensors to detect the amount of electricity Central Server: This module receives the data from
flowing through the power lines and transmits this the wireless module and processes it to generate
data to a central server via a wireless network. reports that provide detailed information about energy
consumption.
@ IJTSRD | Unique Paper ID – IJTSRD55141 | Volume – 7 | Issue – 2 | March-April 2023 Page 814
International Journal of Trend in Scientific Research and Development @ www.ijtsrd.com eISSN: 2456-6470
1. Blynk IoT Application: monthly usage. They also offer real-time consumption
monitoring and allow users to track their electricity
usage and costs.
Advanced Metering Infrastructure (AMI) Meters:
These meters "Smart metering and electricity demand:
Technology, economics, and international experience"
by F. Sioshansi (2011): This book provides an
overview of smart metering technology and its impact
on electricity demand, including the potential
benefits and challenges of smart meters in different
contexts.
Blynk is a platform for building IoT (Internet of "Smart grid and smart meters: A review" by A. Al-
Things) applications that allows you to easily connect Anbari et al. (2014): This paper provides a
hardware devices, such as smart energy meters, to the comprehensive review of smart grid and smart meter
internet and control them remotely using a mobile app technology, discussing the benefits and limitations of
or web interface. With Blynk, you can create custom these technologies, as well as potential applications
interfaces and dashboards that display real-time data for improving energy efficiency and sustainability.
from your smart energy meter, such as energy usage,
costs, and other metrics. "A review of the applications of smart meters in the
power sector" by M. Kuzlu and K. Ermis (2015): This
To create a smart energy meter using Blynk, you will paper provides a detailed review of the applications of
need a compatible hardware device that can measure smart meters in the power sector, including energy
and transmit energy usage data, such as a smart energy management, demand response, and real-time
metering device or a microcontroller connected to a monitoring.
current sensor. You will also need to create a Blynk
account and set up a project that connects your "Consumer engagement with smart energy
hardware device to the Blynk cloud. technologies: Lessons from smart meter trials in the
UK" by C. Hargreaves et al. (2013): This paper
Once your project is set up, you can use the Blynk discusses the results of smart meter trials in the UK,
app or web interface to view real-time data from your focusing on consumer engagement with smart energy
smart energy meter and control it remotely, such as technologies and the impact of these technologies on
setting thresholds for energy usage, receiving energy consumption behavior.
notifications when usage exceeds a certain limit, or
turning off appliances remotely to save energy. Blynk "Smart meters: An assessment of the global market"
also provides analytics and data visualization tools by S. Alumni et al. (2017): This paper provides an
that can help you monitor and optimize your energy overview of the global smart meter market, discussing
usage over time the drivers and barriers to adoption, as well as the
potential impact of smart meters on energy efficiency
EXISTING SMART ENERGY METER and sustainability.
TECHNOLOGY IN INDIA:
Smart energy meter technology is being widely Overall, the existing literature on smart energy meters
adopted in India as a means of monitoring and provides valuable insights into the potential benefits
managing energy consumption. The government of and challenges of these technologies, as well as their
India has set a target of installing 250 million smart impact on energy consumption, policy, and regulation.
meters in the country by 2025, and various state AIM AND OBJECTIVES OF SMART ENERGY
electricity distribution companies have already started METER:
implementing smart metering solutions. The aim of a smart energy meter is to monitor and
There are several types of smart energy meters measure energy consumption in real-time and provide
available in India, including: consumers with information about their energy use to
Prepaid Smart Meters: These meters are designed to promote more efficient and sustainable energy
work on a prepaid basis and require users to pay in practices. The main objectives of smart energy meters
advance for their electricity usage. They offer benefits can vary depending on the context and goals of the
such as real-time consumption monitoring and alerts particular project or system, but here are some
for low balance. common objectives:
Postpaid Smart Meters: These meters work on a Accurate measurement of energy consumption: Smart
postpaid basis, where users are billed based on their energy meters aim to provide accurate and reliable
@ IJTSRD | Unique Paper ID – IJTSRD55141 | Volume – 7 | Issue – 2 | March-April 2023 Page 815
International Journal of Trend in Scientific Research and Development @ www.ijtsrd.com eISSN: 2456-6470
measurements of energy consumption, which can help 1. Primary Current Rating: SC-013 has a primary
consumers understand their energy use and make current rating of up to 20 A, meaning it is
more informed decisions about how to reduce their designed to measure AC currents up to 20 amps.
energy consumption and costs. 2. Secondary Current Rating: The secondary current
Real-time monitoring and feedback: Smart energy rating of SC-013 is 5A, which means it produces
meters can provide real-time monitoring and feedback a 5A output signal proportional to the measured
on energy consumption, allowing consumers to see primary current.
how much energy they are using and identify 3. Frequency Range: The frequency range of SC-
opportunities for energy savings. 013 is 50-60 Hz, which makes it suitable for use
Improved energy efficiency: Smart energy meters can in most standard electrical power systems.
help consumers and businesses identify areas of 4. Accuracy Class: The accuracy class of SC-013 is
energy waste and inefficiency, allowing them to take 1.0, which means it has an accuracy of ±1% of the
action to reduce energy use and costs. rated current.
Demand response and load management: Smart 5. Burden: The burden of SC-013 is 2.5 VA, which
energy meters can enable demand response and load means it can handle a maximum load of 2.5 volt-
management programs, which can help to balance amperes at the secondary side.
energy supply and demand, reduce peak demand, and
avoid power outages. 6. Insulation Level: SC-013 has an insulation level
of 1 kV, which means it can safely operate at a
Integration with renewable energy sources: Smart voltage of up to 1000 volts.
energy meters can enable the integration of renewable
energy sources such as solar and wind power, allowing 7. Physical Dimensions: SC-013 has a compact and
consumers to generate their own energy and sell lightweight design, with a diameter of 13 mm and
excess energy back to the grid. a length of 13 mm. It has a split-core
construction, which allows it to be easily installed
Improved billing and payment systems: Smart energy on existing electrical wiring without the need for
meters can enable more accurate and transparent rewiring or interrupting the circuit.
billing and payment systems, allowing consumers to
pay for the energy they use rather than estimated bills 8. Overall, SC-013 is a reliable and accurate current
based on historical consumption. transformer suitable for a wide range of
applications in electrical power systems,
Overall, the aim and objectives of smart energy meters including energy management, power monitoring,
are to promote more efficient, sustainable, and cost- and protection.
effective energy practices, while improving the
reliability and efficiency of the energy system as a 2. ZMPT101B VOLTAGE SENSOR:
whole.
HARDWARE EQUIPMENT:
1. SC – 013 CURRENT TRANSFORMER:
@ IJTSRD | Unique Paper ID – IJTSRD55141 | Volume – 7 | Issue – 2 | March-April 2023 Page 816
International Journal of Trend in Scientific Research and Development @ www.ijtsrd.com eISSN: 2456-6470
3. Frequency Range: The frequency range of 4. GPIO: ESP32 has 34 GPIO pins, which can be
ZMPT101B is 50-60 Hz, which makes it suitable used for digital input/output, PWM, and other
for use in most standard electrical power systems. functions.
4. Accuracy Class: The accuracy class of 5. Analog Input: ESP32 has 18 analog input pins,
ZMPT101B is 1.0, which means it has an with a resolution of up to 12 bits.
accuracy of ±1% of the rated voltage. 6. Peripherals: ESP32 has a range of peripheral
5. Phase Shift: The phase shift of ZMPT101B is less interfaces, including UART, SPI, I2C, I2S,
than 2 degrees, which ensures accurate SD/MMC, and CAN.
measurement of AC voltages. 7. Power Consumption: ESP32 has low power
6. Insulation Level: ZMPT101B has an insulation consumption, with various power modes to
level of 2.5 kVAC, which means it can safely conserve energy.
operate at a voltage of up to 2500 volts. 8. Operating Voltage: ESP32 operates on a voltage
7. Physical Dimensions: ZMPT101B has a compact range of 2.2V to 3.6V.
and lightweight design, with a diameter of 1.5 cm 9. Development Environment: ESP32 can be
and a height of 2.2 cm. It has a built-in voltage programmed using the Arduino IDE,
divider circuit and can be easily connected to MicroPython, or other programming languages.
microcontrollers or other digital devices.
10. Overall, ESP32 is a powerful and versatile
8. Overall, ZMPT101B is a reliable and accurate microcontroller chip that can be used for a wide
voltage sensor suitable for a wide range of range of IoT applications, including smart energy
applications in electrical power systems, meters, home automation, and industrial control
including energy management, power monitoring, systems.
and protection
SOFTWARE REQUIREMENT:
3. ESP32 MICROCONTROLLER WITH 1. ARDUINO IDE SOFTWARE:
SPECIFICATION: Arduino IDE (Integrated Development Environment)
is a software application that is used to write and
upload code to Arduino microcontrollers. It is an
open-source platform that is available for free and can
be downloaded from the Arduino website. Arduino
IDE provides a user-friendly interface for writing and
editing code, and it includes a range of features such
as syntax highlighting, auto-complete, and serial
monitor. It supports various programming languages
including C, C++, and Arduino's own programming
language.
Using the IDE, you can write, compile, and upload
code to Arduino boards, as well as access a range of
libraries and examples to help you get started with
your project. The software also includes a serial
ESP32 is a microcontroller chip designed for IoT monitor that allows you to interact with the
applications. Here are some of its specifications: microcontroller and view data output in real- time.
Overall, the Arduino IDE is a powerful and user-
1. Processor: ESP32 is based on a dual-core Ten friendly software tool that is essential for anyone
silica Xtensa LX6 processor, with a clock working with Arduino microcontrollers. It enables
frequency of up to 240 MHz easy and efficient development of code for Arduino-
2. Memory: ESP32 has 520KB SRAM and 448KB based projects, making it a popular choice for
ROM, along with 4MB flash memory for program hobbyists and professionals alike.
storage. 2. EMON LIBRARY ARDUINO IDE:
3. Connectivity: ESP32 supports Wi-Fi 802.11 The Emon library is a collection of functions for
b/g/n and Bluetooth v4.2 BLE. It also has a built- Arduino IDE that enables energy monitoring and
in Ethernet MAC with dedicated DMA. management using open- source hardware and
software. It was originally developed for the EmonPi
@ IJTSRD | Unique Paper ID – IJTSRD55141 | Volume – 7 | Issue – 2 | March-April 2023 Page 817
International Journal of Trend in Scientific Research and Development @ www.ijtsrd.com eISSN: 2456-6470
energy monitoring system but can be used with other versatile tool that simplifies the process of building
Arduino-based energy monitoring projects. IoT applications using Arduino-based hardware and
the Blynk cloud platform. It enables easy
The Emon library provides functions for measuring
communication and control between Arduino boards
AC voltage and current using current transformers
and the cloud, making it a popular choice for
(CTs) and AC-AC power adapters. It also includes
hobbyists and professionals alike.
functions for calculating real- time power, energy, and
other electrical parameters. The library uses digital Working
signal processing techniques to measure and calculate
accurate values of voltage, current, and power.
The library includes several examples that
demonstrate how to use the Emon functions to create
energy monitoring projects. These examples cover a
range of applications, including home energy
monitoring, solar power monitoring, and energy-
efficient appliance control.
The Emon library is open-source and can be
downloaded from the Arduino library manager or the
Emon library GitHub repository. It is compatible with
a range of Arduino boards, including the Arduino
Uno, Mega, Nano, and ESP8266.Overall, the Emon
library is a powerful and versatile tool that simplifies
the process of energy monitoring and management Fig 1 Circuit diagram of Smart Energy Meter
using Arduino-based hardware and software Connection: 5V DC Supply/Adapter is Connected to
3. BLYNK LIBRARY ARDUINO IDE: VCC and GND Pins of ESP32 controller, voltage
The Blynk library for Arduino IDE is a collection of sensor(ZMPT101B) and (SCT-013-030) Current
functions and tools that enable easy communication sensor. The output pin of the voltage sensor is
between Arduino microcontrollers and the Blynk IoT connected to digital pin GPI035 and Current sensor
platform. Blynk provides a range of tools and services output pin is connected to digital pin GPI034. To the
for building IoT applications, including a cloud-based input of voltage sensor 230V, single phase Ac supply
platform, mobile apps, and a range of hardware and is applied. Current sensor is connected to the phase
software components. wire of the AC load. Also, two 10k resistors and a
single 100 ohm resistor, along with a Capacitor of
The Blynk library for Arduino IDE provides
10uF required to Complete the circuit.
functions for connecting Arduino boards to the Blynk
cloud platform, sending and receiving data, and When 5V DC supply / Adapter is turned ON it will
controlling virtual pins. The library includes a range power the ESP32 Controller, Once power ON ESP
of examples that demonstrate how to use Blynk 32 controller will search for the nearby available Wifi
functions to create IoT applications, including home network/ Mobile Hotspot. We need to turn on the
automation, smart energy management, and industrial Wifi / Hotspot network that is uploaded in the code,
control systems. Blynk also provides a mobile app the controller will then get Connected to the Wifi
that can be used to control and monitor your Arduino- network. To monitor the energy consumption of the
based IoT applications. The app includes a range of load Connected, Go to Blynk Application on your
widgets, including buttons, sliders, and gauges, that mobile or Goto Blynk web Dashboard; Initially as a
can be used to interact with your devices and display hardware circuit is turned ON, the meter will show
real-time data. its peak value and the meter will take a few
minutes for stabilizing the web server. Now turn On
The Blynk library for Arduino IDE is open-source and
the load Connected.
can be downloaded from the Arduino library manager
or the Blynk library GitHub repository. It is Let's take an example for this: If the load connected is
compatible with a range of Arduino boards, including of 200W This meter will show 80% -
the Arduino Uno, Mega, Nano, and ESP8266.Overall, 90%approximate value of voltage current and power
the Blynk library for Arduino IDE is a powerful and consumption of the load.
@ IJTSRD | Unique Paper ID – IJTSRD55141 | Volume – 7 | Issue – 2 | March-April 2023 Page 818
International Journal of Trend in Scientific Research and Development @ www.ijtsrd.com eISSN: 2456-6470
Working Model and Video Link of Project: 7. Industrial: The smart energy meter system can be
used in industrial application to monitor the
consumption and reduce the waste
CONCLUSION:
The smart energy meter system is an innovative
technology that can help users reduce their energy
bills, improve energy efficiency, and monitor energy
consumption in real-time. With its many advantages
and potential applications, the smart
The energy meter system has the potential to
revolutionize the way we use and consume energy.
FUTURE SCOPE:
This is the 21st century and there is no space for
errors or faults either in any technical system or in
general applications. Prepaid energy meters are a
beneficial concept for the future. It’s facilitating the
remission from electricity bills. Electricity vouchers
will be available at nearby shops. The word prepaid
Fig 2 Smart Energy Meter compact size model means “pay before use” . One of the beneficial
features of this concept prepaid energy meter is used
Video link:
to prepaid the current supply of electricity to homes,
https://drive.google.com/file/d/14Hc4uz1EKw-
offices etc.
0_SQkdA3BsJrJODC7ltwS/view?usp=drivesdk
REFERENCE ON IOT BASED SMART
ADVANTAGES:
ENERGY METER:
The smart energy meter system has several
[1] Here are some references on IoT-based smart
advantages, including the following:
energy meters: "Smart Energy Meter Based on
1. Improved energy efficiency: By monitoring IoT" by Ayush Kumar Singh, Shivam Sharma,
energy consumption in real-time, the smart and Vivek Singh. International Journal of
energy meter system can help users identify areas Advanced Research in Computer Science, vol.
where energy is being wasted and make changes 8, no. 5, 2017.
to reduce energy consumption.
[2] "IoT-Based Smart Energy Management
2. Cost savings: The smart energy meter system can System for Residential International
help users reduce their energy bills by providing Conference on Advanced Computing &
detailed information about energy consumption Communication Systems (ICACCS),
and identifying areas where energy is being Coimbatore, India, 2019.
wasted.
[3] "IoT Based Smart Energy Meter for Efficient
3. Remote monitoring: The smart energy meter Energy Management in Homes" by R. K. Singh
system can be monitored remotely, which means and A. Kumar. 2018 International Conference
that users can access real- time data about their on Power, Instrumentation, Control and
energy consumption from anywhere in the world. Computing (PICC), Thrissur, India, 2018.
4. Potential Applications: The smart energy meter [4] "A Review on IoT-based Smart Energy
system has several Monitoring and Management System" by P. S.
5. potential applications, including the following: Balamurugan and S. S. Priyadarshini. 2018 2nd
Residential: The smart energy meter system can International Conference on Inventive Systems
be used in residential buildings to monitor energy and Control (ICISC), Coimbatore, India, 2018.
consumption and reduce energy bills. [5] "Design and Implementation of IoT-Based
6. Commercial: The smart energy meter system can Smart Energy Meter" by M. D. M. N.
be used in commercial buildings to monitor Dissanayake, T. A. I. U. De Silva, and S. S.
energy consumption and improve energy Seneviratne. 2019 6th International Conference
efficiency. on Electrical and Electronics Engineering
(ICEEE), Bangkok, Thailand, 2019.
@ IJTSRD | Unique Paper ID – IJTSRD55141 | Volume – 7 | Issue – 2 | March-April 2023 Page 819