GSM Based Remote Energy Meter Monitoring

Similar documents
Microtronics technologies Mobile:

Display Message on Notice Board using GSM

8051 MICROCONTROLLER COURSE

8-Bit Flash Microcontroller for Smart Cards. AT89SCXXXXA Summary. Features. Description. Complete datasheet available under NDA

MICROPROCESSOR AND MICROCOMPUTER BASICS

RF CONTROLLED VEHICLE ROBOT WITH METAL DETECTOR

Embedded Systems on ARM Cortex-M3 (4weeks/45hrs)

Wireless Sensor Network for Electric Meter Handling

Chapter 1 Lesson 3 Hardware Elements in the Embedded Systems Chapter-1L03: "Embedded Systems - ", Raj Kamal, Publs.: McGraw-Hill Education

Automated Intelligent Power Saving System and Security System

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC Microprocessor & Microcontroller Year/Sem : II/IV

ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-17: Memory organisation, and types of memory

Am186ER/Am188ER AMD Continues 16-bit Innovation

Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 1 Introducing Hardware

THE INTERNATIONAL JOURNAL OF SCIENCE & TECHNOLEDGE

Keil C51 Cross Compiler

ontroller LSI with Built-in High- Performance Graphic Functions for Automotive Applications

INTRODUCTION: ABSTRACT:

Implementing a Digital Answering Machine with a High-Speed 8-Bit Microcontroller

Obstacle Avoidance With Anti Theft Mechanism System And Cabin Safety System For Automobiles

Microcontroller Based Anti-theft Security System Using GSM Networks with Text Message as Feedback

8051 hardware summary

Remote PLC system using GSM network with application to home security system

Intelligent Vehicle Monitoring System using Wireless Communication

MICROPROCESSOR. Exclusive for IACE Students iacehyd.blogspot.in Ph: /422 Page 1

Computer and Set of Robots

The Programming Interface

Serial port interface for microcontroller embedded into integrated power meter

Open Architecture Design for GPS Applications Yves Théroux, BAE Systems Canada

Flash Microcontroller. Memory Organization. Memory Organization

Microcontrollers Figure 26-1 Objectives Key Words and Terms 26.1 OVERVIEW OF THE MICROCONTROLLER microcontroller

C8051F020 Utilization in an Embedded Digital Design Project Course. Daren R. Wilcox Southern Polytechnic State University Marietta, Georgia

Embedded Software development Process and Tools: Lesson-4 Linking and Locating Software

Home Security System Using Gsm Modem

CHAPTER 6: Computer System Organisation 1. The Computer System's Primary Functions

2.0 Command and Data Handling Subsystem

Lecture N -1- PHYS Microcontrollers

RAM & ROM Based Digital Design. ECE 152A Winter 2012

Chapter 13. PIC Family Microcontroller

The I2C Bus. NXP Semiconductors: UM10204 I2C-bus specification and user manual HAW - Arduino 1

M68EVB908QL4 Development Board for Motorola MC68HC908QL4

Design and Development of Suraksha -A Women Safety Device

Microprocessor & Assembly Language

A 5 Degree Feedback Control Robotic Arm (Haptic Arm)

Handout 17. by Dr Sheikh Sharif Iqbal. Memory Unit and Read Only Memories

Microcontroller Based Infrared Tracking Device In 2D Motion

Freescale Semiconductor, Inc. Product Brief Integrated Portable System Processor DragonBall ΤΜ

Advanced Microcontrollers Grzegorz Budzyń Lecture. 3: Electrical parameters of microcontrollers 8051 family

Freescale Semiconductor, I

GAS LEAKAGE DETECTION & AUTO ON-OFF GAS SYSTEM

Remote Controlled Home Automation Using Android application via Wi-Fi Connectivity

Lab Experiment 1: The LPC 2148 Education Board

User Manual. AS-Interface Programmer

Keywords: GPS, GSM, AVR Microcontroller, SMS.

Logical Operations. Control Unit. Contents. Arithmetic Operations. Objectives. The Central Processing Unit: Arithmetic / Logic Unit.

Microcomputer Components SAB 80515/SAB 80C515 8-Bit Single-Chip Microcontroller Family

