Android Interface based GSM Home Security System



Similar documents
DESIGN OF SMART HOME SECURITY SURVEILLANCE SYSTEM USING GSM

Intelligent Home Automation and Security System

Automated Security System using ZigBee

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

Development of a GSM based Control System for Electrical Appliances

Original Research Articles

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

ANDROID BASED SECURITY AND HOME AUTOMATION SYSTEM

ONLINE HEALTH MONITORING SYSTEM USING ZIGBEE

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

Android based Secured Vehicle Key Finder System

MICROCONTROLLER BASED SMART HOME WITH SECURITY USING GSM TECHNOLOGY

Stellaris Based Integrating Web Servers in Embedded Applications

EMBEDDED GSM MONITOR AND CONTROL USING ANDROID APPLICATION

Fig. 1 BAN Architecture III. ATMEL BOARD

Smart Home System Using Android Application

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

WEB-BASED REAL TIME DATA ACQUISITION AND INTERACTIVE CONTROL OF APPLIANCES USING ETHERNET CONNECTIVITY

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

Accident Notification System by using Two Modems GSM and GPS

A Review of Security System for Smart Home Applications

A ZIGBEE AND EMBEDDED BASED SECURITY MONITORING AND CONTROL SYSTEM

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

Priority Based Pre-emptive Task Scheduling for Android Operating System

Design of Wireless Home automation and security system using PIC Microcontroller

DEVELOPMENT OF INDIVIDUAL HOME SECURITY SYSTEM USING CAN AND ZIGBEE PROTOCOL

A MASSIVE VEHICLE THEFT CONTROL SYSTEM USING EMBEDDED AND MOBILE TECHNOLOGIES

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

DESIGN OF SMS ENABLED CAR SECURITY SYSTEM

Plc Based Monitoring and Controlling System Using Wi-Fi Device

DESIGN AND IMPLEMENTATION OF ONLINE PATIENT MONITORING SYSTEM

DEVELOPMENT OF HOME SECURITY SYSTEM USING GSM MODULE

A Multilevel Home Security System (MHSS)

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

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

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

International Journal of Computer Engineering Science (IJCES)

Raghavendra Reddy D 1, G Kumara Swamy 2

Energy efficient Smart home based on Wireless Sensor Network using LabVIEW

Real Time Implementation of Home Automation Using FPGA

SMS Alarm Messenger. Setup Software Guide. SMSPro_Setup. Revision [Version 2.2]

SMS based Remote Control System

A Digital Door Lock System for the Internet of Things with Improved Security and Usability

GSM Based Electrical Control System for Smart Home Application

Bluetooth Based Home Automation and Security System Using ARM9

Protected Cash Withdrawal in Atm Using Mobile Phone

Smart Queue Management System Using GSM Technology

Gilsson AlwaysFind Web Base Fleet Management AVL & Personal GPS Trackers

SIM300 GSM Module Controller For Smart Home

Keywords: GPS, GSM, AVR Microcontroller, SMS.

WA Manager Alarming System Management Software Windows 98, NT, XP, 2000 User Guide

Display Message on Notice Board using GSM

A Novel Solution for Remote Monitoring of Electrical and Electronic Gadgets

GSM HOME SECURITY SYSTEM

GSM Based Home Security System Using PLC

FPGA Based Home Security System

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

WITURA CORPORATION SDN BHD

User-Controlled Low Power Home Surveillance System

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

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

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

999GPS Tracking Platform Operation Guide

CMR Journal of Engineering and Technology Vol.1 Issue.1 January 2016

Advanced Car Security System Using GSM

SHORT COMMUNICATION Vehicle Tracking and Theft Control Using GSM and GPS

GPS & GSM BASED REAL-TIME VEHICLE TRACKING SYSTEM.

Design and Implementation of an Accidental Fall Detection System for Elderly

A MULTI SENSOR REMOTE HOME SECURITY SYSTEM USING LabVIEW

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

Nagpur, Maharashtra, India

Car Authentication and Accident Intimation System Using GPS and GSM

Electronic Eye for Security System

