Design and Installation of Home Automation and Security System Using Microcontroller and ZigBee Modulation

Similar documents
GSM MODULE BASED SMART NOTICE BOARD

3 PHASE FAULT ANALYSIS WITH AUTO RESET FOR TEMPORARY FAULT AND TRIP FOR PREMANENT

POWER SAVER METER USING MICROCONTROLLER TO SAVE ELECTRICITY UPTO 30-40%

INTELLIGENT APPLIANCE CONTROL SYSTEM USING ARM7 AND ZIGBEE

ARDUINO MEGA INTRODUCTION

DTMF BASED HOME AUTOMATION

Keywords Digital IC tester, Microcontroller AT89S52

International Journal Of Advanced Research In Engineering Technology & Sciences

PREPAID ENERGY METER

AVR Microcontrollers Architecture

Design and construction of ENP for Car : a novel Embedded System

A Low-Cost Energy Management System That Compares Power Consumption of Electronic Home Appliances

An Ethernet Based Control and Monitoring System Using ARM Processor

Microcontroller Based Code Locking System with Alarm

Solar Based E Uniform For Soldiers-Used For Temperature Control And Tracking

Transmission Line Security System Based on RFID and GSM Technology

MONITORING AND CONTROLLING OF ELECTRICAL MACHINES AND ELECTRICAL APPLIANCES BY USINGWI-FI BASED ANDROID APPLICATION

Design and Development of SMS Based Platform for Controlling Stepper Motor

Home Automation control system using SMS

Clock and Fuses. Prof. Prabhat Ranjan Dhirubhai Ambani Institute of Information and Communication Technology, Gandhinagar

Touch screen and Zigbee based Home automation system

Arduino Uno R3 INTRODUCTION

MICROCONTROLLER BASED LPG GAS DETECTOR USING GSM MODULE

DTMF BASED INDUSTRIAL AUTOMATION

A UNIVERSAL REMOTE CONTROLLER WITH HAPTIC INTERFACE FOR CUSTOMER ELECTRONIC DEVICES

VLSI Design Lab., Konkuk Univ. Yong Beom Cho LSI Design Lab

MICROCONTROLLER BASED AUTOMATIC PLANT IRRIGATION SYSTEM

Development of Intelligent Vehicle Network for safety Applications

Tampering Detection Of Energy Meter By Gsm Modem

MT2 Introduction Embedded Systems. MT2.1 Mechatronic systems

Controlling and Monitoring Of Industrial Parameters by Using GSM

SECURITY FOR ORGANIZING GSM DIGITAL NOTICE BOARD Dr. Sreeja Mole S S 1, D.Gurunath 2, Yasmeen 3

USE OF GSM TECHNILOGY TO CONTROL THE SPEED OF STEPPER MOTOR

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

MODERN SYSTEM TO PROTECTION AN ELECTRICAL TRANSFORMER

AVR Training Board-I. VLSI Design Lab., Konkuk Univ. LSI Design Lab

SECURE DIGITAL ACCESS SYSTEM USING IBUTTON

GSM Based ClassRoom Power Control

ATmega128. Introduction

Mohammad Shaffi 1, D Ravi Nayak 2. Dadi Institute of Engineering & Technology,

8051 Microcontroller

IOT Based Motor & Pump Monitoring System

Design & Interface of Voice Module for Deaf and Dumb

Embedded Technology for Remote Data Logging, Monitoring and Controlling Using GSM/GPRS

C H A P T E R 1 INTRODUCTION

Alcohol Detection using Pic Microcontroller

AUTOMATIC SPRAYING AND PAINTING ROBO

Vikas Kumar, EE Department, BKBIET, Pilani, Rajasthan, India

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

WIZTECH AUTOMATION SOLUTIONS (P) LTD., An ISO 9001:2000 and IAO certified company

International Journal of Advance Engineering and Research Development REAL TIME VEHICLE TRACKING SYSTEM USING GSM MODEM AND GPS MODULE

PC Based Wireless Supervisory Control and Data Acquisition System

Robotic Systems ECE 401RB Fall 2007

Electro Visits in Primary Care, Schedulling Policies, Modelling and its Analysis

AT89S8252 Development Board V1.0. Manual

Home Automation Using Smartphone Application

Automatic Power Supply from Four Different Sources without Interruption

Wireless Home Control System

AC : INFRARED COMMUNICATIONS FOR CONTROLLING A ROBOT

CHAPTER 1 MICROCOMPUTER SYSTEMS. 1.1 Introduction. 1.2 Microcontroller Evolution

INTELLIGENT HOME: SMS BASED HOME SECURITY SYSTEM WITH IMMEDIATE FEEDBACK

Getting to know the Arduino IDE

MCS-51 Microcontroller Based Industrial Automation and Control System using CAN protocol

