Design of Wireless Home automation and security system using PIC Microcontroller



Similar documents
Intelligent Home Automation and Security System

IJSER 1.INTRODUCTION. Figure 1: Control Home Security, Monitoring and Automation (SMA)[3]. S. Benjamin Arul

Wireless Sensor Network for Electric Meter Handling

Design and Development of Suraksha -A Women Safety Device

Automated Profile Vehicle Using GSM Modem, GPS and Media Processor DM642

Smart Home System Using Android Application

ONLINE HEALTH MONITORING SYSTEM USING ZIGBEE

Design and Development of SMS Based Wireless Home Appliance Control and Security System

Bus Data Acquisition and Remote Monitoring System Using Gsm & Can

Accident Notification System by using Two Modems GSM and GPS

ABOUT ZIGBEE CIRCUIT DIAGRAM FOR RESEARCH

Gsm Based Controlled Switching Circuit Between Supply Mains and Captive Power Plant

Design and Development of SMS Based Wireless Home Appliance Control and Security System

Plc Based Monitoring and Controlling System Using Wi-Fi Device

GSM Based Electrical Control System for Smart Home Application

Using Xbee in Serial Communication

Development of a GSM based Control System for Electrical Appliances

Application of Wireless Sensor Network and GSM Technology: A Remote Home Security System

MICROCONTROLLER BASED SMART HOME WITH SECURITY USING GSM TECHNOLOGY

Automated Security System using ZigBee

Intelligent Fleet Management System Using Active RFID

Implementation of Wireless Gateway for Smart Home

DESIGN OF SMART HOME SECURITY SURVEILLANCE SYSTEM USING GSM

Wireless power meter monitoring with power theft detection and intimation system using GSM and Zigbee networks

Implementation of Wi-Ap; An IEEE b/g Based Electrical Switch Module With Web Enabled Interface for Electrical Appliances Control

Remote Monitoring and Controlling System Based on ZigBee Networks

Smart Queue Management System Using GSM Technology

Bluetooth Based Home Automation and Security System Using ARM9

Automobile Speed Violation Detection System using RFID and GSM Technologies

ZIGBEE BASED MINE SAFETY MONITORING SYSTEM WITH GSM

Study on Differential Protection of Transmission Line Using Wireless Communication

Development of Industrial Intrusion Detection and Monitoring Using Internet of Things P. Gokul Sai Sreeram 1, Chandra Mohan Reddy Sivappagari 2

GSM Based Home Automation, Safety and Security System Using Android Mobile Phone

How To Design A Code Lock System With A Status Display On A Cell Phone And A Password Code On A Smart Phone

EMBEDDED GSM MONITOR AND CONTROL USING ANDROID APPLICATION

Wireless Sensor Network for Continuous Monitoring a Patient s Physiological Conditions Using ZigBee

DEVELOPMENT OF INDIVIDUAL HOME SECURITY SYSTEM USING CAN AND ZIGBEE PROTOCOL

Cell Phone Based Liquid Inventory Management Using Wireless System

Figure 1.Block diagram of inventory management system using Proximity sensors.

A ZIGBEE AND EMBEDDED BASED SECURITY MONITORING AND CONTROL SYSTEM

Design and Implementation of an Accidental Fall Detection System for Elderly

AUTOMATIC LPG BOOKING, LEAKAGE DETECTION AND A REAL TIME LPG MEASUREMENT MONITORING SYSTEM

ANDROID BASED SECURITY AND HOME AUTOMATION SYSTEM

Raghavendra Reddy D 1, G Kumara Swamy 2

Home Security System Using Gsm Modem

Possible Applications

How To Track A Vehicle With A Smart Vehicle Tracking System

A Surveillance Robot with Climbing Capabilities for Home Security

Vehicle Tracking and Monitoring By ARM7

TWO FACTOR AUTHENTICATION FOR HIGH SECURITY BANKING ATM USERS

Quectel M72 Development Board

International Journal of Software and Web Sciences (IJSWS) GPS and GSM Based Database Systems for User Access

Design of a Wireless Medical Monitoring System * Chavabathina Lavanya 1 G.Manikumar 2

Hardware and Logic Implementation of Multiple Alarm System for GSM BTS Rooms

A REMOTE MONITORING SYSTEM FOR A THREE-PHASE 10-KVA SWITCHABLE DISTRIBUTION TRANSFORMER USING ZIGBEE WIRELESS NETWORK