Cell Phone Based Liquid Inventory Management Using Wireless System

Research Article Surveillance System Based On Raspberry Pi for Monitoring a Location Through A Mobile Device

Modern Multipupose Security And Power Management System

Home Security System Using Gsm Modem

What you don t know about industrial GSM/GPRS modem communications

Futuristic Cart For Shopping With Product Inventory Management System

VEHICLE MONITORING CONTROLLING AND TRACKING SYSTEM BY USING ANDROID APPLICATION

COPYRIGHT RESERVED TEAM MYSTERIOUS MANIACS HOME AUTOMATION via BLUETOOTH (Using ANDROID PLATFORM)

AN INTERNET OF THINGS (IOT) BASED SECURITY ALERT SYSTEM USING RASPBERRY PI

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

Keywords ATM Terminal, Finger Print Recognition, Biometric Verification, PIN

GSM Gate Opener GSM Remote Switch RTU5015 User Manual

Design and implementation of modular home security system with short messaging system

Global System for Mobile Communication Based Smart Home Security System

An Introduction to MPLAB Integrated Development Environment

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

THE INTERNATIONAL JOURNAL OF SCIENCE & TECHNOLEDGE

Temperature & Humidity SMS Alert Controller

Implementation of Wireless Gateway for Smart Home

How To Track A Vehicle With A Smart Vehicle Tracking System

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

STATUS POWER MONITOR ALARM SOS DISARM

REMOTE CONTROL AND MONITORING OF AN INDUCTION MOTOR

Remote Monitoring, Controlling and Lost Hardware Detecting through GSM

An Integrated Vision Based Home Security System

RTOS based Home Automation System using Android

Transcription:

Android Interface based GSM Home Security System Rupam Kumar Sharma Ayub Mohammad Himanka Kalita sun l_rupaml@yahoo.com ayub.mohammadl028@gmail.com himanka.kalita.official@gmail.com Department of Computer Science and Engineering Don Bosco College of Engineering & Technology (DBCET) Guwahati, India Dhiraj Kalita dhiraj.sanju@gmail.com Abstract- The security of one's belongings when a person leaves his/her house is always a concern with increasing number of incidents of theft, robbery etc. Many automated systems has been developed which informs the owner in a remote location about any intrusion or attempt to intrude in the house. 8051 has been extensively used in past projects. However, this paper looks into the development of an ANDROID application which interprets the message a mobile device receives on possible intrusion and subsequently a reply (Short Message Service) SMS which triggers an alarm/buzzer in the remote house making others aware of the possible intrusion. Index Terms-ANDROID, Short Message Service (SMS), Global Communication for mobile system (GSM). 1. INTRODUCTION Controlling home appliances remotely with mobile applications have started becoming quite popular due to the exponential rise in use of mobile devices. There have been so many applications that exploit the use of GSM/GPRS facility of the handset [5]. Mobile handsets today are essentially handheld computers with integrated mobile radio communication capabilities. With increasing usage of GSM, network services are expanded beyond speech communication to incorporate many other custom applications, machine automation and machine to machine communication. This paper discusses an approach where an authorized remote mobile user receives an SMS when a third party tries to enter his house in a remote location. The minimum requirement at the user end is that the mobile device should have an ANDROID OS. ANDROID is a java based operating system which runs on the Linux 2.6 kernel. It's lightweight and full featured. ANDROID applications are developed using Java and can be ported to new platform easily thereby fostering huge number of useful mobile applications [6]. A hardware circuit with a switch and a GSM modem embedded is installed and connected to the door of the house. When the intruder tries to open the door, the switch triggers an interrupt and subsequently sends a signal into the microcontroller which subsequently triggers the GSM modem to transmit a warning SMS into already registered number in the modem. The SMS on the users' end is interpreted by the ANDROID Application and if it finds that the SMS is from the designated number; the application immediately informs the person with a frequent pop-up menu. If the user positive acknowledge the pop-up in 1 minute, an acknowledgement is send back to the remote GSM modem. The modem outputs an interrupt to the microcontroller and the microcontroller subsequently triggers an alarm. If the user fails to acknowledge in the defined time interval, an automatic positive acknowledgement is send by the application to the modem and the activities follow. II. EXISTING METHODOLOGY A lot many Home automation systems are available in the market. Different approach has been proposed at different times. However, Home automation system using ANDROID is still ongoing research project field. Google is trying to join home control arena with ANDROID application. Two of the approaches relevant to the topic are listed below. A. Design and Implementation of Home Automation System [4]. In this paper presented by A. Alheraish, Member, IEEE, a design and implementation of remote control system by means of GSM cellular communication network is described. This design integrates the device to be controlled, the microcontroller, and GSM Module so that it can be used for a wide range of applications. The proposed M2M design in this paper uses a PC as the terminal user instead of microcontroller. In such a design, GSM dialup and communication protocol is embedded in the PC. The M2M microcontroller interacts with the M2M engine, embedded with the SIM card. The information that will be sent to the network has to be taken to a microcontroller to make the interface between the machine and M2M engine. They had used different modules such as check and read message module,which check any received message from the M2M module using AT commands, a decode module which decodes the text message and excludes all other details such as date, time and sender's name. B. A mobile-based home automation system [3]. In this paper presented by M. Van Der Werff, X Gui, W.L. Xu, Massey University, New Zealand; they had proposed a system consisting of java-enabled mobile phone, a cellular modem, and a controller board incorporating a microcontroller. The mobile phone serves as a remote 978-1-4799-2900-9/14/$31.00 2014 IEEE 196