CHAPTER 7: The CPU and Memory

Part Number Description Packages available

AT89C Bit Microcontroller with 1 Kbyte Flash. Features. Description. Pin Configuration

DESIGN OF SMS ENABLED CAR SECURITY SYSTEM

Wireless Microcontrollers for Environment Management, Asset Tracking and Consumer. October 2009

Using the HT1632 for Dot Matrix LED Displays

ET-BASE AVR ATmega64/128

Design of a High Speed Communications Link Using Field Programmable Gate Arrays

Monitoring of Intravenous Drip Rate

An Introduction to MPLAB Integrated Development Environment

2014 GSM SHIELD COMPATIBLE WITH ARDUINO GSM SHIELD USING SIMCOMM (SIM900A)

Management Challenge. Managing Hardware Assets. Central Processing Unit. What is a Computer System?

Computer-System Architecture

Atmel Norway XMEGA Introduction

Fondamenti su strumenti di sviluppo per microcontrollori PIC

EMBEDDED SYSTEM BASICS AND APPLICATION

PART B QUESTIONS AND ANSWERS UNIT I

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

DESIGN AND IMPLEMENTATION OF LOW COST HOME SECURITY SYSTEM USING PIC MICROCONTROLLER ANDGSM NETWORK

MACHINE ARCHITECTURE & LANGUAGE

FEATURES DESCRIPTION. PT6321 Fluorescent Display Tube Controller Driver

Software engineering for real-time systems

C Programming. for Embedded Microcontrollers. Warwick A. Smith. Postbus 11. Elektor International Media BV. 6114ZG Susteren The Netherlands

Block 3 Size 0 KB 0 KB 16KB 32KB. Start Address N/A N/A F4000H F0000H. Start Address FA000H F8000H F8000H F8000H. Block 2 Size 8KB 16KB 16KB 16KB

Palaparthi.Jagadeesh Chand. Associate Professor in ECE Department, Nimra Institute of Science & Technology, Vijayawada, A.P.

CHAPTER 2: HARDWARE BASICS: INSIDE THE BOX

Chapter 1 Computer System Overview

CSE2102 Digital Design II - Topics CSE Digital Design II

Serial Communications

Microcontrollers in Practice

Programming PIC Microcontrollers in PicBasic Pro Lesson 1 Cornerstone Electronics Technology and Robotics II

Teaching Systems Integration In An Advanced Microprocessor Applications Course

S7 for Windows S7-300/400

Machine Architecture and Number Systems. Major Computer Components. Schematic Diagram of a Computer. The CPU. The Bus. Main Memory.

ALARM SYSTEM USING BODY DETECTOR UMMI KALSOM BINTI NOOR DIN

Spacecraft Computer Systems. Colonel John E. Keesee

COMPUTER BASED REMOTE CONTROL FOR LAYOUT OF SCALED MODEL TRAINS

Collided Vehicle Position Detection using GPS & Reporting System through GSM

A DIY Hardware Packet Sniffer

Chapter 2 Logic Gates and Introduction to Computer Architecture

International Journal of Research in Advent Technology Available Online at:

SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.

Seven-Segment LED Displays

Transcription:

GSM Based Remote Energy Meter Monitoring Introduction The purpose of this project is to remote monitoring and control of the Domestic Energy meter. This system enables the Electricity Department to read the meter readings regularly without the person visiting each house. This can be achieved by the use of microcontroller unit that continuously monitors and records the Energy Meter readings in its permanent (non-volatile) memory location. This system also makes use of a GSM modem for remote monitoring and control of Energy Meter. The Microcontroller based system continuously records the readings and the live meter reading can be sent to the Electricity department on request. This system also can be used to disconnect the power supply to the house in case of non-payment of electricity bills. A dedicated GSM modem with SIM card is required for each energy meter. The major building blocks of this project are: Microcontroller based control system with regulated power supply. GSM Modem for remote communication Electromagnetic Relay and Relay Driver for Power Supply Control. Digital Energy Meter. LCD Display to display the meter readings. HARDWARE USED 1. GSM Modem for remote communication 2. Electromagnetic Relay and Relay Driver for Power Supply Control. 3. Digital Energy Meter. 4. LCD Display to display the meter readings. SOFTWARE USED 1. Keil u-vision 3.0

