Top Banner
GSM BASED PREPAID ENERGY METER BILLING VIA SMS GUIDED BY: CH. RAJASEKHARA REDDY M.Tech, TEAM MEMBERS: B.TEJASWI (10MH1A0467) T.SRINIVASA REDDY (10MH1A04B3) M.B.V.B.M.SEKHAR (10MH1A0490) M.N.S.RAVI TEJA (10MH1A0489) P.CHARAN TEJA
24

GSM BASED PREPAID ENERGY METER BILLING VIA SMS

Dec 25, 2014

Download

Education

Srinivas Reddy

The project is designed for reading electrical energy consumed in units and in rupees to display on an LCD screen to the user. This data is also provided to the electrical department using GSM technology for billing purposes. Owing to high electricity cost these days it becomes necessary for the consumer to know as to how much electricity is consumed to control electricity bill within his budget by recharging the energy meter units via S.M.S .
Finally when the energy meter coming to zero user can again recharge according to the purpose used. In this proposed system, the consumer will get his energy consumption data on real time basis on a LCD display. The same data is sent through GSM modem to the electricity department via SMS. A microcontroller of 8051 family is interfaced to the energy meter to get the Watt Hour pulses.
Further this project can be enhanced by to control the electrical appliances remotely via SMS. Also, the electricity department can send the monthly bill amount over SMS to the receiving unit for consumer information.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: GSM BASED PREPAID ENERGY METER BILLING VIA SMS

GSM BASED PREPAID ENERGY METER BILLING VIA SMS

GUIDED BY:CH. RAJASEKHARA REDDY M.Tech,

TEAM MEMBERS:B.TEJASWI (10MH1A0467)T.SRINIVASA REDDY (10MH1A04B3)M.B.V.B.M.SEKHAR (10MH1A0490)M.N.S.RAVI TEJA (10MH1A0489)P.CHARAN TEJA (10MH1A04A5)

Page 2: GSM BASED PREPAID ENERGY METER BILLING VIA SMS

ABSTRACT The main objective of the project is to develop a

prepaid energy meter.

The microcontroller takes the reading from the energy

meter and displays the reading on the LCD. The reading of

the energy meter is also sent to the cell phone of the user by

a message through GSM modem.

This project is powered by an on-board power supply

takes the ac power and converts it into dc power that is fed

to on-board devices and integrated circuits.

Page 3: GSM BASED PREPAID ENERGY METER BILLING VIA SMS

BLOCK DIAGRAM

Page 4: GSM BASED PREPAID ENERGY METER BILLING VIA SMS

HARDWARE REQUIREMENTS:

8051 MICROCONTROLLER GSM MODEM LCD LED RESISTORS CAPACITORS DIODES TRANSFORMER REGULATOR RELAY ENERGYMETER LAMP

SOFTWARE REQUIREMENTS:

KEIL COMPILER EMBEDED C

Page 5: GSM BASED PREPAID ENERGY METER BILLING VIA SMS

HARDWARE REQUIREMENTS

ENERGY METER:

• An energy or electric meter is a device that measures the amount of electrical energy consumed by a residence, business, or an electrically-powered device.

• Electric meters are typically calibrated in billing units, the most common one being the kilowatt hour.

Page 6: GSM BASED PREPAID ENERGY METER BILLING VIA SMS

MICROCONTROLLER:

• AT89S51• It is a smaller computer• Has on-chip RAM, ROM, I/O ports...

RAM ROM

I/O Port

TimerSerial COM Port

Microcontroller

CPU

A single chip

Page 7: GSM BASED PREPAID ENERGY METER BILLING VIA SMS

Features of AT89S51/52:

Compatible with MCS®-51 Products

8K Bytes of In-System Programmable (ISP) Flash Memory

Endurance: 10,000 Write/Erase Cycles

4.0V to 5.5V Operating Range

Fully Static Operation: 0 Hz to 33 MHz

256 x 8-bit Internal RAM

32 Programmable I/O Lines

Three 16-bit Timer/Counters

Full Duplex UART Serial Channel

Interrupt Recovery from Power-down Mode

Watchdog Timer

Dual Data Pointer

Page 8: GSM BASED PREPAID ENERGY METER BILLING VIA SMS

PIN DIAGRAM OF AT89S51:

• 40 Pin IC• 4 Ports• 32 Programmable I/O Lines

Page 9: GSM BASED PREPAID ENERGY METER BILLING VIA SMS

230 V AC 50 Hz

Bridge rectifier

Filter(470µf)

5v Regulator

5V DC

12V step down transformer

POWER SUPPLY:

Page 10: GSM BASED PREPAID ENERGY METER BILLING VIA SMS

SERIAL COMMUNICATION• used for all long-haul communication• Cables that carry serial data• RS232 carries serial data in between micro controller

and MODEM through DB9 connector

Page 11: GSM BASED PREPAID ENERGY METER BILLING VIA SMS

MAX 232:The MAX232 is an integrated circuit that converts signals from an RS-232serial port to signals suitable for use in TTL compatible digital logic circuits.

The MAX232 is a dual driver/receiver and typically converts the RX, TX, CTS and RTS signals .