control through which a user can interact with the home automation system. III. PROPOSED METHODOLOGY The Block diagram of the proposed methodology is shown in Fig. 1. A switch is attached to the door which detects any intrusion attempted by intruders and interrupts the 8051 microcontroller. The 8051 interrupts the GSM modem and the modem sends a pre-configured warning SMS to the mobile phone in the remote location [9]. The ANDROID application pre-loaded in the mobile phone interprets immediately any incoming message in the message box and triggers a pop-up menu in the mobile screen informing the owner about possible attempt of intrusion in the remote house. If the user acknowledges the pop-up, immediately a message is send back to the remote modem. The modem sends an interrupt to the microcontroller and the microcontroller interrupts the buzzer. SWITCH monitoring for any INTERRUPT NO gos 1 \11C ROC OI\TROLLER 8051 signals GSM modem to send the SMS ( > GSMMODEM Fig. I. Basic block diagram of the system ANDROID OS CELL GSM modem sends the SMS to ANDROID phone IV. FLOWCHART Fig. 2. displays the flowchart representation of the proposed methodology. The flowchart gives a clear idea right from the time the switch detects any interrupt in the door to the end of playing the buzzer [8]. Fig. 3. shows the flowchart of the ANDROID application developed and installed in any ANDROID OS based mobile devices. The ANDROID application continuously checks for any incoming SMS in the inbox of the phone. If there is a new incoming SMS, it verifies the number from which the SMS has been received. If the SMS is from the emergency number, a pop-up screen is immediately flashed in the home screen of the mobile to drive users' immediate attention. If the user acknowledges the pop-up in defined time period, a reply SMS is sent back to the remote modem. If the user fails to acknowledge to the pop-up in the defined time period, a default time or fixed time period is awaited. Once this time period expires, a reply SMS is sent automatically back to the remote modem. This is done because even if the user fails to acknowledge due to certain reasons, the buzzer in the remote place should be triggered alarming about a possible intrusion. GSM modem receives SMS and sends a signal to 8051 GSM modem receives SMS and sends a signal to 8051 8051 receives the signal and play the buzzer 8051 receives the signal and play/doesn t play the buzzer Fig. 2. Flowchart of designed system 20J4Internationai Conference on Issues and Challenges in Intelligent Computing Techniques (ICICT) 197

V. HARDWARE IMPLEMENTATION Pops up a screen in mobile home screen seeking attention from user NO Fig. 5. describes the hardware implementation of the system. The circuit is designed in the simulation software; MultiSim version 11.00 developed by the software company National Instruments. In the initial phase the simulation was carried out using MultiSim. The wired circuit diagram shown in Fig. 5. is the simulation of the system. During the simulation we integrated the MAX232 IC and GSM modem (GSM modem IC unavailable in MultiSim; direct implementation was carried out during real-time hardware implementation) separately. But in real-time synthesis of the system the MAX232 IC was built-in with the GSM modem implying no separate use of MAX232 IC in real-time system. The real time system images (parts of real time system) are shown in Fig. 5. and the complete real-time system is shown in Fig. 4. The methods designed in Flowcharts were properly implemented in this phase. The SWITCH monitors for any kind of INTERRUPT and signals the 8051 microcontroller (in this case the development board P89V51RD2) shown in Fig. 4. The microcontroller in tum sends a digital signal (since microcontroller understands only TTL logic) [1] to the GSM modem which is received by the MAX232 IC incorporated inside the GSM modem and converts it into an analog signal (since GSM modem; model number: SIM900; can only process analog signals) [2]. The GSM modem then sends a SMS to the user mobile phone (preferably supporting ANDROID OS) signaling that an intrusion has occurred. The SMS is then processed upon by the ANDROID application. When a proper reply is received at the modem again; depending upon the SMS the GSM modem will send a specific signal whether to play or do not play the buzzer (If YES is received; buzzer is not rung. Else if NO is received; buzzer is rung). Timer oul Application automatically sends back an acknowledge menl to remote modem User sends back an acknowledgement to remote modem Fig. 3. Flowchart of the ANDROID application installed in mobile phone Fig. 4. The above image shows how the microcontroller sends SMS through the GSM modem to the mobile phone of the user. The right hand side circuit is the 8051 development board (p89v51 RD2) connected to the left hand side circuit which is the GSM modem (SlM900). 198 2014 International Conference on Issues and Challenges in Intelligent Computing Techniques (ICICT)

INTERRUPT DETECTOR GSM MODEM Fig. 5. Working Circuit Diagram designed in MultiSim for testing the Buzzer output on an interrupt input to the microcontroller. Hardware Circuit Diagram designed with actual hardware image labeled. VI. ANDROID APPLICATION IMPLEMENTATION Some sections of code of the MainActivity.java are listed below [7]. Packages used and MainActivity Class (not shown all): import java.io.fileoutputstream; import android.app.activity; import android.app.alertdialog; import android.app.dialog; import android.os.bundle; import android.app.activity; import android. view. Menu; import android.app.pendingintent; import android.content.intent; import android. telephony. *; public class MainActivity extends Activity Button BTN,ON,OFF; IntentFilter intentfilter; String s=""; EditText edittext; TextView textview; FileOutputStream fos; FileOutputStream fis; String FILENAME=""; int condition=o; private BroadcastReceiver intentreceiver = new BroadcastReceiverO @Override public void onreceive(context context, Intent intent) if «intent.getextraso.getstrin("sms")).equal(s)) showdialog(o); I*if( condition==o) sendsms( s, "#PUMPON*"); } *1 II write a code here to create a dail box to reply to the } } }; @Override protected void oncreate(bundle savedinstancestate) super.oncreate( savedinstancestate); 20J4Internationai Conference on Issues and Challenges in Intelligent Computing Techniques (ICICT) 199