Advanced Car Security System Using GSM

AN INTERACTIVE IMPLEMENTATION ON A SMART PHONE FOR DISABLED PERSONS TO ACCESS HOME APPLICATIONS

Design And Implementation Of Bank Locker Security System Based On Fingerprint Sensing Circuit And RFID Reader

SIM300 GSM Module Controller For Smart Home

Microcontroller Based Smart ATM Access & Security System Using Fingerprint Recognition & GSM Technology

Design and Implementation of Home Monitoring System Using RF Technology

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

Android based Secured Vehicle Key Finder System

Firmware version: 1.10 Issue: 7 AUTODIALER GD30.2. Instruction Manual

Zigbee-Based Wireless Distance Measuring Sensor System

Microchip Technology. February 2008 Valerio Moretto Slide 1

International Journal of Computer Engineering Science (IJCES)

Voice Recognition Wireless Home Automation System Based On Zigbee

Development of GSM and GPS based Cost Effective Telematics Module

DEVELOPMENT OF HOME SECURITY SYSTEM USING GSM MODULE

Real Time Water Quality Monitoring System

An Embedded Based Web Server Using ARM 9 with SMS Alert System

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

Sensor network infrastructure for intelligent building monitoring and management system

Fig. 1 BAN Architecture III. ATMEL BOARD

ADVANCED VEHICLE TRACKING SYSTEM USING ARM7

Original Research Articles

How To Keep Track Of A Shopping Trolley With Gsm (Sms)

Intelligent Traffic Control and Patient Monitoring For Efficient Ambulance Service

Artificially Intelligent Home Automation System Based on Arduino as the Master Controller

A Novel Solution for Remote Monitoring of Electrical and Electronic Gadgets

INTERNATIONAL JOURNAL OF ADVANCED RESEARCH IN ENGINEERING AND TECHNOLOGY (IJARET) BUS TRACKING AND TICKETING SYSTEM

RTOS based Home Automation System using Android

Home Automation & Security System Using Arduino Android ADK

ANYTIME ANYPLACE-REMOTE MONITORING OF STUDENTS ATTENDANCE BASED ON RFID AND GSM NETWORK

AUTOMATIC BUS INFORMATION AND TICKETING USING PIC MICROCONTROLLER

Zigbee Based Indoor Campus Inventory Tracking Using Rfid Module

Location-Aware and Safer Cards: Enhancing RFID Security and Privacy

E-TRACKING SYSETEM FOR MUNICIPAL SOLID WASTE MANAGEMENT USING RFID TECHNOLOGY

Computer Aided Design of Home Medical Alert System

Vehicle Tracking System for Security and Analyzing Transportation Vehicle Information

BURGLAR ALARM SYSTEMS BURGLAR ALARM SYSTEMS BURGLAR ALARM SYSTEM EURO ALARM WIRELESS BURGLAR ALARM SYSTEM OASIS

Design and Development of a Wireless Remote POC Patient Monitoring System Using Zigbee

Online Communication of Critical Parameters in Powerplant Using ZIGBEE

Display Message on Notice Board using GSM

1. INTRODUCTION. Keywords SMS, GSM network, electrical device, encryption, control.

Development of Low Cost Private Office Access Control System(OACS)

Serial Communications

3. Identification of water pumps through RFID technology. 4. Wireless control of remote water pump using RF technology.

Wireless Home Security System

Transcription:

