Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe

Wireless Electricity Meter Reading using Arduino and GSM

By Salman Khan April 21, 2008

 

In present time Electricity is the necessary thing in the world for human life. Today every home, offices, companies, industries have electricity connection.So here this project is building only for interfacing electricity energy meter with microcontrollers. Here, Arduino is used for interfacing and the main aim of this project is to know, how much unit is obtained and the total amount of rupees has to be paid. This will help both the inspector and the owner of the place where the meter is placed, we can simply view the unit and the total money that we have to paid and also send to our cell phone using GSM module.

Prototype of Arduino and GSM GPRS Modem based Wireless Energy Meter Reader

Fig. 1: 

Prototype of Arduino and GSM GPRS Modem based Wireless Energy Meter Reader

Image of Arduino based Wireless Energy Meter Reader showing Meter Reading and Bill Amount

Fig. 2: 

Image of Arduino based Wireless Energy Meter Reader showing Meter Reading and Bill Amount

Image of testing Wireless Energy Meter Reader

Fig. 3: 

Image of testing Wireless Energy Meter Reader

Circuit Diagram of Arduino and GSM GPRS Module based Wireless Energy Meter Reader

Fig. 4: Image of SMS received showing Energy Meter Reading on Mobile Phone

Here meter is interfaced with microcontroller through the pulse that is always blinked on the meter. Further that pulse is calculated as per its blinking period, using this principle we calculated it for one unit and accordingly what charge will be for a unit. After 0.3125 watt energy uses Meter LED (calibrate) blinks.  Means if we use 100 watt bulb for a minute then the pulse will blink 5.2 times in a minute. And this can be calculates using given formula.

Pulse= (Pulse rate of Meter* watt * 60) / (1000 * 3600)

If  pulse rate of meter is 3200 imp and watt used is 100 then we have

Pulse = (3200 * 100 * 60) / (1000 * 3600)

Pulse = 5.333333333 per minute

If  5.3333333333 pulses occurred in a minute then

In one hour pulses will occur..

Pulse = 5.3333333333* 60

Pulse = ~320

~320 Pulses will occur in a hour

So, in one hour 100 watt bulb consumed 100 watt electricity and almost 320 pulses blinks.

Now we can calculates one pulse electricity consumed in watt

One pulse (watt) = 100320

One Pulse (watt) = 0.3125

Means 0.3125 watts electricity consumed a single pulse.

Now Units

Unit = (one pulse energy (electricity) )* pulses / 1000

If

One pulse = 0.3125 watt

Pulses in 10 hours = 3200

Then Unit will be

Unit = (0.3125 * 3200)/1000

Unit = 1

Means, One unit in 10 hours for a 100 watt bulb.

Now Suppose one unit rate is 7 rupee then

For a single pulse cost will be

Single pulse cost = (7 * one pulse energy consumed) / 1000

Single pulse cost = (7 * 0.3125) / 1000

Single pulse cost = 0.0021875 Rupee

Circuit Description & Components Used

Circuit description:

Circuit of this security system is very simple. Digital Pin number 9 of Arduino Pro Mini is directly connected to output pin of electricity energy meter’s calibrate pin and ground of energy meter is also connect with arduino board’s ground.  And Tx pins of Arduino are directly connected to the Rx pins of GSM module. And digital pin 13 of arduino set as indication of meter pulse. Due to in-build Rs232 serial communication section on the GSM module, there is no need of RS232 serial communication section.

Programming part of this system is also very easy. In programming we have to read the meter pulse (calibrate pulse) coming from meter and then apply some calculation for converting pulses in to unit and rupee and then sends to GSM to send a message to a given number. Arduino sends command to GSM module after every three pulse.

 

Components Used:

1.      GSM Module

2.      Electricity Energy Meter

3.      Arduino

4.      16X2 LCD

Project Source Code

###



