You are on page 1of 5

2023 9th International Conference on Advanced Computing and Communication Systems (ICACCS)

Design and Implementation of IoT based Energy


Efficient Smart Metering System for Domestic
2023 9th International Conference on Advanced Computing and Communication Systems (ICACCS) | 979-8-3503-9737-6/23/$31.00 ©2023 IEEE | DOI: 10.1109/ICACCS57279.2023.10113012

Applications
N. Ashokkumar V. Arun S. Prabhu
Department of Electronics and Department of Electrical and Department of Electrical and
communication Engineering, Electronics Engineering Electronics Engineering
Mohan Babu University, Mohan Babu University Mohan Babu University
Tirupati, India Tirupati, India Tirupati, India
ashoknoc@gmail.com varunpse@yahoo.com prabhutajmahal6@gmail.com

V. Kalaimagal Dhamodharan Srinivasan B. Shanthi


RLE Motors Pvt.Ltd, Department of Computer and Centralized Instrumentation and
Tamilnadu, Iindia communication Engineering service lab
v.kalaimagal18@gmail.com Sri Eshwar College of Annamalai University
Engineering, Tamilnadu, India
Coimbatore, India au_shan@yahoo.com
dhamu20@gmail.com

Abstract—The aim of this paper is to develop a new apart from population in growing electricity needs are,
energy meter which can communicate with our phones so there are energy thefts everywhere in India, there is no
customers can know the units consumed time-to-time, bill time-to-time information between supply and demand, the
amount need to pay and also gives warning if the energy consumers are not aware of efficient use of energy,
consumed per month crossed our predetermined value. This
can simply call a smart energy meter and to develop this we
customers operating loads at low power factor. To
need a ESP32 microcontroller, sensors, Wi-Fi module with overcome these issues the customers, need to be aware of
internet connection to communicate with the phone and their energy consumption from time-to-time. This paper
Blynk platform to monitor units consumed and push contains of 6 sections, section 1 deals with Introduction,
warnings in mobile. This can simply be termed as Internet of section 2 deals with proposed methodology, section 3 talks
Things (IoT). This smart energy meter also helps the about hardware implementation, section 4 talks about
electricity department to initiate prepaid recharges for the no software implementation and section 5 talks about
of energy units to be used and can also initiate auto cut off experimental results and last section deals with
power supply to the home when there are no units left in the conclusion. electricity. There is a lack of timely
account and the customer should recharge again to get
supply back to home. This can make customers more control
information on load and demand due to improper
on their consumption and the energy can be saved and the communication.
global environment is saved.
II. PROPOSED SYSTEM
Keywords—Smart meters, Energy consumption, The existing system is a time-consuming process to
Monitoring, IoT, ESP32, Sensors, Blynk application. calculate electricity bills, no prepaid recharges, no alerts
about consumption and cannot determine power theft. So,
I. INTRODUCTION
these disadvantages can be overcome with the proposed
Need of energy is increasing day by day due to system, it tells information about energy consumption
increase in population and industrialization. World wise time-to-time, accurate billing, prepaid recharge, alert
electrical energy consumption in 2019 was 130% more customers on their over consumption and auto cut-off
than in the year 1990. India stands in third place to feature when there are no units left in the customer’s
consume more electrical energy in the world and top account. This can prevent energy wastage and global
places are occupied by china and USA. [1], [2] Although energy savings.
India stood in the third-largest producer, it is not supplying
enough electricity in rural areas, where the irrigation and III. HARDWARE IMPLEMENTATION
farming became difficult for the rural people and making The total project consists of an ESP32 microcontroller
their lives difficult. The electricity demand is growing plays important role in monitoring and controlling energy
higher and higher in each year and India is largely consumption. The ESP32 microcontroller is setup in the
dependent on coal power plants which are becoming kit and coupled with voltage and current sensors and relay.
extinct now. If it continues then by year 2030 India will be Below are the details of the hardware components
a huge shortage of electricity. [3], [4] The main reasons used.[5]-[7]

979-8-3503-9737-6/23/$31.00 ©2023 IEEE

1208
Authorized licensed use limited to: KLE Technological University. Downloaded on April 17,2024 at 06:41:27 UTC from IEEE Xplore. Restrictions apply.
2023 9th International Conference on Advanced Computing and Communication Systems (ICACCS)

A. Microcontroller shown in Fig. 3.

Fig. 3. ZMPT Voltage sensor.

D. Relay

Fig. 1. ESP32 Microcontroller

A microcontroller is built with low power consumption