IJCAES ISSN: 2231-4946 Volume III, Special Issue, August 2013 International Journal of Computer Applications in Engineering Sciences Special Issue on National Conference on Information and Communication (NCIC'13) www.caesjournals.org Design of Wireless Home automation and security system using PIC Microcontroller V. Sathya Narayanan 1, S. Gayathri 2 1 M.E EMBEDDED SYSTEM TECHNOLOGY, ANNA UNIVERSITY, Coimbatore, India. 1 sathyavm.2009@gmail.com Abstract The development of the new technologies in the field of electronics has brought tremendous changes in the day to day life of every human being. They have entered the fields like industry, medicine, telecommunication and also home automation. This paper introduces the intelligent home automation system (IHAM) which is developed using PIC microcontroller with the ZigBee wireless communication technology, speech recognition technique and GSM network technology that control the home appliance. The automation centres on recognition of voice commands and uses low-power RF ZigBee wireless communication modules which are relatively cheap. The home automation system is used to control all lights and electrical appliances in a home or office using voice commands with help of HM2007 chip that is widely used for such appliances. The proposed system gives the overall framework of hardware and software design, and describes ways to implement the system. The paper also explains the security system for fire hazards that may occur through smoke sensor and GSM Module that is controlled by the same controller that sends the SMS to the user if the smoke is detected. Keywords-HM2007 chip, intelligent home, PIC microcontroller, ZigBee module, GSM module. I. INTRODUCTION Home automation systems are developed in recent years that make use of emerging technologies for the development. Home automation has become a one of the upcoming field that introduces many technologies for making the automation easy and with good performance. Most of the system make use of a web server and mobile communication for controlling the home appliances. ZigBee is developed in recent years, a short-range wireless communications technology, with low power, low data rate, short distance, low cost, safe and reliable. This paper present a home automation system based on ZigBee technology. The Central Processing Unit for the proposed system is developed using the PIC microcontroller which is a low cost and efficient controller used in many applications. Here combine embedded system technology with the wireless technology. Zigbee alliance group explains the latest zigbee products. It updates all the information about the zigbee technology. they provide the new products developed using the 802.15.4 standard [1]. IEEE Standard for Information technology and Tele-communications and information exchange between systems and Local and metropolitan area networks are explained in the reference [2]. There are many systems implemented for the home automation system as given in the references. The paper is organised as follows: the section II provides the system overview. The hardware design is detailed in Section III while the software design is detailed in Section IV. The paper concludes by providing the future research and development work required to make the system more versatile.. II. SYSTEM OVERVIEW The overall structure of intelligent home appliance control system can be divided into two parts wireless hand-held terminal and appliances control terminal parts which consists of various components for communicating with each other. The handheld device consists of the microcontroller unit which is connected to 135

the zigbee module using the RS232 communication protocol. The command to the microcontroller is given by the microphone that come along the speech recognition kit for giving input to the controller. The memory chip is used to save the voice and provide the necessary signal after comparing with the recorded voice. This generated signal is sent to controller and sent out via zigbee transmitter to control purpose. The control unit contains the receiver part that receives the command from the zigbee transmitter and the microcontroller is used to control the homes appliances via relay unit. The system also introduces the messaging facility using the GSM modem which is connected to the PIC controller for sending the SMS to the mobile when the smoke is detected in the house. A.ZIGBEE PROTOCOL Zigbee protocol is one of the communication protocols that is proposed in this system. This protocol provide 250 kbps as maximum baud rate but we can use up to 115200 bps was used for sending and receiving as this was the highest speed. It is a radio frequency (RF) communications standard based on IEEE 802.15.4. Installation overhead is eliminated in this proposed system as we use the wireless communication for control the appliances. The ZigBee standard can communicate with 250kbps data rate, but 40 kbps can meet the requirements of most control systems, it is sufficient for controlling most home automation devices. Figure 1 depicts the general block diagram of a Zigbee based home automation system. Fig. 1. Block Diagram of the system III. HARDWARE DESIGN OF THE SYSTEM The central processing unit for the system is developed using the PIC 18F8722 for both transmission and reception. This IC has better performance and efficiency with 2 serial ports.it is programmed using the embedded c program for control and giving commands through the zigbee communication.pic controller contains two serial communications ports that enables us to connect the two peripherals that can communicate through the RS 232 communication. At the reception unit we connect the GSM module and the Zigbee module for the controlling and communication purposes. Hence the overall system integrates all the modules via wireless communication like zigbee and gsm technologies. A.WIRELESS TRANSMISSION UNIT The transmission unit consist of a module to get the speech as input and give the control signal to the PIC 136

microcontroller. The voice is sampled into digitized signal and compared with the voice store in the memory and the data is transferred through the serial communication of PIC for ON/OFF operation can use of home appliances.the zigbee module connects to the PIC microcontroller through RS232 serial communication and data transmission between the transmission and reception module is done serially. The Fig. 2 shows the transmission part of the proposed system. Fig. 2.Block Diagram of transmission unit B.VOICE RECOGNITION MODULE The voice recognition module consists of HM 2007 and it consists of HM 2007 IC, SRAM and keypad. In this module there are two operations manual and CPU mode. The mode is selected through the keypad and the error code is generated by chip for the correct input from the user. The control signal from the chip is given to controller for the process. The speech recognition system will process the signal and store the command in a static RAM IC. Figure 3 shows the schematic of the speech recognition board Fig. 3.schematic of the speech recognition module C.WIRELESS RECEPTION UNIT The reception unit has a switching circuit using relays for controlling the home appliances that operates at 240v but the operating volts of microcontroller is 5v.hence we use relays which is an electromechanical switch that ON/OFF the appliances depending on the signal obtained from the controller by allowing the current to flow when the internal coil is magnetised. The signal is generated at the different pins of the PIC microcontroller depending on the digitalized commands received by the zigbee module. The reception module 137

also have the the smoke sensor that is used to generate signal when smoke is detected. The GSM module is connected on the other serial port RS232 for sending message to a particular number when the smoke sensor generates the signal. This is implemented for security purpose. The below figure 4 shows block diagram of reception unit. Fig. 4.Block Diagram of receiver unit IV. SOFTWARE DESIGN OF THE SYSTEM As the PIC microcontroller is used as the central processing unit of the system, we can write the program for the IC in embedded C programming language. The various software tools for development are the following: Mplab IDE v8.36 Proteus simulation software The software is developed in modules and integrated for over all implementation of the system. The various software modules developed are the following. A) DATA FROM HM2007 1) The data from the speech recognition module and store in a separate memory location. 2) Compare the command using switch case statement in the program so that the command for each appliance is triggered through wireless communication. B) ZIGBEE COMMUNICATION 1) Serial communication registers are initialized 2) Transmit the data serially through the zigbee module by placing the data in TXREG register. 3) At the receiver side, received the data through RCREG register and store in a separate memory location. 4) Turn ON/OFF the relay depending on the received data. C) GSM MODULE AND SMOKE DETECTION 1) For smoke sensor the ADC registers are initialized and the voltage is obtained in the analog input pin of the PIC controller. 2) The ADC value is processed and compared with predefined value for triggering GSM module by sending 138