Keil Software is used provide you with software development tools for 8051 based microcontrollers. With the Keil tools, you can generate embedded applications for virtually every 8051 derivative. The supported microcontrollers are listed in the µ-vision 2. PRO51 Programmer Software THEORY OF OPERATION In this project we interfaced 8051 microcontroller with Motorola s C168 GSM mobile phone to decode the received message and do the required action. The protocol used for the communication between the two is AT command. The microcontroller pulls the SMS received by phone, decode it, recognizes the Mobile no. and then switches on the relays attached to its port to control the appliances. After successful operation, controller sends back the acknowledgement to the user s mobile through SMS. AT-Command set The following section describes the AT-Command set. The commands can be tried out by connecting a GSM modem to one of the PC s COM ports. Type in the test-command, adding CR + LF (Carriage return + Line feed = \r\n) before executing. Table gives an overview of the implemented AT-Commands in this application. The use of the commands is described in the later sections. AT-Command set overview Command AT ATE0 AT+CNMI AT+CPMS AT+CMGF AT+CMGR AT+CMGS AT+CMGD Description Check if serial interface and GSM modem is working. Turn echo off, less traffic on serial line. Display of new incoming SMS. Selection of SMS memory. SMS string format, how they are compressed. Read new message from a given memory location. Send message to a given recipient. Delete message.

A BRIEF INTRODUCTION TO 8051 MICROCONTROLLER: When we have to learn about a new computer we have to familiarize about the machine capability we are using, and we can do it by studying the internal hardware design (devices architecture), and also to know about the size, number and the size of the registers. A microcontroller is a single chip that contains the processor (the CPU), nonvolatile memory for the program (ROM or flash), volatile memory for input and output (RAM), a clock and an I/O control unit. Also called a "computer on a chip," billions of microcontroller units (MCUs) are embedded each year in a myriad of products from toys to appliances to automobiles. For example, a single vehicle can use 70 or more microcontrollers. The following picture describes a general block diagram of microcontroller. 89s52: The AT89S52 is a low-power, high-performance CMOS 8-bit microcontroller with 8K bytes of in-system programmable Flash memory. The device is manufactured using Atmel s high-density nonvolatile memory technology and is compatible with the industry-standard 80C51 instruction set and pinout. The on-chip Flash allows the program memory to be reprogrammed in-system or by a conventional nonvolatile memory pro-grammer. By combining a versatile 8-bit CPU with in-system programmable Flash on a monolithic chip, the Atmel AT89S52 is a powerful microcontroller, which provides a highly flexible and cost-effective solution to many, embedded control applications. The AT89S52 provides the following standard features: 8K bytes of Flash, 256 bytes of RAM, 32 I/O lines, Watchdog timer, two data pointers, three 16-bit timer/counters, a six-vector two-level interrupt architecture, a full duplex serial port, onchip oscillator, and clock circuitry. In addition, the AT89S52 is designed with static logic for operation down to zero frequency and supports two software selectable power saving modes. The Idle Mode stops the CPU while allowing the RAM, timer/counters, serial port, and interrupt system to continue functioning. The Power-down mode saves the RAM con-tents but freezes the oscillator, disabling all other chip functions until the next interrupt

The hardware is driven by a set of program instructions, or software. Once familiar with hardware and software, the user can then apply the microcontroller to the problems easily.

The pin diagram of the 8051 shows all of the input/output pins unique to microcontrollers: The following are some of the capabilities of 8051 microcontroller. Internal ROM and RAM I/O ports with programmable pins Timers and counters Serial data communication The 8051 architecture consists of these specific features: 16 bit PC &data pointer (DPTR) 8 bit program status word (PSW) 8 bit stack pointer (SP) Internal ROM 4k Internal RAM of 128 bytes. 4 register banks, each containing 8 registers 80 bits of general purpose data memory

clock circuits. 32 input/output pins arranged as four 8 bit ports: P0-P3 Two 16 bit timer/counters: T0-T1 Two external and three internal interrupt sources Oscillator and BLOCK DIAGRAM: SMS PORT1 8051 Level Convert er