Modules For Six Months Industrial Training On WIRELESS EMBEDDED SYSTEM DESIGN

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

MICROPROCESSOR BASED SYSTEM DESIGN

WIFI ENABLED SMART ROBOT

Lecture 14. Ali Karimpour Associate Professor Ferdowsi University of Mashhad

Introduction to Microcontroller Apps for Amateur Radio Projects Using the HamStack Platform.

MicroProcessor. MicroProcessor. MicroProcessor. MicroProcessor

Voice Recognition Automation through an Android Application

AVR- M16 development board Users Manual

COMPUTER BASED DEVICE CONTROLLING USING ZIGBEE

Driver Fatigue Detection System Using MEMS Technology

PROGRAMMING AND CUSTOMIZING

Robotic Systems ECE 401RB Fall 2006

Intelligent Device to Device Communication for Home Appliances Using IoT

Microcontrollers for Ham Radio

The industrial technology is rapidly moving towards ARM based solutions. Keeping this in mind, we are providing a Embedded ARM Training Suite.

INSTITUTO SUPERIOR TÉCNICO. Architectures for Embedded Computing

Computer Hardware Requirements for ERTSs: Microprocessors & Microcontrollers

To be familiar with the USART (RS-232) protocol. To be familiar with one type of internal storage system in PIC (EEPROM).

VOICE CONTROLLED WIRELESS HOME AUTOMATION SYSTEM

ANDROID BASED VOICE CONTROLLED SMART WHEELCHAIR

Wireless Communication Using Zigbee Module and Aurdino

JOURNAL OF INFORMATION, KNOWLEDGE AND RESEARCH IN ELECTRICAL ENGINEERING (ISSN: ISSN , GIF: , SIF: )

Embedded Systems Lab Lab 1 Introduction to Microcontrollers Eng. Dalia A. Awad

Invisible Eye- An Advanced Security System

Voice Operated Home Automation for Senior Citizens

Wireless Colour Sensing Arm Robot

DUALGSM MODEMS BASED IRRIGATION WATER PUMP CONTROLLER FOR ILLITERATES

Network Embedded Systems Sensor Networks Fall Hardware. Marcus Chang,

Embedded Systems. Software Development & Education Center. (Design & Development with Various µc)

Smart Power Flow Monitoring and Control

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction.

Wi-Fi Based Remotely Operated Smart Home Automated System using the Concept of Internet of Things

PROGRAMMABLE POWER SUPPLY

AUTOMOBILE APPLICATIONS USING CAN PROTOCOL

CoiNel Technology Solutions LLP. LPC2148 ARTIST Instruction Manual LPC2148 ARTIST. Instruction manual. Revision 1

Z8 Encore! XP F1680 Series 8-Bit Flash Solution with Extended Peripherals

Transcription:

Design and Installation of Home Automation and Security System Using Microcontroller and ZigBee Modulation Bhargav Mypati, Naseer Ahamed, Gopa Sai Chandra School of Electrical Engineering (SELECT), VIT UNIVERSITY, Vellore-14, Tamil Nadu, India. Abstract-Technology has developed in the field of electronics, and brought tremendous changes in the day to day life. Advancement of technology, things are becoming simpler and easier day-by-day. Automatic systems are opted over manual system. This paper deals with the INTELLIGENCE OF HOME AUTOMATION SYSTEM (IHAM) which is developed using microcontroller with the ZigBee module wireless and GSM network, technology that control home appliance. The automation centres with recognition of voice commands and uses low power to control all lights and electrical appliances in home or office using HM2007 chip. This paper gives the overall framework of hardware and software designs. Also it explains security system for fire hazards that may occur through smoke sensor or GSM module and it is control by the same controller that send SMS to the user if the smoke is detected. Index terms:- 8051 microcontroller, ADC,Automation, GSM module, HM2007 chip, LCD display, LDR, relay,sensors, stepper motor, ZIGBEE module. I. INTRODUCTION Technology has been developed in the field of electronics, has brought tremendous changes in the day to day life. Advancement of technology things are becoming simpler and easier for every human living. Home automation become more popular and introduces many technologies for mobile communication for controlling the home appliances. ZIGBEE is developed in recent years, a short range wireless communication module with low data, low power, short distance, low cost, and safe and reliable. This paper presents a home automation system based on ZIGBEE technology. The Central Processing Unit for the 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. Through this paper we have tried to show automatic control of a house, so that we can reduce power usage to some extent. II. HOME AUTOMATION In recent days home automation is one of the greatest development that current technology has achieved. Home automation is simply control of almost all electrical devices. Recent days we have many products that controls automatically, or by using remote controller, or by voice command also. Home automation also referred as Demotic is a residential extension of "building automation". It can control lighting, ventilation system, air conditioning, and many more for the comfort and security of the consumer. Integration of devices is possible through Home automation along with control of domestic activities like home entertainment system, yard watering, and domestic robots etc. these devices can be controlled through a personal computer or with remote with the help of internet access. In recent days a typical new home will be outfitted with the home automation during construction for various reasons like accessibility of walls and to equip in the decorative manner which will reduce cost of wiring and changes in them. III. NEED FOR HOME AUTOMATION In previous paragraphs we have discussed about the advantages of the home automation and its installation. Here we discuss why we actually need HOME AUTOMATION. a) An automated device can reduce the human effort and can reduce the error of due to humans. JETIR1504030 Journal of Emerging Technologies and Innovative Research (JETIR) www.jetir.org 1013

