Project Report of Smart Energymeter Using Iot
Project Report of Smart Energymeter Using Iot
CHAPTER 1
INTRODUCTION
So it requires much of manual work and consumes time. In order to avoid all these
drawbacks we have intended to construct an IoT based energy meter. So the proposed
energy meter measures the amount of power consumed and uploads it to cloud, from which
the concerned person can view the reading. The power reading is sent to cloud using
ESP8266, a Wi-Fi module. The power reading from Analog wattmeter is read using the
optocoupler and transmitted digitally with the ESP8266. So it automates the process of
measuring the power consumption at homes using IoT and thereby enabling remote access
and digitalization.
1.2 OBJECTIVES
Today the world is facing such an environment that offers challenges. Energy crisis is the main
problem faced by our society. A relevant system to control and monitor the power usage is one
of the solutions for this problem. One approach through which today‟s energy crisis can be
addressed is through the reduction of power usage in households. , a person from the Electricity
board should visit each and every house to note down the power reading and to calculate the bill
amount.
project is designed in such a way to overcome all the above hindrances caused by the former
mechanisms of measuring power.
1.3 SCHEME
Here the power reading is uploaded to cloud using ESP 8266. It is an UART (Universal
Asynchronous Receiver/Transmitter) to Wi-Fi module which allows microcontrollers to
connect to a Wi-Fi and make simple TCP/IP connections using AT commands. ESP 8266 is
an impressive, low cost Wi-Fi module suitable for adding Wi- Fi functionality to an existing
microcontroller. It is one of the leading platforms for IoT (Internet of Things).
CHAPTER 2
LITERATURE SURVEY
For Communication to the server many options are there as wireless or wired such as cable
networks, and the different GSM modules, which is known researchers. Different Countries
Trying to implement this idea. From the different papers we have different researcher work
regarding our new concept.In paper [1] (2014) Pradip Kulkarni and Manisha Shinde has publish
a paper on automation of electricity billing process in that new architecture that the electricity
board has manual process and to remove that process they introduced a module in which data is
gather from the energy, water and devices and transfer to the centralized station from the billing
purpose.
The data is collected using single camera, with means the camera is placed in front of
the meter of the everyone‟s house and the camera will capture image of meter and server will
directly fetch that data from the each house, so that human interaction is totally avoided. ARM7-
LPC 2138 is used as the interface between the devices. After that the image will reach to server
and undergoes the different processing through Mat lab, so that the every month reading is stored
in the database of the electricity board.
So the technology used in this paper was image segmentation and the AMR, zigbee, so
that advantages of this technology was this technology is used properly, and the disadvantages
for this architecture was that it is costly. In paper[2](2015) R.G.Yadawad has publish on
intelligent electricity billing and the maintenance system in which new way of billing process
there was many errors in the different models which were introduced earlier so in this paper the
model used was through mobile agents.
This Paper tells us about the how the new architecture is more feasible using mobile
agents. The proposed model of this model consists of the server, digital meter, and smartcard,
software agents, PLCC and directly sync with the bank account. The server is used as a central
entity which supports overall activities of the system. The main works of the server is to
maintain the central database of the electric board with includes the user information and their
smart cards information. Bank account is directly sync in the database to the user account.
Digital meter is installed to the users‟ house as it will work as an embedded system that Is consist
of the processor, which will work such as user functionalities, communication with the servers
and the power supply. Smart cards are provided by the electric board and the smart card contains
1.unique Identification number and Bank Information.
Or in another way user may also pay by cash or the mobile phones. The technology
used in this model is IOT, and the advantage by using this architecture is the mobile networks
and the fast way for processing of the bill, and as mobile networks are using it requires more
mobile towers to communicate which will also increase the cost this is disadvantage of the this
model. In paper [3] (2014) Nidhi Gaur has publish on Prepaid electricity Billing Machine using
FPGA, this paper shows the advancement of the technology.
This paper includes PEBM Design implementation with description, Flow chat
and FSM. How the results are on the Xilinx Spartan6 FPGA Device is explained, it also
explained the design specification over Power Supply, total current, logic utilization and the
memory and timing information.
CHAPTER 3
COMPARISON BETWEEN EXISTING AND PROPOSED
SYSTEM
The Electricity Board have got used to the manual process and they go along with it even though
there are many concerns coupled with it. Because of the human errors after getting faulty bill, it
is problem of user to get it corrected from the energy supply board. In that case customer has to
stopover the office, stand in a queue and get it corrected. The problem is just because of human
intervention.
Since IoT is cost effective compared to SMS, monitoring of energy meters at lower cost is made
possible. Daily consumption reports are generated which can be monitored through web portal.
The current system of electrical energy billing is erroneous and also time consuming. Errors
introduced at every stage are due to electro -mechanical meters, human errors while noting down
the meter reading. This Project reduces the deployment of manpower for taking meter readings.
It has many advantages from both suppliers as well as consumer‟s point.
Smart Meter Reading. A device which remotely obtain meter readings and transmits this data to
the system‟s computer via communication media such as IOT(Internet communication module)
This devices can detect outages, remotely connect and disconnect services, detects tampering as
well as other uses. Economic benefits include increased cash flow, lower Labour and equipment
cost, increased accuracy and lower costs. Some customer satisfaction benefits include improved
service quality, more customer choices and faster response time
CHAPTER 4
METHEDOLOGY
Fig 4.1: Block Diagram Representation of IoT Based Smart Energy Meter
Energy meter or watt-hour meter is an electrical instrument that measures the amount of
electrical energy used by the consumers. Utilities is one of the electrical departments, which
install these instruments at every place like homes, industries, organizations, commercial
buildings to charge for the electricity consumption by loads such as lights, fans, refrigerators and
other home appliances. Energy meter measures the rapid voltage and currents, calculate their
product and give instantaneous power. This power is integrated over a time interval, which gives
the energy utilized over that time period.
This high quality, single phase electronic watt-hour meter features LSI and SMT technology to
offer reliable operation in strict scientific aging test, debugging process and management
methods with sustained accuracy. It is used to measure and monitor electrical energy in single
phase environments such as in both indoor and outdoor. Tamper proof meter has magnetic
shielding to provide optimum resistance to surge and provides LED indication for current
reversal tampering as well as phase availability. Low power consuming meter comes with flame
retardant, durable polycarbonate enclosure that provides high resistance to UV and high impact.
The ESP8266 is a very user friendly and low cost device to provide internet connectivity to your
projects. The module can work both as a Access point (can create hotspot) and as a station (can
connect to Wi-Fi), hence it can easily fetch data and upload it to the internet making Internet of
Things as easy as possible.
It can also fetch data from internet using API‟s hence The project could access any
information that is available in the internet, thus making it smarter. Another exciting feature of
this module is that it can be programmed using the Arduino IDE which makes it a lot more user
friendly.
IOT Projects
Access Point Portals
Wireless Data logging
Smart Home Automation
Learn basics of networking
Portable Electronics
Smart bulbs and Sockets
NodeMCU has general purpose input output pins on its board as shown in above pinout
diagram. We can make it digital high/low and control things like LED or switch on it.
Also, we can generate PWM signal on these GPIO pins.
NodeMCU based ESP8266 has two UART interfaces, UART0 and UART1. Since
UART0 (RXD0 & TXD0) is used to upload firmware/codes to board, we can‟t use them
in applications while uploading firmware/codes.
4.3 WEBPAGE (HTML): We designed webpage for operating Arduino and Energy Meter with
the help of HTML. HTML stands for Hypertext Markup Language. It is a standard markup
language for creating web pages and web applications with Cascading Style Sheets (CSS) and
JAVA scripts it forms a triad of cornerstone technologies for World Wide Web. Web browser
receives HTML documents from a Webserver or from local storage and renders them into
multimedia web pages.
HTML describes the structure of web page semantically and originally included cues for the
appearance of the document. HTML elements are the building blocks of HTML pages.
Signing up for ThingSpeak and connecting esp8266 Wi-Fi module with Wi-Fi.
Sending meter readings to ThingSpeak.
An LCD is made with either a passive matrix or an active matrix display display grid. The active
matrix LCD is also known as a thin film transistor (TFT) display. The passive matrix LCD has a
grid of conductors with pixels located at each intersection in the grid.
A current is sent across two conductors on the grid to control the light for any pixel. An
active matrix has a transistor located at each pixel intersection, requiring less current to control
the luminance of a pixel. For this reason, the current in an active matrix display can be switched
on and off more frequently, improving the screen refresh time (your mouse will appear to move
more smoothly across the screen, for example).
Some passive matrix LCD's have dual scanning, meaning that they scan the grid twice with
current in the same time that it took for one scan in the original technology. However, active
matrix is still a superior technology.
The LCD only displays a text output however this is a user interface for display information
about battery power or distance to an object.
The nominal operating voltage for LED backlights is 5V at full brightness, with dimming at
lower voltages dependent on the details such as LED color. Non-LED backlights often require
higher voltages.
CHAPTER 5
WORKING
Here we have interfaced electricity energy meter with ESP8266 using the pulse LED
(Calibration or Cal) of electricity Energy meter. The pulse LED can connect to ESP8266 through
an Optocoupler IC.
When we power up the system microcontroller reads the how many times pulse LED will blink
in a minute using following equation.
Then we need to calculate Power factor of a single pulse, means how much electricity will be
consumed in one pulse:
Power Factor=watt/(hour*pulse)
Using this power factor, we can calculate the no of units consumed by devices and then generate
bill. Generated bill can be send to the customer server account and to the electricity board
through wifi module. These data can also send to the LCD display connected to the ESP8266.
CHAPTER 6
ARCHITECHURAL MODEL
1. When the various appliances of the household consume energy the energy meter reads
the reading continuously and this consumed load can be seen on meter.
2. We can see that the LED on meter continuously blinks which counts the meter reading.
Based on
3. The blinking, the units are counted. Normally, 3200 blinks is one unit.
4. In our project we are trying to develop, a system in which ESP8266 act as main
controller, which continuously monitor energy meter.
5. As per the blinking of LED on energy meter the ESP8266 will measure the unit
consumption.
6. The measured reading with the calculation of the cost will be continuously displayed on
web page that we have designed.
7. Threshold value can be set on webpage with the help of Wi-Fi, as per the consumer‟s
requirement. When the consumers reading will be near about to the set threshold value it
will send a notification value to the consumer.
8. This threshold value notification will increase the awareness amongst the consumer about
the energy.
9. When the consumer gets the notification he can visit the webpage and change the
threshold value.
10. If the consumer is not aware with the threshold notification, then the meter will
automatically get off. Then the consumer has to visit the webpage again and increment
the threshold value. By the incrementation, the meter will automatically get ON.
11. Finally the overall monthly bill with cost will be sent to customer as well as service
provider in the form of text at first day of every month.
CHAPTER 5
Our system does not contain very vast and difficult calculations .Usually different meters have
different readings .Some have,
In our case 3200 blinks of LED is 1 unit. But for practical purpose ,Assumption we made in our
system,
Basically,
If units reach,
Notification will be send to consumer, if consumer doesn‟t react and increase the threshold value
then meter will automatically get OFF.
Again to turn it ON consumer has to visit webpage again to increase threshold value.
UNIT:
Normally, basic unit of electricity is Kilowatt -hour (KWh).
1kWh = 1000 watt for 1 hour.
Example,
Ten 100watt bulbs used for 1 hour gives 1kWh
CHAPTER 6
SOFTWARE SIDE PROGRAM
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ThingSpeak.h>
#include <LiquidCrystal_I2C.h>
#include <EEPROM.h>
int addr = 10;
int called = 14;
int Switch=12;
float unit;
float value3;
float value1;
float value2;
int val1;
int val2;
int val4;
float val3;
float prevunit;
int cost = 3;
float bill;
int count=0;
int lcdColumns = 16;
int lcdRows = 2;
LiquidCrystal_I2C lcd(0x27, lcdColumns, lcdRows);
WiFiClient client;
void setup()
{
pinMode(Switch,INPUT);
pinMode(called,OUTPUT);
Serial.begin(9600);
EEPROM.begin(512);
WiFi.begin(ssid, password);
ThingSpeak.begin(client);
lcd.init();
lcd.backlight();
lcd.setCursor(4, 0);
lcd.print("IoT Smart");
lcd.setCursor(1, 4);
lcd.print("Energy Meter");
delay(1000);
lcd.clear();
void loop()
{ value3 = EEPROM.read(addr);
value1 = EEPROM.read(addr+1);
value2=value3+(value1/1000);
Serial.println(value2);
if(digitalRead(called)==LOW)
{
count++;
}
if (count==10)
{ unit=count/3200;
count=0;
val3=unit+value2;
val4=val3*1000;
val1=val4/1000;
val2=val4%1000;
EEPROM.write(addr, val1);
EEPROM.write(addr+1, val2);
EEPROM.commit();
}
bill=(value2-prevunit)*cost;
Serial.println(bill);
lcd.setCursor(0, 0);
lcd.print("Unit = ");
delay(1000);
lcd.setCursor(10, 0);
lcd.print(value2);
delay(1000);
lcd.setCursor(0, 1);
lcd.print("bill = ");
delay(1000);
lcd.setCursor(10, 1);
lcd.print(bill);
if(digitalRead(Switch)==HIGH)
{
CHAPTER 7
ADVANTAGES AND DISADVANTAGES OF SMART ENERGY METER
CHAPTER 8
CONCLUSIONS
An attempt has been made to make a practical model of „IoT‟ Based Smart Energy Meter.‟ The
propagated model is used to calculate the energy consumption of the household, and even make
the energy unit reading to be handy.
Hence it reduces the wastage of energy and bring awareness among all. Even it will deduct
the manual intervention. Monitoring and keeping tracking of your electricity consumption for
verification is a tedious task today.
Since you need to go to meter reading room and take down readings. Well it is important to
know if you are charged accordingly so the need is quite certain. Well we automate the system
by allowing users to monitor energy meter readings over the internet.
The meter is used to monitor units consumed and transmit the units as well as cost charged
over the internet using wifi connection. This allows user to easily check the energy usage along
with the cost charged online using a simple web application. Thus the energy meter monitoring
system allows user to effectively monitor electricity meter readings and check the billing online
with ease.
REFERENCES
1. Himshekhar Das, L.C.Saikia, “GSM Enab led Smart Energy Meter and Automation of Home
Appliances”, PP-978-1-4678-6503-1, 2017 IEEE.
2. Yingying Cheng, Huaxiao Yang, Ji Xiao, Xingzhe Hou, “Running State Evaluation Of
Electric Energy Meter”, PP-978-1-4799-4565-8, „Workshop on Electronics,
Computer and Applications‟, IEEE 2014
3. Sahana M N, Anjana S, Ankith S,K Natarajan, K R Shobha, “Home energy management
leveraging open IoT protocol stack “, PP- 978-1-4673-6670-0, „Recent Advances in Intelligent
Computational Systems (RAICS)‟, IEEE 2015
4. Sahana M N, Anjana S, Ankith S,K Natarajan, K R Shobha, “Home energy management
leveraging open IoT protocol stack “, PP- 978-1-4673-6670-0, „Recent Advances in
Intelligent Computational Systems (RAICS)‟, IEEE 2015.
5. Luigi Martirano,Matteo Manganelli,Danilo Sbordone,„„Design and classification of smart
metering systems for the energy diagnosis of buildings‟‟ IEEE 2015.
6. J. Widmer, Landis,” Billing metering using sampled values according lEe 61850-9-2 for
substations”,IEEE 2014
7. Cheng Pang,Valierry Vyatkin,Yinbai Deng, Majidi Sorouri, “Virtual smart metering in
automation and simulation of energy efficient lightning system” IEEE 2013.
8. Amit Bhimte, Rohit K.Mathew, Kumaravel S, “Development of smart energy meter in
labview for power distribution systems”, “IEEE INDICON 2015 1570186881”, 2015.
9. H. Arasteh, V. Hosseinnezhad, V.Loia, A.Tommasetti, O.Troisi, M.Shafie Khan, P.Siano,
“IoT Based Smart Cities: A survey”IEEE 978-1-5090-2320-2/1631.00,2016.
10. Clement N. NYIRENDRE, Irvine NYANDOWE, Linda SHITUMBAPO, “A comparison
of the collection tree protocol (CTP) and AODV routing protocol for a smart water
metering.”, PP NO. 1-8,2016.