data signal through RS 232.in the controller we make use of another serial peripherals registers for this purpose. The overall program flow for the home automation is depicted in the figure 5. Fig.5. Flow Chart for the software development V. CONCLUSION AND FUTURE WORK A home automation system based on voice recognition which uses PIC microcontroller as CPU was explained in this paper. The system is focussed on at elderly people and differently abled people. The prototype developed can control electrical devices in a home or office. The system implements voice recognition unit using HM 2007. The system implements the wireless network using ZigBee RF modules for their efficiency and low power consumption. The security system will be useful in case of the fire accidents at the home. Future work will entail: 1) Operating system based design will be more efficient. Use of real time OS in the software. 2) Integrating the GSM technology to control the devices remotely. 3) Design and integration of an online home control panel. REFERENCES 139

[1] Zigbee Alliance website, http://www.zigbee.org. [2] Part 15.4: Wireless Medium Access Control (MAC) and Physical Layer (PHY) specifications for Low- Rate Wireless Personal Area Networks (WPANs). http://profsite.um.ac.ir/~hyaghmae/acn/wsnmac1. [3] Christopher hallinan, Embedded Linux Primier,A Practical Real World approach second Edition, Posts & Telecom Press,2008.8:5~9. [4] R.Saravanan, A.Vijayaraj, Home Security Using Zigbee Technology, IRACST - International Journal of Computer Science and Information Technology & Security (IJCSITS), Vol. 1, No. 2,2011 [5] E.Kinney P. Gordy, L. Hester, J. A. Gutierrez, M. Naeve, B. Heile, and V. Bahl, Home networking with IEEE 802.15.4. [6] Zigbee Alliance, Zigbee vision for the home: Zigbee wireless home automation, Zigbee Whitepaper, Nov. 2006. [7] Y. Usha Devi, Wireless Home Automation System Using ZigBee, International Journal of Scientific & Engineering Research Volume 3, Issue 8, August-2012. [8] D. Brunelli, M. Maggiorotti, L. Benini, and F. L. Bellifemine, Analysis of Audio Streaming Capapbility of Zigbee Networks, in EWSN 2008, 2008, LNCS 4913, pp. 189-204. [9]( 2010) ucontrol Home security system website. [Cited 2010 14th Oct]. Available: http://www.itechnews.net/2008/05/20/ucontrol-home- security-system/. [10] (2010) ucontrol Home security system website. [Cited 2010 14th Oct]. Available:http://www.itechnews.net/2008/05/20/ucontrol-home- security-system/. 140