Replacing human effort can be both physical and psychological The replacing can be done where there is a dangerous environment like volcanoes, space and many more Performing the tasks which are beyond the human capacity. b) This is why the current paper looks into construction and its implementation IV. SUPPLY UNIT Supply unit is the source for the any electronic device. We are using 1-VOLT DC SUPPLY to the system which gives the required power to the whole system. The main components required for the system are: A. TRANFORMER B. RECTIFIER C. INPUT FILTER D. REGULATOR E. OUTPUT FILTER F. OUTPUT INDICATION G. CONTROL UNIT Fig.1 Source input for the Automation system A. TRANSFORMER: The main source for the system is a transformer. The output power supply is completely depend on the maximum output power of transformer. As we know power is depend on the current and voltage ratings. eg: If the transformer current and voltage ratings are 10V,500mA then maximum power delivered by transformer is 5watt. It means the system can drive a load up to 5watt. In our project maximum power required is 1watt. So to get 1watt power we use 12V, 250mA transformer. So the maximum output power of this transformer is 4watt. That means it can drive a load up to 4watt. B. RECTIFIER: Rectifier is used to convert ac signal into dc signal. For every electronic device it requires DC supply, so we are using four diodes to get DC supply to the system. C. INPUT FILTER: JETIR1504030 Journal of Emerging Technologies and Innovative Research (JETIR) www.jetir.org 1014

After rectification we will get DC supply but it is not pure DC supply. It may contain some AC ripple. AC ripple may be low frequency ripple or high frequency ripple. To reduce these ripples we have to use electrolytic capacitor. The capacitor voltage rating should be double from the incoming DC supply. So that it will blocks DC and supply ripple to the ground. D. REGULATOR: Regulators are the devices which gives constant output with varying input. There are two types of regulators i) FIXED-VOLTAGE REGULATOR ii) ADJUSTABLE REGULATOR We have used fixed voltage regulator that is LM78XX whereas last two digits refer to output voltage. The voltage for our system is 5V.so we have used 7805 regulator which gives 5V from the 12V dc supply. E. OUTPUT FILTER: After the input filter still ripples are present means it rectify the ripples. F. OUTPUT INDICATION: By the name itself we can say it indicates the output of the system. We used LED for the indication. If LED glows means the system is working under proper condition of our supply. This supply is for the display, relay and microcontroller unit. The microcontroller requires 5V supply to desired task. G. CONTROL UNIT: Here we used two control unit one for the internal control unit and for the external control unit where as these control unit are based on ATMEL'sAT89S52 microcontroller (below fig). The give diagram will show the functional pins and basic requirement of microcontroller to make it functional. AT89S52 is an ATMEL microcontroller with the core of INTEL MCS-51. The pin configuration is show above figure. It is a low power, high performance CMOS 8-bit microcontroller with erasable read only memory and 8k bytes downloadable flash programmable and 2k bytes of EEPROM. It is compatible of 8051 instruction set and pin output. Fig.2 Pin diagram of the Microcontroller JETIR1504030 Journal of Emerging Technologies and Innovative Research (JETIR) www.jetir.org 1015

The downloadable flash of On-chip allows the program memory to be reprogrammable in the system through the SPI serial interface or by the conventional non-volatile memory programmer. By combining the 8-bit CPU with downloadable flash on a monolithic chip, the Atmel AT89S52 is a very powerful microcomputer and which provides a highly flexible cost effective and highly flexible solution to many embedded control applications. The Atmel AT89S52 gives the following standard features: 8K bytes of 2K bytes of EEPROM, 256 bytes of RAM, Downloadable Flash32 I/O lines, two Data Pointers, Programmable watchdog timer, three 16-bit timer/counters, a six-vector two-level Interrupt, on-chip oscillator, serial port, a full duplex and clock circuitry. The AT89S52, it is designed in such way that the static logic for operation get down to zero frequency and it supports to two software selectable power saving mode. While in the idle mode it stops the CPU while it allows the timer/counter, RAM, serial port, and interrupt the system to continue functioning. The power down mode it saves the RAM contents, but it freezes the oscillator, disabling the all other chip functions until hardware reset or next interrupt. The downloadable flash can be changed into a single byte at a time and it is accessible through the SPl serial interface. The holding reset active, forces the SPI bus into a serial interface and it allows the program memory to read or to write from unless Lock Bit 2 has been activated. V. DISPLAY UNIT FEATURES: 8K bytes of reprogrammable downloadable flash memory Endurance (1000 write/erase cycles) compatible with MCS-51 product Fully static operation 4V to 5.5V operating range 256x8 bit internal memory Three 16 bit Timer/Counter Interrupt recovery from power down mode low power Idle and power down mode SPI serial interface for program downloading ADVANTAGES Low cost Less power consumption High speed Less space required JETIR1504030 Journal of Emerging Technologies and Innovative Research (JETIR) www.jetir.org 1016

Fig.3 Display unit of Automation VI. WHAT CAN BE AUTOMATED Anything in the office/home that is powered with electricity can be controlled or automated. We can control all our electrical devices and we can turn on lights automatically when someone approaches Fig.4 Automatic System VII. ZIGBEE PROTOCAL: JETIR1504030 Journal of Emerging Technologies and Innovative Research (JETIR) www.jetir.org 1017

To monitor the system we need a Wi-Fi connection to get control over the electronic gadgets, so that we are using ZIGBEE protocol. The system implements the wireless network communication with radio frequency modulation. It is the one of the communication protocols that is proposed in the system. It provides 250kbps as maximum baud rate, but we can still use it up to 1151200 bps was used for receiving and sending with high speed. We can use wireless communication for control this appliances. It is communicate with 250kbs, but 40kbps is more than sufficient for controlling the home automation devices. The below depicts the general block diagram of the ZigBee based home automation of the system. Fig.5 Block diagram of automation system VIII. SOFTWARE DESIGN OF THE SYSTEM As the microcontroller is used as the central processing unit of the system. We can write the program for the integrated chip in embedded C programming language. The software is developed in module and it is integrated for all implementation of the system. A. DATA FROM HM2007 i) The data from speech recognition module and it is stored in a separate memory location. ii) Compare the command speech with the switch case statement in the program, so that the command for the particular appliance is triggered through the wireless communication. B. ZIGBEE COMUNICATION i) Initialize the serial communication register ii) Transmit all the data serially through ZigBee module by placing it in TXREG register iii) At the receiver side, it receives the data through RCREG register and it is stored in a separate memory location iv) Turn ON or turn OFF the relay depending on the received data C. GSM MODULE AND SMOKE DETECTION i) For the smoke detector sensor the ADC register are initialized and voltage which is obtained in the analogy input pin of the controller JETIR1504030 Journal of Emerging Technologies and Innovative Research (JETIR) www.jetir.org 1018

ii) The ADC value is compared and processed with the predefined value for triggering the GSM module by sending the data signal to the RS 232 in the controller and we make use of the another serial peripheral register for this purpose. Fig.6 Flow Chart for the software development IX. CONCLUSION: Home automation is based on the voice recognition which uses PIC microcontroller as the central processing unit which was explained in this paper. The system is completed focused on at differently abled people and elderly people. The prototype which is developed can control electrical appliance in an office or home. This system implement the voice recognition unit using HM2007 and also the system implement wireless network using ZigBee radio frequency module for their efficiency and low power consumption. The security system is mainly useful in the case of the fire accident at the home. X. REFERENCES: [1] Christopher hallinan, Embedded Linux Primier, A Practical Real World approach second Edition, Posts & Telecom Press, 2008.8:5~9. [2] 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 [3] E.Kinney P. Gordy, L. Hester, J. A. Gutierrez, M. Naeve, B. Heile, and V. Bahl, Home networking with IEEE 802.15.4. [4] ZigBee Alliance, ZigBee vision for the home: Zigbee wireless home automation, Zigbee Whitepaper, Nov. 2006. [5] Y. Usha Devi, Wireless Home Automation System Using ZigBee, International Journal of Scientific & Engineering Research Volume 3, Issue 8, August-2012. [6] Brunelli, M. Maggiorotti, L. Benini, and F. L. Bellifemine, Analysis of Audio Streaming Capability of ZigBee Networks, in EWSN 2008, 2008, LNCS 4913, pp. 189-204. [7] "U.S. Patent 613809: Method of and apparatus for controlling mechanism of moving vessels and vehicles". United States Patent and Trademark Office. 1898-11-08. Retrieved 2010-06-16. [8] William C. Mann (ed.) Smart technology for aging, disability and independence : the state of the science, John Wiley and Sons, 2005 0-471-69694-3, pp. 34-66 [9] "Home automation costs". Totalavcontrol.co.uk. Retrieved 2010-02-18. JETIR1504030 Journal of Emerging Technologies and Innovative Research (JETIR) www.jetir.org 1019