setcontentview(r.layout.activity _main); intentfiltet=new IntentFilterO; intentfilter.addaction("sms _RECEIVED _ ACTION"); BTN =(Button) findviewbyld(r.id.btn); ON =(Button) findviewbyid(r.id.on); OFF =(Button) findviewbyid(r.id.off); ON.setVisibility(View.INVISIBLE); OFF.setVisibility(View.INVISIBLE); edittext=(edittext) findviewbyid(r.id.edittext); textview=(textview) findviewbyid(r.id.textview); BTN.setOnClickListener( new View. OnClickListenerO @Override public void onclick(view argo) String temp=""; textview.settext("i);temp=edittext.gettexto.tostringo;edittex t.setvisibility(view.invisible); if(temp.lengtho<io) textview.settext("enter 10 digit number"); } else BTN.setVisibility(View.INVISIBLE) ON.setVisibility(View.VISIBLE); OFF.setVisibility(View.VISIBLE); textview.settext("i); textview.settext( edittext.gettexto.tostringo );s=("+91 "+textv iew.gettexto tostringo); textview.settext("entered Number :"+S); showdialog( 1); Fig. 7. Pop up after entering the 10 digit mobile number Fig 8. Pop up on receiving an intrusion SMSlTom the saved number. VII. ANDROID APPLICATION OUTPUT SCREEN SHOTS Fig 9. Automatic reply by the android system to trigger the alarm. Fig. 6. ANDROID application interface to enter the 10 digit mobile number. 200 2014 International Conference on Issues and Challenges in Intelligent Computing Techniques (ICICT)

Certain features like triggering an electronic lock remotely rather than simply triggering the buzzer might be more useful to the users and will surely be taken care of in the near up gradation of the complete application. Also the system may be turned into a complete Home Automation System by implementing different sensors e.g. Motion Sensors, Gas Sensors, Temperature Sensors, etc. in the near future. REFERENCES Fig. 10. On click of the off button, sends siguals to the remote device and shuts down the buzzer. Fig. II. Displays the message sbowing alarm triggering sigual being sent to the remote device. The buzzer installed in the remote location starts ringing. CONCLUSION AND FUTURE WORK The APK (ANDROID Application Package File) file have been deployed to ANDROID enabled mobile devices and tested. The hardware circuit meant to detect intrusion is installed. On interrupti intrusion, the GSM modem successfully sends a message to the ANDROID application installed in the mobile device. If the user fails to response in the defined time period, the application successfully sends a default message to the remote device, subsequently triggering the buzzer. The application discussed here is sure to benefit every people who always have a doubt of their belongings being secure in the house in their absence. Most of the mobile devices that are manufactured nowadays in the market are ANDROID OS based. Taking this into interest the application has been developed in ANDROID and made user friendly, thereby making the application highly robust across different mobile devices and variety of users. [I] [2] [3] [4] [6] [7] [8] [9] Mazidi, Mazidi & Mckinlay, "8051 Microcontroller & Embedded Systems", Pearson Education, 2 nd Edition, 2006. Michael J. Pont, "Embedded C", Pearson Education, New York, 2002. M. Van Der Werff, X. Gui, and W.L. Xu "A Mobile Based Home Automation System", In Proceeding of IEEE 2 nd International Conference on Mobile Technology Applications and Systems, pp. 1-5, 2005, Guangzhou, China. A. Alheraish, Member, IEEE "Design and Implementation of Home Automation System", IEEE Transactions on Consumer Electronics, Vol. 50, No. 4, pp. 1087-1092, November 2004. Dhruba Jyoti Gogoi, Rupam Kumar Sharma, "Android Based Emergency Alert Button", In International Journal of Innovative Technology and Exploring Engineering (IJITEE), ISSN: 2278-3075, Volume-2, Issue-4, pp. 26-27, March 2013. Josh Potts and Somsak Sukittanon in "Exploiting Bluetooth on ANDROID Mobile Devices for Home Security Application", In Proceeding of IEEE Southeast Conference, pp. 1-4, March 2012, Orlando, Florida, USA. Arbab Waheed Ahmad, Naeem Jan, Saeed Iqbal, Chankil Lee "Implementation of ZigBee-GSM based home security Monitoring and Remote Control System", In Proceeding of IEEE 54 th International Midwest Symposium on Circuits and Systems (IEEE MWSCAS), 978-1-61284-857-0/111 2011 IEEE, Yonsei University, Seoul, Korea. Jun Hou, Chengdong Wu, Zhongjia Yuan, Jiyuan Tan, Qiaoqiao Wang, Yun Zhou, "Research of Intelligent Home Security Surveillance System Based on ZigBee", In Proceeding of IEEE 2 nd International Symposium on Intelligent Information Technology Application Workshop ( IITAW '08), pp. 554-557, December 2008, Shanghai, China. 20J4Internationai Conference on Issues and Challenges in Intelligent Computing Techniques (ICICT) 201