CMOS technology used to perform embedded systems
tasks like temperature sensing, fire detection etc. The main
parts of the microcontroller are processor, memory, serial
ports, timers and counters. This project contains an
ESP32() microcontroller which is a low cost, low power
consumption and works on 2.4 GHz Wi-Fi. The main
reason to use ESP32 is it have an inbuilt Wi-Fi module
Fig. 4. Relay
and it safe and reliable and weighs less [8 - 10]. ESP32
Microcontroller is shown in Fig. 1. A switching relay is a switch used to disconnect the
B. ACS712 Current sensor circuit from power supply based on a condition using
A current sensor is an electronic device that measures ESP32 microcontroller. It is a electromagnetic switch
the amount of current flows through the load wire. It is can operated both electrically and mechanically [13]. Relay is
measure either with contact or without contact [11]. shown in Fig. 4.
ACS712 current sensor is shown in Fig. 2. IV. SOFTWARE IMPLEMENTATION
Arduino IDE (Integrated Development Environment) –
An open source, official software that was introduced by
Arduino. cc, which is mainly used for developing code,
compiling it, and uploading the developed code to the
Arduino Device. Arduino setup is shown in Fig. 5.

Fig. 2. ACS712 Current Sensor

C. ZMPT101B voltage sensor


A voltage sensor is an electronic device that measures
the amount of voltage across two points. There are two
main types of voltage sensors based on voltage divider
technique they are capacitive type and resistive type
voltage sensor. Mainly used to detect power failure, fault
detection, load sensing [12]. ZMPT Voltage sensor is Fig.5. Arduino setup

1209
Authorized licensed use limited to: KLE Technological University. Downloaded on April 17,2024 at 06:41:27 UTC from IEEE Xplore. Restrictions apply.
2023 9th International Conference on Advanced Computing and Communication Systems (ICACCS)

To turn Arduino IDE for suitable environment to


ESP32, ESP32 module links is required, which is helpful
to run, execute the physical board of ESP32. The two
major links, which supports ESP32 are shown in Fig. 6.

Fig. 8. Blynk application

In the blynk app/website, a dashboard has to create for


the project for monitoring the results provided by the
ESP32 physical board. In the dashboard, voltage and
current, power, bill amount, energy serial monitor and it is
shown in the Fig. 9.

Fig. 6. ESP32 environment setup

Select board: "DOIT ESP32 DEVKIT V1" and add


libraries ZMPT101B to measure voltage values and
ACS712 to measure current values, ESP microcontroller
to calibrate the values current, voltage, bill and energy
calculation and also provides a signal to relay and
notifications to customers. ESP32 microcontroller setup is
shown in Fig. 7.

Fig. 9. Project Dashboard

Fig. 10 is the flowchart for source code


implementation:

Fig.7. ESP32 microcontroller setup

Blynk is an open source IoT platform for building


mobile interfaces that connect with electronic devices to
the internet via Ethernet, Wi-Fi. It is a user-friendly
software available on IOS, android and PC. Mainly used in
applications that require monitoring and controlling via
Wi-Fi such as Fire detection, remote controlling,
temperature sensing etc. Blynk application is shown in Fig. 10. Flow Chart of smart meter function.
Fig. 8.

1210
Authorized licensed use limited to: KLE Technological University. Downloaded on April 17,2024 at 06:41:27 UTC from IEEE Xplore. Restrictions apply.
2023 9th International Conference on Advanced Computing and Communication Systems (ICACCS)

V. EXPERIMENTAL RESULTS The bill amount is calculated based on Andhra Pradesh


Currently we are using Electronic Energy meter in our tariff FY2022-23 for domestic loads. Tariff of domestic
homes, the main disadvantage of this Electronic Energy load (AP state) is shown in Fig. 13.
meter is customers can only know their energy
consumption only at the end of the month by seeing
through the electric bill that is given by a person from
electrical department. In this project paper a smart energy
meter is introduced which helps customers to monitor their
energy consumption anytime anywhere throughout the
month using their mobile by IoT Technology. To create
smart energy meter, need a current sensor, voltage sensor,
a microcontroller to calculate energy consumption, a Wi-
Fi module and an IoT platform to transfer the data to the
mobile. Here used a ESP32 Microcontroller which has
inbuilt Wi-Fi module and used blynk application as IoT
platform which is installed in phone. Prototype kit is
shown in Fig. 11.

Fig 13. Tariff of domestic load (AP state)

