You are on page 1of 16

ABSTRACT

The aim of this paper is to minimize the queue at the

electricity billing counters and to restrict the usage of


electricity automatically, if the bill is not paid.
The paper also aims at proposing a system that will
reduce the loss of power and revenue due to power thefts
and other illegal activities.
The work system adopts a totally new concept of
Prepaid Electricity. The GSM technology is used so
that the consumer would receive messages about the
consumption of power (in watts) and if it reaches the
minimum amount it would automatically alert the
consumer to recharge.

INTRODUCTION
In this system the user has to purchase an EEPROM based

recharge card and it should be inserted in the slot provided on


prepaid energy meter kit.
After inserting the recharge card into the system, the user
should press RECHARGE key to start recharge.
Then the system will be loaded with specific units as per the
recharge card value. A 16X2 LCD is provided to read units
available.
Here the system is connected with lamp loads. Microcontroller
counts the pulses from the opto coupler of the energy meter
which depends on the energy consumption.
Whenever the count value reaches specific value which
depends on the energy meter constant, 1unit is decremented
and these values are displayed on LCD

BLOCK DIAGRAM

In this paper a microcontroller named AT89S52 is used to


count the pulses from the opto coupler, to display message
and number of units on LCD, and to trip the relay.
An EEPROM named AT24C02 is provided on the board to

store the updated recharge units and energy meter pulse


count. At every instant the count value and units values are
stored in EEPROM so that the data will not be lost even in
power failure cases.
When 1 unit is decremented from EEPROM the system will
give a beep sound. When the recharged units become zero
on power consumption, the system shutdown all the loads
connected to it by giving a continuous beep sound.
To use the system again the user has to reload the units by
recharging the EEPROM

To recharge the system the user has to place the EEPROM

based recharge card in slot provided. After pressing the


recharge key, the system will be loaded with the units
corresponding to that recharge value. After successful
recharge, the load automatically gets ON.
This system uses 5V regulated power supply for
microcontroller, LCD, EEPROM and driver IC and 12V
supply for relay which is supplied form a step down
transformer

CIRCUIT DIAGRAM

WORKING PROCEDURE
The primary controller collects information from energy

meter as well as from the smart card. Here, switches are


used instead of the IC.
Smart card, which is the switch, gives information about the
limitation of units. The energy meter reading is compared
with the smart card information by the microcontroller.
Depending upon the result, the microcontroller will activate
the buzzer if the credit is low and the Controller will trigger
the Relay if the credit goes very low.
The relay is the switching device to cut off and restore
power supply. The LCD is interfaced to microcontroller
using parallel port connection. The microcontroller based
system, continuously records the readings.

The main concept of the paper lies in buying the energy card

from the electrical department, inserting it into the energy


card fixed in the house; consume it according to the number
of units available in the card.
The product that we developed uses 89S52 Microcontroller
to control all the functions. On decrementing each and every
unit the system gives a beep sound indicating that the unit
value has been decremented.
System will give a continuous beep sound as the unit value
reaches to zero. When the number of units becomes zero the
relay operates and interrupts supply.

REAL TIME IMPLEMENTATION OF


PREPAID ENERGY METER

ADVANTAGE
controlled usage of energy is possible and this system
burden of electricity billing
saves money and time

Save the paper cost


It controls reduce the loss of power and revenue due
to power thefts and other illegal activities.

CONCLUSION
In this paper Prepaid Energy Meter, energy consumption

calculation based on the counting of pulses is designed and


implemented using Atmel 89S52 MCU in embedded system
domain. An LCD is provided to display the number of units
remaining, so controlled usage of energy is possible and this
system eliminates burden of electricity billing and saves
money and time for electricity department and consumers
respectively.
Presence of every module has been reasoned out and placed
carefully thus contributing to the best working of the paper
has been successfully implemented

THANK YOU

FEATURES OF AT89S52
8K Bytes of in-system Programmable Flash Memory.
4V to 5.5V Operating Range.
Fully Static Operation: 0 Hz to 33 MHz
Three-level Program Memory Lock.
256 x 8-bit Internal RAM.
32 Programmable I/O Lines.
Three 16-bit Timer/Counters.
Eight Interrupt Sources.
Fully Duplex UART serial Channel.
Low-power Idle and Power-down Modes.
Fast programming time

MICROCONTROLLER (AT89S52)
INTRODUCTION

Microprocessors and microcontrollers are widely used


in embedded systems products. Microcontroller is a
programmable device.
A microcontroller has a CPU in addition to a fixed amount
of RAM, ROM, I/O ports and a timer embedded all on a
single chip.
The fixed amount of on-chip ROM, RAM and number of
I/O ports in microcontrollers makes them ideal for many
applications in which cost and space are critical.

8051 is an 8-bit processor, meaning that the CPU can work

on only 8 bits of data at a time. Data larger than 8 bits has


to be broken into 8-bit pieces to be processed by the CPU.
8051 is available in different memory types such as UVEPROM, Flash and NV-RAM.

The present paper is implemented on Keil Vision. In order

to program the device, proload tool has been used to burn


the program onto the microcontroller.
The features, pin description of the microcontroller and the
software tools used are discussed in the following sections.

You might also like