#include <LiquidCrystal.h>
#define pulse 13
int i,Pulse;
float one_pulse=0.3125;
LiquidCrystal lcd(12, 11, 5, 4, 3, 2); 
void setup()
{
 pinMode(pulse, INPUT);
 lcd.begin(16,2);
 lcd.setCursor(0,0);
 lcd.print("Energy Meter    ");
 lcd.setCursor(0,1);
 lcd.print("Interfacing with");
 delay(2000);
 lcd.clear();
 lcd.setCursor(0,0);
 lcd.print("   Arduino By    ");
 lcd.setCursor(0,1);
 lcd.print("   Saddam Khan   ");
 delay(2000);
}
void loop()
{
  int Pulse=0;
  float Rupee=0,Unit=0;
  lcd.clear();
  while(1)
  {
   if(digitalRead(pulse))
   {
    i++;
    Pulse++;
    Unit=one_pulse*i/1000;
    Rupee=Unit*7;
    while(digitalRead(pulse));
   }
   if(Pulse==3)                      // sending Msg after every 3 pulse
   {
     Serial.println("AT+CMGF=1");
    delay(10);
    Serial.println("AT+CMGS="9610126059"");
    Serial.println();
    Serial.println("Unit: ");
    Serial.println(Unit);
    Serial.println("Rupee: ");
    Serial.println(Rupee);
    Serial.write(26);
    Pulse=0;
   }
 lcd.setCursor(0,0);
 lcd.print("Rupee: ");
 lcd.print(Rupee);
 lcd.setCursor(0,1);
 lcd.print("Unit: ");
 lcd.print(Unit);
 delay(10);
}
}
###

 


Circuit Diagrams

circuit_14


Filed Under: Electronic Projects
Tagged With: Arduino, Electricity Energy Meter, gsm
 

Next Article

← Previous Article
Next Article →

Questions related to this article?
👉Ask and discuss on EDAboard.com and Electro-Tech-Online.com forums.



Tell Us What You Think!! Cancel reply

You must be logged in to post a comment.

EE TECH TOOLBOX

“ee
Tech Toolbox: 5G Technology
This Tech Toolbox covers the basics of 5G technology plus a story about how engineers designed and built a prototype DSL router mostly from old cellphone parts. Download this first 5G/wired/wireless communications Tech Toolbox to learn more!

EE Learning Center

EE Learning Center
“engineers
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.

HAVE A QUESTION?

Have a technical question about an article or other engineering questions? Check out our engineering forums EDABoard.com and Electro-Tech-Online.com where you can get those questions asked and answered by your peers!


RSS EDABOARD.com Discussions

  • Identification of a 6 pin smd chip (sto-23-6) marked E2
  • Dynacord enter protect
  • IGBTs without negative gate drive
  • Need suggestions in task NI6363 retrigger (analog trigger)
  • Monte-Carlo simulation error on ADE-XL

RSS Electro-Tech-Online.com Discussions

  • Fun with AI and swordfish basic
  • using a RTC in SF basic
  • Does US electric code allow branching ?
  • Faulty heat air gun (dc motor) - problem to locate fault due to Intermittent fault
  • Sump pit water alarm - Kicad 9

Featured – LoRa/LoRaWan Series

  • What is the LoRaWAN network and how does it work?
  • Understanding LoRa architecture: nodes, gateways, and servers
  • Revolutionizing RF: LoRa applications and advantages
  • How to build a LoRa gateway using Raspberry Pi
  • How LoRa enables long-range communication
  • How communication works between two LoRa end-node devices

Recent Articles

  • How IoT network topologies work
  • The top five AI startups to watch in 2025
  • STMicroelectronics unveils SoC based on secure MCU
  • Nexperia’s 48 V ESD diodes support higher data rates with ultra-low capacitance design
  • Taoglas releases Patriot antenna with 18 integrated elements covering 600 to 6000 MHz

EE ENGINEERING TRAINING DAYS

engineering

Submit a Guest Post

submit a guest post
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • Battery Power Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • EV Engineering
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • Subscribe to our newsletter
  • About Us
  • Contact Us
  • Advertise

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy

Search Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe