MICROCONTROLLER BASED SMART HOME WITH SECURITY USING GSM TECHNOLOGY



Similar documents
Microcontroller Based Home Security and Load Controlling Using Gsm Technology

DESIGN OF SMART HOME SECURITY SURVEILLANCE SYSTEM USING GSM

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

Intelligent Home Automation and Security System

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

DEVELOPMENT OF HOME SECURITY SYSTEM USING GSM MODULE

DEVELOPMENT OF INDIVIDUAL HOME SECURITY SYSTEM USING CAN AND ZIGBEE PROTOCOL

GSM Based Home Surveillance System

Development of a GSM based Control System for Electrical Appliances

Energy efficient Smart home based on Wireless Sensor Network using LabVIEW

A Review of Security System for Smart Home Applications

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

Design and Implementation of a Reliable Wireless Real-Time Home Automation System Based on Arduino Uno Single-Board Microcontroller

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

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

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

DESIGN OF SMS ENABLED CAR SECURITY SYSTEM

Users Manual of GSM Home Alarm System with Photo-taken

TX GSM SMS Auto-dial Alarm System. Installation and User Manual

Automated Security System using ZigBee

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

Wireless AUTODIAL GSM SMS Home Alarm Security System 900/ 1800/ 1900Mhz(CK-GSM-9003)

A ZIGBEE AND EMBEDDED BASED SECURITY MONITORING AND CONTROL SYSTEM

A Survey on Intelligent Home Security System Using GSM

SMS based Remote Control System

Smart Home Security System Based on Microcontroller Using Internet and Android Smartphone

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

Advanced Car Security System Using GSM

Invisible EYE for Security System

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

Accident Notification System by using Two Modems GSM and GPS

A Multilevel Home Security System (MHSS)

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

GSM ALARM SYSTEM USER MANUAL

Design of a GSM Cell Phone based Vehicle Monitoring & Theft Security System

Design of Wireless Home automation and security system using PIC Microcontroller

1. NON CONTACT DIGITAL TACHOMETER USING AVR MICROCONTROLLER 2. CELSIUS SCALE THERMOMETER USING Atmega BLACK BOX SECURITY SYSTEM FOR CAR USING

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

EMBEDDED GSM MONITOR AND CONTROL USING ANDROID APPLICATION

Design and Implementation of an Accidental Fall Detection System for Elderly

GSM Based Home Security System Using PLC

S100. GSM House Alarm System.

ONLINE HEALTH MONITORING SYSTEM USING ZIGBEE

ISSN: ISO 9001:2008 Certified International Journal of Engineering Science and Innovative Technology (IJESIT) Volume 2, Issue 3, May 2013

SIM300 GSM Module Controller For Smart Home

International Journal of Scientific & Engineering Research, Volume 5, Issue 5, May-2014 ISSN

GSM Gate Opener GSM Remote Switch RTU5015 User Manual

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

Smart Home System Using Android Application

SMS Based Wireless Home Appliance Control System (HACS) for Automating Appliances and Security. Abstract

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

Iphone & Android App Smart GSM Home Alarm System

Design,DevelopmentandPerformanceStudyofL-HomeSecuritySystem

Home Security System Design and Implementation

GE Concord 4 Quick User Guide

Research Article. ISSN (Print) *Corresponding author Nathan David

Cell Phone Based Liquid Inventory Management Using Wireless System

Welcome to a whole new level of interactive home security

ANDROID BASED SECURITY AND HOME AUTOMATION SYSTEM

APR-PRT3 Printer Module: C-Bus Programming Instructions

SECURITY & ACCESS CONTROL SYSTEM BASED PROJECTS

Modern Multipupose Security And Power Management System

GSM Based Electrical Control System for Smart Home Application

MOBILE CALL GSM alarm system

XFINITY HOME SECURITY

GPS & GSM BASED REAL-TIME VEHICLE TRACKING SYSTEM.

Home Passport Gateway Series Simplify your Life with Smart Solutions

GSM Gate Opener GSM Remote Switch RTU5015. User Manual. Ver 1.3 Date Issued: All rights reserved by King Pigeon Hi-Tech. Co., Ltd.

A Cellular Phone Based Home / Office Controller & Alarm System

Solution Ultima ICP-CC488 Home security you can rely on

Business/Home GSM Alarm System. Installation and User Manual

Nicholas Mezei CSCI 6448 OOA&D Homework #3: Use Cases. Use Case Diagram: Home Security System. Alarm System

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

FPGA Based Home Security System

Business/Home GSM. Alarm System(III) Installation and Users guide

Security GSM Alarm System USER MANUAL

Smart Thermostat page 1

INSTRUCTION MANUAL All-In-One GSM Home Alarm System SB-SP7200-GSM

Solution Ultima ICP-CC488 Home security you can rely on

Wireless Home Security System

Other 555 based and 8051 based projects...

User Manual CN2HK LIMITED. Complete Wireless Home Alarm Security System (CK-8806) ENG. Please read this manual before operating this product.

GSM AUTO DIALER. Remote Monitoring & Control using your mobile phone.

Agricultural Robot (Irrigation System, Weeding, Monitoring of Field, Disease Detection)

An Integrated Vision Based Home Security System

ACTIVE INFRARED MOTION DETECTOR FOR HOUSE SECURITY SYSTEM MIOR MOHAMMAD HAFIIZH BIN ABD. RANI UNIVERSITI MALAYSIA PAHANG

Raghavendra Reddy D 1, G Kumara Swamy 2

International Journal of Engineering Research & Management Technology

GSM Home Alarm System User Manual.

Collided Vehicle Position Detection using GPS & Reporting System through GSM

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

GSM HOME SECURITY SYSTEM

Keywords: GPS, GSM, AVR Microcontroller, SMS.

Quick Installation Guide LCD GSM ALARM SYSTEM LH

VR8. User Guide Intruder Alarm System

SIMPLIFIED HOME SECURITY AND CONTROL

Business/Home. GSM Alarm system

DESTINY 1/19/96 # A

Transcription:

MICROCONTROLLER BASED SMART HOME WITH SECURITY USING GSM TECHNOLOGY F. Shawki 1,2, M. El-Shahat. Dessouki 1,3, A. I. Elbasiouny 4, A.N. Almazroui 5, F. M. R. Albeladi 5 1 Assistant Professor, Electrical Engineering Department, Faculty of Engineering KAU, Rabigh, Saudi Arabia 2 Assistant Professor, Electronics & Electrical CommunicationsDept., Faculty of Electronic Eng., Menofiya University, Egypt 3 Assistant Professor, Electrical Engineering Department, Faculty of Engineering, Port said University, Egypt 4 Ph.D. Student, Electrical Engineering Department, Faculty of Engineering KAU, Rabigh, Saudi Arabia 5 BSC. Student, Electrical Engineering Department, Faculty of Engineering KAU, Rabigh, Saudi Arabia Abstract Smart home is a house that uses information technology to monitor the environment, control the electric appliance and communicates with the outer world. Smart home is a complex technology, at the same time it is developing. A smart home automation system has been developed to automatically achieve some activities performed frequently in daily life to obtain more comfortable and easier life environment. Security has becoming an important issue everywhere. Home security is becoming necessary nowadays as the possibilities of intrusion are increasing day by day. Safety from theft, and fire are the most important requirements of home security system for people. A traditional home security system gives the signals in terms of alarm. With the help of technology development, this research take a chance to implement these technologies to help people to protect and control their home appliance remotely.the purpose of this research is to create a system that make the surveillance of home devices easily. The technology that used in this research are GSM (Global System for digital mobile telecommunication ) and Microcontroller.The GSM module is used to communicate with the owner of the home whenever the sensor senses a fault, a specific message is sent to the owner in order to take a necessary action. The microcontroller is a tool that use a specific code to do some functions by using MikroC programmer. This project controls and monitors temperature, smoke, intrusion motion, magnetic lock door, garage door and irrigation. This project is expected to achieve, safety, save effort, save time, and easy devices control Keywords: Smart home, GSM module, magnetic lock, microcontroller --------------------------------------------------------------------***---------------------------------------------------------------------- 1. INTRODUCTION Smart home or automation home and security system has been developed last century, which began to be number one in the world for next decades. Smart home or home automation system using AT command and information technology to monitor home devices and control them (like temperature and motion) [1], [2]. Smart home is a complex system; however, it is very important because it can handle many home or office devices remotely and automatically. Moreover, this system allows the owner to control home devices from out home by using mobile network [3-5]. A smart home automation can turn on and off a fan, light, air condition and also can control the speed of fan with the help of a mobile controller according to user needs. Because mobile controlled home automation system provides a simpler solution of a Global System for Mobile GSM network. It will help to shut down the whole system, improves the convenience and comfort of the user while it provides security and energy efficiency[6-8]. GSM is used to digitalize a signal or data and transmit signal or data to the receiver. GSM module can be used to send the signal over a mobile in a fixed frequency to other mobile phone connected with the receiver. As the mobile network is available in most regions and low cost of message through mobile network, the SMS (short message service) is used to communicate with home devices. Protecting home, office and companies is one reason of exiting of all security companies. This project takes a chance to create a simple and smart system that protect homes, office and companies with less cost and high performance. 2. PROPOSED SYSTEM There are many sensors we have used in this system (like temperature sensor, motion sensor, etc). In order to make home energy efficient we also paid attention on home devices like fans and lights.moreover, the system also focus on outside environment such as main door, garage door and irrigation. The heart of this system is a PIC18F452 microcontroller which is controlling home devices. If the thermometer feels an increase in room temperature then an electrical signal is sent to microcontroller, the microcontroller takes a necessary action like turn the fan on which work as an airconditioning. In case, there is a smoke in home smoke sensor detects the smoke then send a signal to microcontroller to turn the extractor on, to take out the smoke from home. In case, the owner away from home, Volume: 04 Issue: 06 June-2015, Available @ http://www.ijret.org 20

he turns the motion sensor on. In order to detect the motion inside home while he away from home. If it detects a motion then send a signal to the microcontroller and microcontroller send a specific SMS message to the owner through GSM module. In order to take a necessary action like call the police station. Protection of home door is the important part in security system which is done in this system by using electromagnetic lock, LCD and keypad. The owner using keypad to enter the password which is displayed in LCD and if the password entered is correct then the electromagnetic lock is opened. Otherwise the password entered is wrong, the door will still locked.there are two ways of control for garage door which are wireless and manual. The first, wireless control is done by using GSM module technology that allow the owner to send a SMS message to GSM module then GSM module send a signal to microcontroller to open the garage door. The second, manual control which means there is a switch near garage door to open and close the door. The garden of house is the place where most people stay at rest time. This system including irrigation system for the garden, in order to take care of house garden. The irrigation is done by using pump which operates on timer. 3. HARDWARE DESIGN AND DEVELOPMENT 3.1 Block Diagram Figure 1 illustrates a block diagram of the planned smart home and security system design with its hardware components involved and connections. The main components are: Microcontroller (PIC 18F452), GSM, Keypad, LCD, LM293 driver, Door locker, and power supply. Power Supply Intrusion Sensor Smoke Sensor Temperature Sensor Keypad Motor Driver Microcontroller (PIC18F452) GSM MOdule SMS REALY Fig-1: Block Diagram of the Proposed System 3.2 Power Supply LCD EXTRATOR FOR SMOKE FAN (AIR CONDITIONING PUMP (IRRIGATION) GRARGE DOOR DOOR MAGNETIC LOCKER MOBILE Fig-2: Circuit Diagram of the power supply 3.3 Microcontroller Unit Microcontroller is a tool that use a specific code to perform all tasks and control of all home devices. We used "PIC18F452" microcontroller as the central controller unit of the system.we have chosen "PIC18F452" microcontroller for its easy programing, availability, and low cost. It has many features that support our project, (like 2 PWM 10-Bit flash type of program memory 32 KB program memory and other features see datasheet [9]. 3.4 GSM Module SIM (900) This device is used to communicate home with the owner through SMS Short Message Service. GSM is a new technology that use mobile network to send and receive SMS. It accepts a SIM card and operate in mobile network. We used in this project SIM 900 which has many features. It is a module that works on different frequencies like 850 MHz, 900 MHz, 1800 MHz and 1900 MHz. It can be directly connected to PC Serial port and interfaced with PIC microcontroller [10]. 3.5 Temperature Sensing Circuit This circuit monitors real time temperature data from one room continuously to keep the room temperature at the desired level. The room has its setting temperature. Above this setting value, the microcontroller sends message to the user s mobile phone that the temperature is high through GSM in the same time microcontroller turns the aircondition on to restore the room temperature. We used the DS18B20 digital thermometer, it provides 9-bit to 12-bit Celsius temperature measurements and has an alarm function with nonvolatile user programmable upper and lower trigger points. Circuit diagram of DC18B20 is shown in figure 3 Every electrical circuit needs a source to operate and do its functions. In this project we have made our own power supply to meet all the needs of power. It has the feature of having different voltage levels of (such as 5 V, 12 V, -12V, Adjustable (2-12) and USB port ) as shown in figure 2. Volume: 04 Issue: 06 June-2015, Available @ http://www.ijret.org 21

Fig-3: Temperature Circuit 3.6 Smoke Detection Circuit This circuit has been used to detect smoke in case of fire in the corresponding room. In our project, we designed our own smoke detector circuit instead of buying smoke sensor for reducing cost purpose. With the advantage of electronics, we use a phototransistor and resistances as smoke sensor to detect the smoke in home; the circuit diagram is indicated in figure 4. If there is a smoke in home the detector will sense it and send signal to the microcontroller to turn the extractor on in order to take smoke out of home, furthermore, it sends a message for the owner s mobile phone number through the GSM module in order to take necessary decision. Fig-4: Smoke Sensor Circuit Volume: 04 Issue: 06 June-2015, Available @ http://www.ijret.org 22

3.7 Motion Detector Circuit PIR sensors allow you to sense motion, usually used to detect whether a human has moved in or out of the sensors range. They are often referred to as PIR, "Passive Infrared", "Pyroelectric", or "IR motion" sensors PIRs are basically made of a pyroelectric sensor, which can detect levels of infrared radiation. PIR sensor detects the motion inside home if there is any motion in its range. The signal is sent to microcontroller which has two actions, the first one is to send SMS message to the owner and the other is to turn the light on. We programmed two operating modes for PIR sensor. In case, there is no body at home the owner will turn the PIR sensor on when he/she left home by Keypad. He enters his password and press D to change the PIR sensor state. In case, the owner is in side home he changes the PIR sensor state in order to stop receiving messages. 3.8 Magnetic Lock System An electromagnetic lock, magnetic lock, or maglock is a locking device that consists of an electromagnet and an armature plate. Typically, the electromagnet portion of the lock is attached to the main doorframe and a mating armature plate is attached to the main door. The two components are in contact when the door is closed. When the electromagnet is energized, a current passing through the electromagnet creates a magnetic flux that causes the armature plate to attract to the electromagnet, creating a locking action. Because the mating area of the electromagnet and armature is relatively large, the force created by the magnetic flux is strong enough to keep the door locked even under stress. When the owner arrives home, he must enter password to cut off the power on the electromagnet in order to open the door. If the password is wrong, the door will still lock. Table -1: System functions status Sensor/Object Status ON OFF Main door Green Black Motion sensor Yellow Black Smoke sensor Yellow Black Temperature sensor Red Black Garage door Blue Black Irrigation system Red Black 4.1 Mani Door Protection of home main door is the important part in security system which done in this system by using electromagnetic lock in conjunction with keypad. The owner using keypad to enter the password which is display on LCD and if the password entered is correct then the electromagnetic lock is opened. Otherwise the password entered is wrong, the door will still locked, as shown in below figures 5,6,7. 3.9 Garage Door In this project we came up with an idea that using mobile network in controlling the garage door by the owner for parking. The owner sends a SMS message to the microcontroller through GSM module then microcontroller sends a signal to door s motor to open. 3.10 Irrigation In this project, we have implemented a simple irrigation system on house garden since some people has no time to take care of their gardens. This project will help them to take care of gardens without effort. 4. SYSTEM SIMULATION AND RESULTS The overall poroposed smart home system containing main door, motion detection, smoke detection, temperature sensor, garage door, and irrigation system are simulated by using proteus7 window, Table 1 illustrates system functions status for our project. Volume: 04 Issue: 06 June-2015, Available @ http://www.ijret.org 23

Fig-5: Entering password Fig-6: Access granted Volume: 04 Issue: 06 June-2015, Available @ http://www.ijret.org 24

Fig-7: Access denied 4.2 Motion Detection In case, the owner is away from home, he turns the motion sensor on in order to detect the motion inside home during his absence. If it detects a motion then it sends a signal to the microcontroller and microcontroller send a specific SMS message to the owner through GSM module in order to take a necessary action like call the police station and turn lights on in parallel. Figure 8 indicate this condition. Fig-8: Detecting Motion inside home. Volume: 04 Issue: 06 June-2015, Available @ http://www.ijret.org 25

4.3 Smoke Detection In case, there is a smoke in home smoke sensor detects the smoke then sends a signal to microcontroller to turn the extractor on, to take out the smoke from home, as shown in figure 9. Fig -9: Smoke sensor ON 4.4 Temperature Sensor If the thermometer detects an increase in room temperature, it sends control signal to the microcontroller interfaced to it, hence the microcontroller take necessary action like turn the fan on which is work as an air-conditioning to maintain the room temperature at the desired value, as shown in figure 10. Fig-10: Simulation of air-condition on for cooling Volume: 04 Issue: 06 June-2015, Available @ http://www.ijret.org 26

4.5 Garage Door In this project we control garage door by two ways; wireless and manually. Wireless control is done by using GSM module technology that allow the owner to send a SMS message to GSM module then GSM module send a signal to microcontroller to open the garage door. while in manual control which means there is a switch near garage door to open and close the door, as shown in figure 11. 4.6 Irrigation System The irrigation control system is done by using pump which operates on timer as shown in figure 12. Fig-11: Garage door open Fig-12: Irrigation system Volume: 04 Issue: 06 June-2015, Available @ http://www.ijret.org 27

Our proposed prototype for smart home is implemented and is illustrated in figure 13 &14 and the mobile station. The mobile phone did not need to have any special application or hardware to be used as a mobile station. Any mobile phone supporting the SMS could be used as a mobile station. The developed GSM based security system gives good response to the sensor and sends SMS when it detects the fire or temperature is increased above desired level. As well, it can send a message to the user for action when the owner is out of station and the home is locked which helps us to keep more secure of our home. Moreover, owner can control loads (on/off) automatically by mobile using GSM technology from anywhere. Flexibility with the technical customization and economy are the main advantages of the design.this project will have a large effect to the living standard of human being. In the system, a lot of other features can be added to the user's requirement depending upon the situation. REFERENCES [1]. E Wong A Phone-Based Remote Controller for Home and Office Automation, IEEE Trans Consumer Electron, Fig-13: Plan 3d view of smart home prototype vol.40, No. 1, pp. 28-33, 1995. [2]. J. Burroughs, X-10 home automation using the PIC16F877A, Lamp, vol. 10, article 10, 2010. [3]. A. Z. Alkar, and U. Buhur, "An Internet Based Wireless Home Automation System for Multifunctional Devices,"IEEE Transactions on Consumer Electronics, vol. 51, no.4, pp. 1169-1174, 2005. [4]. Piyare, R., Tazil M., Bluetooth based Home AutomationSystem using Cell Phone, IEEE 15 th International Symposium on Consumer Electronics, pp. 192-195, 2011. [5]. Jayashri Bangali and Arvind Shaligram Design and Implementation of Security Systems for Smart Home based on GSM technology, International Journal of Smart Home Vol.7, No.6 (2013), pp.201-208. [6]. Yuksekkaya, B., Kayalar, A.A., Tosun, M.B., Ozcan, M.K., Alkar, A.Z., A GSM, Internet and Speech Controlled Wireless Interactive Home Automation System, IEEE Transactions Consumer Electronics, vol. 52, no. 3, pp. 837-843, 2006. [7]. Y. Zhao and Z. Ye, A Low Cost GSM/GPRS Based Fig-14: Front 3d view of smart home prototype Wireless Home Security System, IEEE Transactions on Consumer Electronics, vol. 54, no. 2, pp. 567-572, 2008. 5. CONCLUSION [8]. GSM Based Home Automation with Security (Using Microcontroller) Dr. Shaik Meeravali 1, P. Sai Prasad 2 Our project goal was to implement a smart home system by International Journal of Engineering Research controlling the electronic devices at home remotely with a &Technology (IJERT) Vol. 2 Issue 9, September - mobile phone and to receive alerts on intrusion and 2013ISSN: 2278-0181. movement around restricted places. The goal was achieved [9]. http://www.microchip.com/wwwproducts/device successfully. The devices were controlled by sending s.aspx?product=pic18f452 instructions as an SMS and the alerts were received as [10]. http://www.rhydolabz.com/documents/gps_gsm/si an SMS as well. A passive infrared sensor were used as 900_rs232_gsm_modem_opn. pdf detectors to detect the intrusion and movement around the restricted premises respectively. A temperature sensor was used as a heat detector and a led light was used to show the demonstration of an electronic device management. SIM900 GSM module was interfaced withpic18f452 microcontroller properly. The SIM900 GSM module was used for communication between the microcontroller unit Volume: 04 Issue: 06 June-2015, Available @ http://www.ijret.org 28