EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key 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
  • Advertise
You are here: Home / Topics / Realtime energy meter reading using GSM

Realtime energy meter reading using GSM

|

Projects › Projects › Realtime energy meter reading using GSM

  • This topic has 20 replies, 14 voices, and was last updated 9 years, 3 months ago by waqas.
Viewing 15 posts - 1 through 15 (of 21 total)
1 2 →
  • Author
    Posts
  • March 1, 2013 at 3:30 pm #4802
    Prab X
    Participant

    hi guys, I m doing a project on GSM BASED ENERGY METER READING. I have to display energy meter reading on LCD and Send this reading to the user through SMS. this SMS can be send after every 50 units. This project also includes a EEPROM memory to store the data after switching off the microcontroller module. The user also can send a sms to the energy meter to get the status of the current meter reading.

    the user also can get the status of no of loads connected to the meter, their status(ON/OFF) by sending a sms and also to switch on/off the loads.

    i don't know how to display energy meter reading on LCD and send it to USER by SMS. Guys, Please help me in my project.

    I m attaching the block diagram of my project.

    March 1, 2013 at 4:25 pm #9213
    AJISH ALFRED
    Participant

    Hi Prab,

    Which microcontroller are you using?

    March 1, 2013 at 5:17 pm #9214
    Prab X
    Participant

    I m using AT89C51 microcontroller and Keil uVision Compiler

    March 2, 2013 at 1:16 pm #9217
    hardik
    Participant

    i can help you for tarnsfering message  from contorller unit to customer mobile and also from customer mobile to controlling unit.

    you have to design module for reading data from energy meter into controller.

    March 2, 2013 at 2:20 pm #9218
    Prab X
    Participant

    thanks for your interest in my project. I developed a code which will count 1000 pulses and increment unit =unit+1. i have not used external interrupt (INT0 PIN3.2 of AT89C51). Please developed this code using EXT INTERRUPT (INT0) & also help me to send the LCD display content by SMS to user after every 100 units consumed.

     

    MY Code:

     

    #include<reg51.h>
    #define LCD P2
     
    unsigned int Count,Unit,d1,d2,d3,d4,x1,x2,x3,d5,d6,d7,d8,x4,x5,x6,x7;
     
    sbit rs = P1^0;
    sbit rw = P1^1;
    sbit en = P1^2;
    sbit Pulse = P1^3;
     
     
    void LCDInit ( );
    void lcdcmd (unsigned char );
    void lcdwrt (unsigned char );
    void Delay (unsigned int );
    void Conv1 (unsigned int );
    void Conv2 (unsigned int );
    void main(void)
    {
    unsigned char z,Disp;
    unsigned char code str1[]=”ENERGY METER”;
    //unsigned char code str2[]=”PULSE: 0000      “;
    unsigned char code str2[]=”METER ID:XXX      “;
    unsigned char code str3[]=”UNITS: 0000      “;
    P0=0x00;
    P1=0x00;
    P2=0x00;
    P3=0x00;
     
     
    Count=0x00;
    Unit=0x00;
     
    LCDInit();
     
        for(z=0;z<16;z++)
    {
     
    Disp=str1[z];
    lcdwrt(Disp);
    Delay(1);
     
    lcdcmd(0x80);
     
        for(z=0;z<16;z++)
    {
     
    Disp=str2[z];
    lcdwrt(Disp);
    Delay(1);
     
    }
    Delay(70);
    lcdcmd(0xC0);
     
        for(z=0;z<16;z++)
    {
     
    Disp=str3[z];
    lcdwrt(Disp);
    Delay(1);
    }
    Delay(70);
     
     
    while(1)
    {
    Delay(30);
    if(Pulse==0)
    {
     
    Count=Count+1;
    Conv1(Count);
    Conv2(Unit);
    if(Count==1000){
    Count=0x00;
    Unit=Unit+1;
     
    }
     
    }  
    }
    }
     
    }
     
    void Conv1(unsigned int val1)
    {
    x1 = val1 / 10;
    d1 = val1 % 10;
     
    x2 = x1 / 10;
    d2 = x1 % 10;
     
    x3 = x2 / 10;
    d3 = x2 % 10;   
     
    d4 = x3 % 10;
     
    d1=d1+0x30;
    d2=d2+0x30;
    d3=d3+0x30;
    d4=d4+0x30;
     
     
    }
     
    void Conv2(unsigned int val2)
    {
    x4 = val2 / 10;
    d5 = val2 % 10;
     
    x5 = x4 / 10;
    d6 = x4 % 10;
     
    x6 = x5 / 10;
    d7 = x5 % 10;   
     
    d8 = x6 % 10;
     
    d5=d5+0x30;
    d6=d6+0x30;
    d7=d7+0x30;
    d8=d8+0x30;
     
    lcdcmd(0xc7);
    lcdwrt(d8);
    lcdwrt(d7);
    lcdwrt(d6);
    lcdwrt(d5);
    Delay(1);
     
     
    Delay(30);
    }
     
    void LCDInit()
    {
    lcdcmd(0x38);
    Delay(10);
    lcdcmd(0x0E);
    Delay(10);
    lcdcmd(0x01);
    Delay(10);
    lcdcmd(0x0C);
    Delay(10);
    lcdcmd(0x80);
    Delay(10);
    return;
    }
     
    void lcdcmd(unsigned char value)
    {
    LCD=value;
    rs=0;
    rw=0;
    en=1;
    Delay(1);
    en=0;
    return;
    }
     
    void lcdwrt(unsigned char value)
    {
    LCD=value;
    rs=1;
    rw=0;
    en=1;
    Delay(1);
    en=0;
    return;
    }
     
     
     
    void Delay(unsigned int x)
    {
    unsigned int i,j;
        for (i=0;i<=x;i++)
        for (j=0;j<=500;j++);
    }
     
    wysiwyg_imageupload:7681:
    March 7, 2013 at 6:46 am #9272
    rajesh
    Participant

    hiiii

    i am also working on this project.i want a help for programming a microcontroller for gsm module and including display on lcd

     

    March 7, 2013 at 4:02 pm #9274
    rahul
    Participant

    hey I am also working on this project.. but I am stuck at the optocoupler part.. the voltage levels from the energy meter are faint. I measured them across the LED

    March 14, 2013 at 1:03 am #9312
    Prab X
    Participant

     I want to send “UNITS:0009” displaying on lcd to a mobile via sms. Please some code for me.

    May 10, 2013 at 1:20 pm #9703
    raviranjan singh
    Participant

     

    hello freinds..

    i am doing the same project with using AT89s52 (8051)

    i got stuck on some problem,

    please help me as soon as possible..

     

     

    is opto coupler is neccesary to use/ can be use relay for the same use.

    how to get output from energy meter to microcontroller.

    i am going through ine website….is it right

     

     

     

     

     

    please freinds send me the proggramme in c to my email id is

    raviranjan97021   at gmail

    May 10, 2013 at 1:21 pm #9704
    raviranjan singh
    Participant

     

    hello freinds..

    i am doing the same project with using AT89s52 (8051)

    i got stuck on some problem,

    please help me as soon as possible..

     

     

    is opto coupler is neccesary to use/ can be use relay for the same use.

    how to get output from energy meter to microcontroller.

    i am going through ine website….is it right

    http://www.8051projects.info/forum/project-kits-album/1198-how-take-pulse-out-energy-meter.html

     

     

     

     

    please freinds send me the proggramme in c to my email id is

    [email protected]

    May 27, 2013 at 3:37 am #9225
    Prab X
    Participant

    gsm

    July 24, 2013 at 4:16 pm #10191
    Tunde George
    Participant

    hi prab, am really impressed by the amount of effort you already put into this project and just coincidentally am doing same as my final year project in school. but in my case am using the analogue meter so am not using any optocopler,as using an infrared sensor which will read as the electromechanical blade makes is rotation reading the amount of energy used by the load,am also using the AT89S52 8051 micro controller. please i would like to work with you in actualizing this work, i got my GSM MODEM and other components and i already interfaced my infrared sensor to the meter. but am having troubles with my circuit, please could help me so we share materials and idea. i will go through your program now and see how it works with the LCD interfacing, thanks. u can reach me at  [email protected]

    February 9, 2014 at 2:07 pm #10992
    SHAH DISHANT H.
    Participant

    Hi,

     

    This is really surprising that many people are working on this simple project.

     

    I had developed this for my hobby. I would like to ask all of you, how many of you have included measurement of power factor?

     

    This is one of the most important parameter in the measurement of power as power=voltage*current*power factor.

     

    Reply as soon as possible. 

    July 10, 2014 at 11:56 am #11888
    Tunde George
    Participant

     very well i was finally able to justify my design. as d implementation was realy intresting though i finally used PIC in my design with a current sensor.

    March 30, 2015 at 11:30 am #12744
    Rajib Saha
    Participant

    use ldr to count the number of pulses…

  • Author
    Posts
Viewing 15 posts - 1 through 15 (of 21 total)
1 2 →
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • More fun with ws2812 this time XC8 and CLC July 14, 2025
  • Wierd makita battery July 14, 2025
  • I Wanna build a robot July 13, 2025
  • using a RTC in SF basic July 13, 2025
  • Is AI making embedded software developers more productive? July 13, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

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 | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key 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
  • Advertise