VI. CONCLUSION
Due to unaware of their time-to-time consumption
customers end up with high electric bills and also global
Fig. 11. Prototype kit
energy consumption is more. This also effects the
environment in bad way. In this project an efficient way is
If the bill amount is certain percentage of prescribed proposed to manage dynamic power of household energy
values, then a notification is sent to the Gmail, mobile as consumables using IoT using ESP32. The energy
alerts, here we used 75% for alert. When the bill amount consumers can monitor time-to-time energy consumption
crosses the 100% of prescribed values then the relay will and with alerting system and also When the bill amount
turn off the supply to the load (here considered a 100W reaches the prescribed value the code present in the
lamp as load). Blynk IoT platform mobile is shown in Fig. microcontroller triggers the relay to turn off the supply to
12. the load. This helps the customer to reduce their electric
bills and helps saving global energy and fossil fuels.
REFERENCES
[1] M. Usman, M. Rehan and M.shakir, "Design, Implementation, and
Deployment of an IoT Based Smart Energy Management System",
IEEE Access, vol. 9, pp.59649-59664, Apr. 2021.
[2] S Maitra, "Embedded energy meter - a new concept to measure the
energy consumed by a consumer and to pay the bill", Joint
International Conference on Power System Technology and IEEE
Power India Conference, pp. 1-8, 2008.
[3] Barman, Bibek kanti, Yadav, Shiv Nath, Kumar, Shivam, Gope,
sadhan, “IOT Based Smart Energy Meter for Efficient Energy
Utilization in Smart Grid", IEEE 2018 2nd International
Conference on Energy, Power and Environment: Towards Smart
Technology (ICEPE) - Shillong, India.
[4] Sun Qie, Li, Hailong, Ma Zhanyu, Wang, Chao, Campillo, Javier,
Zhang Qi, Wallin, Fredrik, Guo, “A Comprehensive Review of
Smart Energy Meters in Intelligent Energy Networks”. IEEE
Internet of Things Journal, 2015.
[5] Patel, Himanshu K, Mody, Tanish, Goyal, Anshul, “Arduino Based
Smart Energy Meter using IOT”, IEEE 2019 4th International
Conference on Internet of Things, 2019.
Fig. 12. Blynk IoT platform mobile

1211
Authorized licensed use limited to: KLE Technological University. Downloaded on April 17,2024 at 06:41:27 UTC from IEEE Xplore. Restrictions apply.
2023 9th International Conference on Advanced Computing and Communication Systems (ICACCS)

[6] Arun, Vijayakumar, R. Kannan, S. Ramesh, M. Vijayakumar, P. S. modulation approach,” IET Power Electron. 00, 1– 13 (2022).
Raghavendran, M. Siva Ramkumar, P. Anbarasu, and Venkatesa https://doi.org/10.1049/pel2.12429.
Prabhu Sundramurthy. "Review on Li-Ion Battery vs Nickel Metal [10] R. Sarojini, C. Venkataramanan, R. Sudha and S. Ramalingam,
Hydride Battery in EV," Advances In Materials Science and "Design of Intelligent Socket Module for Smart Home Application
Engineering, 2022. https://doi.org/10.1155/2022/7910072. using Internet of Things," 2022 3rd International Conference on
[7] Arun Vijayakumar, Albert Alexander Stonier, Geno Peter, Praghash Smart Electronics and Communication (ICOSEC), 2022, pp. 507-
Kumaresan, Elenor M. Reyes, "A Modified Seven-Level Inverter 511.
with Inverted Sine Wave Carrier for PWM Control", International [11] Thamaraimanalan, T., Mohankumar, M., Dhanasekaran, S.,
Transactions on Electrical Energy Systems, vol. 2022, Article ID Anandakumar, H. Experimental analysis of intelligent vehicle
7403079, 12 pages, 2022. https://doi.org/10.1155/2022/7403079. monitoring system using Internet of Things (IoT) (2021) EAI
[8] V. Arun, Kumar, N.M.G. and Prabaharan, N, “A hybrid reference Endorsed Transactions on Energy Web, vol.8, no.36, pp. 1-5
pulse width modulation technique for binary source multilevel [12] N Ashokkumar, B Kannan, Y Raju, “Smart Farming Field
inverter,” International Journal of Power Electronics and Drive Observation Using Embedded Systems” International Journal of
System, vol. 13, no. 2, pp. 980–987,2022. Electrical Engineering and Technology 11 (4), 2020
[9] Vijayakumar, A., Stonier, A.A., Peter, G., Loganathan, A.K., Ganji, [13] MR A Kavitha1 , N Ashok Kumar, “Automatic Identification of
V, “Power quality enhancement in asymmetrical cascaded
Maritime Boundary Alert System using GPS” International Journal
multilevel inverter using modified carrier level shifted pulse width
of Engineering & Technology 7 (3.1), 20-22, 2018

1212
Authorized licensed use limited to: KLE Technological University. Downloaded on April 17,2024 at 06:41:27 UTC from IEEE Xplore. Restrictions apply.

You might also like