When a MAX232 IC receives a TTL level to convert, it changes a TTL Logic 0 to between +3 and +15V, and changes TTL Logic 1 to between -3 to -15V, and vice versa for converting from RS232 to TTL.

Page 12: GSM BASED PREPAID ENERGY METER BILLING VIA SMS

DB9 CONNECTOR:

• The DB9 (originally DE-9) connector is an analog 9-pin plug of the D-Sub miniature connector family (D-Sub or Sub-D).

Page 13: GSM BASED PREPAID ENERGY METER BILLING VIA SMS

A relay is an electrically operated switch. Many relays use an electromagnet to mechanically operate a switch, but other operating principles are also used, such as solid-state relays.

Relays are used where it is necessary to control a circuit by a low-power signal (with complete electrical isolation between control and controlled circuits), or where several circuits must be controlled by one signal.

Relays with calibrated operating characteristics and sometimes multiple operating coils are used to protect electrical circuits from overload or faults

RELAY:

Page 14: GSM BASED PREPAID ENERGY METER BILLING VIA SMS

GSM COMMUNICATION

The term GSM usually means the GSM standard and protocols in the frequency spectrum around 900MHz.

Mobile Station: The MS is the physical equipment used by a subscriber, most often a normal hand-held cellular telephone.

Base transceiver station:The BTS comprises the radio transmission and reception devices, and also manages the signal processing related to the air interface.

Page 15: GSM BASED PREPAID ENERGY METER BILLING VIA SMS

GSM MODEM:A GSM modem is a specialized type of modem which accepts a SIM card, and operates over a subscription to a mobile operator, just like a mobile phone. From the mobile operator perspective, a GSM modem looks just like a mobile phone.When a GSM modem is connected to a computer, this allows the computer to use the GSM modem to communicate over the mobile network.  While these GSM modems are most frequently used to provide mobile internet connectivity, many of them can also be used for sending and receiving SMS and MMS messages.

Page 16: GSM BASED PREPAID ENERGY METER BILLING VIA SMS

IR LED:

An IR LED, also known as IR transmitter, is a special purpose

LED that transmits infrared rays in the range of 760 nm

wavelength.

The appearance is same as a common LED. Since the human eye

cannot see the infrared radiations.

The camera can show us the IR rays being emanated from the IR

LED in a circuit.

Page 17: GSM BASED PREPAID ENERGY METER BILLING VIA SMS

LIQUID CRYSTAL DISPLAY (LCD):

Most common LCDs connected to the microcontrollers are 16x2

and 20x2 displays.

This means 16 characters per line by 2 lines and 20 characters per

line by 2 lines, respectively.

DISPLAY UNIT

Page 18: GSM BASED PREPAID ENERGY METER BILLING VIA SMS

LCD BACKGROUND:

If an 8-bit data bus is used the LCD will require 11 data lines

(3 control lines plus the 8 lines for the data bus)

The three control lines are referred to as EN, RS, and RW

EN=Enable (used to tell the LCD that you are sending it

data)

RS=Register Select (When RS is low (0), data is treated as a

command)

(When RS is High(1), data being sent is

text data )

R/W=Read/Write (When RW is low (0), the data written to

the LCD)

(When RW is high (1), the data

reading to the LCD)

Page 19: GSM BASED PREPAID ENERGY METER BILLING VIA SMS

SOFTWARE REQUIREMENTS

Keil an ARM Company makes C compilers, macro assemblers,

real-time kernels, debuggers, simulators, integrated environments,

evaluation boards, and emulators for ARM7/ARM9/Cortex-M3,

XC16x/C16x/ST10, 251, and 8051 MCU families.

Compilers are programs used to convert a High Level Language

to object code. Desktop compilers produce an output object code for

the underlying microprocessor, but not for other microprocessors

KEIL COMPILER:

Page 20: GSM BASED PREPAID ENERGY METER BILLING VIA SMS

AT COMMANDS:

AT commands are instructions used to control a modem. AT is the abbreviation of Attention. Every command line starts with

"AT" or "at". That's the reason, modem commands are called AT commands.

Many of the commands that are used to control wired dial-up modems, such as ATD (Dial), ATA (Answer) supported by MODEM.

Besides this common AT command set, GSM modems and mobile phones support an AT command set that is specific to the GSM technology, which includes SMS-related commands like AT+CMGS (Send SMS message), AT+CMSS (Send SMS message from storage), AT+CMGL (List SMS messages) and AT+CMGR (Read SMS messages).

Page 21: GSM BASED PREPAID ENERGY METER BILLING VIA SMS

SNAP SHOT:

Page 22: GSM BASED PREPAID ENERGY METER BILLING VIA SMS

• Using this project we can reduce the manual Efforts to take the readings from the energy Meter which is cost effective solution .

• Reduces man power.

• It is user friendly and we can enhance this Project ,in which an electricity department can Send message to the consumer about the billing information.

CONCLUSION

Page 23: GSM BASED PREPAID ENERGY METER BILLING VIA SMS

Thank u.........

Page 24: GSM BASED PREPAID ENERGY METER BILLING VIA SMS

Queries . ?.??