A Cellular Phone Based Home / Office Controller & Alarm System



Similar documents
Development of a Cell Phone based Remote Control System: an Effective Switching System for Controlling Home and Office Appliances.

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

SMS based Remote Control System

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

Development of a cell phone based remote control system: an effective switching system for controlling home and office appliances.

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

GSM Alarm System User Manual

Intelligent Home Automation and Security System

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

MICROCONTROLLER BASED SMART HOME WITH SECURITY USING GSM TECHNOLOGY

GSM ALARM SYSTEM USER MANUAL

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

Business/Home GSM Alarm System. Installation and User Manual

GSM home alarm system s manual

SMS based remote control system

New GSM Alarm System. User s Manual. Profile For a better understanding of this product, please read this user manual thoroughly before using it.

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

Display Message on Notice Board using GSM

Advanced Car Security System Using GSM

GSM HOME SECURITY SYSTEM

STATUS POWER MONITOR ALARM SOS DISARM

Intelligent GSM Auto-Dial Alarm System

HAM841K ALARM CONTROL PANEL FOR COMMERCIAL AND RESIDENTIAL SECURITY SYSTEMS

Business/Home. GSM Alarm system

GSM Interfacing Board

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

Design and Implementation of Home Monitoring System Using RF Technology

GSM Home Alarm system. User Guide

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

GSM Home Alarm System User Manual.

A Smart Telephone Answering Machine with Voice Message Forwarding Capability

Intelligent GSM Auto-dial Alarm System User s Manual

GPS & GSM BASED REAL-TIME VEHICLE TRACKING SYSTEM.

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

DC-8706K Auto Dial Alarm System

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

TO HANDPHONE BURGLAR ALARM USING PIC 16F877A MICROCONTROLLER

Home Security System Using Gsm Modem

A Novel Solution for Remote Monitoring of Electrical and Electronic Gadgets

Users Manual of GSM Home Alarm System with Photo-taken

GSMPBX version 1.3 Datasheet

MOBILE CALL GSM alarm system

Two-way communication, keep checking the commnunication between the panel and accessories, make sure the system safer.

DEVELOPMENT OF INDIVIDUAL HOME SECURITY SYSTEM USING CAN AND ZIGBEE PROTOCOL

WITURA CORPORATION SDN BHD

A Multilevel Home Security System (MHSS)

Serial Communications

Intelligent Alarm System

GSM Voice Auto Dialer& SMS sender JC-999. User Manual

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

Six-defense zone Display Alarm System. User Manual

MOBILE CALL GSM Alarm System User s Manual

Iphone & Android App Smart GSM Home Alarm System

INTRODUCTION: ABSTRACT:

GSM WIRELESS DIGITAL ALARM SYSTEM USER GUIDE. Please read it carefully before installation and operation

LCD -based Intelligent Burglar Alarm System. User Guide. Ver 2.0

GSM Gate Opener GSM Remote Switch RTU5015 User Manual

PRT3 Printer Module: ASCII Protocol Programming Instructions

Quectel Cellular Engine

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

UM0272 User manual. Central Unit for Alarm System (CUAS) Evaluation Board. Introduction

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

APR-PRT3 Printer Module: C-Bus Programming Instructions

Security GSM Alarm System

Tele Eye DT Series. Installation Guide. Dialup CCTV Transmitter DT-103G DT-103P DT-103D

Using the HT46R46 I/O Ports to Implement Half-Duplex SPI Communication

Wireless Home Security System

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

Design of Wireless Home automation and security system using PIC Microcontroller

Final Project Report E3390 Electronic Circuit Design Lab. Automatic Phone-Alert Home Security System

VisorALARM-Manager Application Quick Guide. (Ver. 1.3) Dm 380-I. V:3.0

NGT Hosted Digital Voice. User Guide

Telephony Systems Trainer CODITEL

Low Speed Modems for Dial and Leased Circuits 2400E-2 (Stand Alone) 2400R-2 (Rack Mount) 2400E-4 (Stand Alone) 2400R-4 (Rack Mount)

How To Use An Adh8012 Gsm Gprs Module With A Gsm (Gsm) Gpros (Gsp) Gpls (Geo) Gsp (Gpl) Gs

GSM SMS Controller GSM SMS Alarm Unit S130 S140 S150. User Manual

M80 EVB User Guide M80. Quectel Cellular Engine. EVB User Guide M80_EVB_UGD_V1.2 M80_EVB_UGD_V1.2-0-

VEHICLE MONITORING CONTROLLING AND TRACKING SYSTEM BY USING ANDROID APPLICATION

Elite 8D/Lite Version 8 Zone Controller. Arrowhead Alarm Products Ltd. Operating Guide. Proudly Designed and Manufactured in New Zealand

Security module CG2 User manual

NortechCommander Software Operating Manual MAN R6

Remote control circuitry via mobile phones and SMS

SPECIAL CONTROL BUTTON FUNCTIONS

LOW COST GSM MODEM. Description. Part Number

The JA-82Y GSM communicator

AGRI-ALERT 800T / AGRI-ALERT 800 ALARM SYSTEM USER MANUAL

Intruder Alarm System

Plc Based Monitoring and Controlling System Using Wi-Fi Device

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

Business/ Home GSM Alarm System

PRODUCT WARRANTY. Page 20

GSM IV Intelligent Wireless Burglar Alarm System

SMS GSM Alarm Messenger

CELL PHONE CONTROL ROBOT CAR

Important Notice This guide is delivered subject to the following conditions and restrictions:

Wireless Alarm system s manual

GPS Vehicle and personal location tracker. User manual

Memcom Emergency Telephone

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

Transcription:

G.U. Journal of Science 9(): -6 (006) www.gujs.org A Cellular Phone Based Home / Office Controller & Alarm System H. Haldun GÖKTAŞ, ihat DALDAL Gazi University Technical Education Faculty, 06500, Besevler, Ankara, TURKE Received:06..004 Accepted:.08.005 ABSTRACT Remote management of several home and office appliances is a subject of growing interest and in recent years we have seen many systems providing such controls. In this study, we have developed a cellular phone based home/office remote controller equipped with power controllers, an alarm system, a voice memory and a back-up battery unit. In traditional PST based remote controllers, the user always has the possibility of line cuts due to fires or professional burglars cutting the wires before getting to work. Our system eliminates such disadvantages with its unique properties. Key Words: Home/office automation, cellular phone based alarm system, remote controller. ITRODUCTIO As we stated above, many remote home/office automation/control applications show the growing interest on the subject [-4]. However, some of these systems need a PST connection which itself is a disadvantage due to necessary physical connection [-4]. Some systems require a PC and a PST connection which increases the adverse properties of the proposed systems making them ill suited for real life applications []. Some different approaches can be adopted to set up such a control mechanism, namely, internet based control structure [5-8]. However, these approaches still have some drawbacks that are eliminated by our system s advanced properties. For instance, our system contains an alarm unit giving the user a remote on/off mechanism which is capable of informing up to 5 different numbers over telephony network about the nature of the event [9]. In the following section the overall structure of the system is described while section 3 lays out the instruction based program flow. Section 4 discusses the communication between the microcontroller and the mobile phone.. OVERALL SSTEM STRUCTURE Fig. illustrates the block diagram of the system that has been designed. The system consists of an 89C5 microcontroller unit, a 8870 tone decoder, a cellular phone, an ISD voice message unit, driver circuitry for the power control of the home appliances, and finally an alarm unit embedded into the system structure. To activate the cellular phone unit on the system a call has to be made and following the response the user has to enter a 3 digit password to access the system in order to control it. In cases of false/null passwords the system switches back to its normal operation mode. As we stated above the alarm system can be switched on/off by the remote user. When it is on, it continuously monitors fire and PIR (Passive Infrared) detectors. Up to 8 detectors can be used for this purpose. In case of any event the 89C5 microcontroller (MC) executes the alarm routine, and communicates with the mobile phone to call up to 5 different numbers including the fire brigade, the police, the owner of the premises, etc. giving the prerecorded voice message. The received DTMF (Dual Tone Multi Frequency) codes are decoded by the 8870 DTMF tone decoder. These codes are then fed to the microcontroller. Corresponding author, e-mail: goktas@gazi.edu.tr

G.U. J. Sci., 9():-6(006)/ H. Haldun GÖKTAŞ, ihat DALDAL Batery Charge Unit Battery Input Voltage Alarm Clock GSM DTMF Tone Decoder Data 89C5 Micro Controller ISD60 PIR Fire Out Out Driver Out 3 Figure. Block Diagram of the System The voice message unit consists of an ISD60 voice memory that allows the recorded voice message to be played to the telephone numbers that are called in case of any event... Voice Message Circuit The circuit diagram for the voice message unit is shown in Fig.. When the microcontroller detects a triggering signal from the scanned units, the numbers recorded on the SIM card of the mobile phone are called sequentially and the MC activates the voice message unit. The MC also sends a deactivation signal when the recorded message is played back. This operation continues in the same manner until the last call is performed. The speaker output of the ISD is connected to the cellular phone speaker so that the recorded message is directly heard by the receiving end of the phone that has been called. 00K SW 5K 00nF 00K 3 4 5 6 7 8 9 0 3 4 ISD60 8 7 6 5 4 3 0 9 8 7 6 5 00K 00nF + - 00nF 4u7 + 0K K8 0 0 0K MIC 0K K u + u + 80 + 0u LED 3K GSM Speaker in Figure. Voice Message Circuit Diagram

3 G.U. J. Sci., 9():-6(006)/ H. Haldun GÖKTAŞ, ihat DALDAL.. The UPS and Charging Unit As stated above our installation works as a stand-alone system. Therefore, the power cuts, the cuts at the PST lines can not effect the operation of the system. This itself is an advantage over the other remote control and alarm mechanisms. One of the advantages of this aspect is to use a cellular phone and the other is the UPS unit; there is a maintenance free accumulator connected to the system. When the power is cut it provides the necessary power for the whole unit for up to 70 hours. The battery charging unit at Fig. 4 charges both the accumulator and the cellular phone batteries at the same time. 00nF 8K nf GSM Speaker out 00K 8K nf 56K 39K 3.579MHz 8 7 6 I I 3 R CLK 5 4 R D3 4 5 GD D 3 6 GD D 7 OSC D0 8 OSC 0 8870 C GD 9 R 680K Figure 3. The circuit diagram for DTMF 8870 tone decoder.3. The UPS and Charging Unit As stated above our installation works as a standalone system. Therefore, the power cuts, the cuts at the PST lines can not effect the operation of the system. This itself is an advantage over the other remote control and alarm mechanisms. One of the advantages of this aspect is to use a cellular phone and the other is the UPS unit; there is a maintenance free accumulator connected to the system. When the power is cut it provides the necessary power for the whole unit for up to 70 hours. The battery charging unit at Fig. 4 charges both the accumulator and the cellular phone batteries at the same time. BC557 4x400 R47 LM37 V- V+ R AC Input + 00u 0K 4K7 0 0u + +47u To Accumulator BC37 Figure 4. The battery charging unit.4.the Driver Circuit The driver circuit consists of an opto-coupler component used for isolating the MC from the high level 0V signals (Fig. 5). 470 47K LOAD MOC30 0V AC TO MC BT36 Figure 5. The Driver Circuit diagram for the power controls

4 G.U. J. Sci., 9():-6(006)/ H. Haldun GÖKTAŞ, ihat DALDAL 3. THE PROGRAM FLOW CHARTS The main program executed on the MC includes 3 units. The first unit contains the initializations and sequential monitoring of the equipped sensor devices. The second part of the program performs the telephone calls. Finally the last part contains the interrupt subroutine. When the main program starts to execute, the MC s serial communication band is set to the cellular phone s communication rate (i.e. 9600 bit/sec). Afterwards a password and control sequence is accepted from the calling user. At the same time the ports which will be used as either input or output ports are along with the identification of the registers. Afterwards the system enters a loop to wait alarm activation. At this point the user either activates the alarm or vice versa. Details of this can be observed in Fig. 6. In the main program the user can also be directed to switching subroutine that performs switch-on and switch-off for 3 different home appliances. In Fig. 7 the operation structure of switching device control flowchart is given. Alarm Activation and Deactivation Power On Baud rate and Port Initialisation Register Definitions Call received? Enter Password and Control Code In the event of an alarm, -either a burglar s entrance to the premises or detection of a fire- the initial response of the system is activation of a buzzer. Afterwards, the system initiates the alarm call subroutine, the sequential operation of which is given in Fig. 8. Depending on the nature of the message, the system performs up to 5 different telephone calls. It releases a 60 seconds alarm message recorded on the ISD60 voice memory. The cellular mobile phones use standard communication commands. A brief explanation of some of these commands used in our application is given in appendix A. Burglar Alarm? Fire dedection? Active Buzzer 4. THE COMMUICATIO PROTOCOL The cellular phone uses a signal communication protocol called Universal Synchronous Asynchronous Receiver and Transmitter (USART). It is a well known two way serial communication protocol. Fig. 9 illustrates the basic operation principle that has been used in our application. Figure 6. The main program flowchart

5 G.U. J. Sci., 9():-6(006)/ H. Haldun GÖKTAŞ, ihat DALDAL 5. RESULTS AD COCLUSIOS Device on/off code Device on/off code Device 3 on/off code Turn device on/off Turn device on/off Turn device 3 on/off Mobile phones have become an indispensable part of our life. Our system uses a controller and a cellular phone for its operations. The systems can be used as a test bed for any application that requires on-off switching based applications. Several burglar alarm systems have been suggested by different solution providers. Each of them has their drawbacks - one requires the internet, some require an active PST connection, etc. We believe we have eliminated these disadvantages by incorporating such a system into a mobile communication mechanism. The system can be expanded to provide such control over the GPRS. In this way, the capabilities of the internet can be combined with the capabilities of our physical line free communication system. Furthermore, by adding a closed loop control facility, the system capabilities can be improved. Return Figure 7. Device control subroutine APPEDIX FOR SOME COMMUICATIO COMMADS FOR CELLULAR PHOES ATA (Answer Incoming Call) Answers an incoming call. Get the number to be called Call the request number Choose message type Fire Start Fire Message Message Finished? Burglar Start Burglar Message ATD (Dial) Causes the phone to dial a call. All characters appearing on the same command line after the D are considered part of the call-addressing information to be signaled to the network, or modifiers used to control the signaling process (collectively known as a.dial string.), up to a semicolon character or the end of the command line. ATH (Hook Control) Terminates an active call. ATZ Reset to User-Defined Configuration This command resets the values to default settings and closes all connections. AT+CPBR (Phonebook Read) Fire dedection? Figure 8. Alarm call subroutine Return Returns phone book entries in location number range <index>...<index> from the current phonebook memory storage selected by AT+CPBS. If <index> is omitted, only location <index> is returned. Entry fields returned are location number <indexn>, phone number <number> in <indexn>, and text <text> associated with the number. Rx Rx MC Tx Tx Figure 9. Usart communication protocol Cellular Phone AT+CPBS (Phonebook Storage) Selects the phonebook memory storage <storage> that is used by other phonebook commands. AT*EVA (Answer Incoming Call)

6 G.U. J. Sci., 9():-6(006)/ H. Haldun GÖKTAŞ, ihat DALDAL Signals the phone to answer a call. The command is followed by a final result code such as OK or ERROR and the command state is entered. ACKOWLEDGMET The authors wish to thank A. Cavusoglu of Gazi University and A. Baghci of Michigan State University for informative discussions on the subject. REFERECES. B. Koyuncu, PC Remote Control of Appliances By Using Telephone Lines, IEEE Trans. Consumer Electron., vol. 4, no., pp. 0-09, February 995.. S. Schneider, J. Swanson and P-. Woo, Remote Telephone Control System, IEEE Trans. Consumer Electron., vol. 43, no., pp. 03-, May 997. 3. I. Coskun and H. Ardam, A Remote Controller for Home and Office Appliances by Telephone, IEEE Trans. Consumer Electron., vol. 44, no. 4, pp. 9-97, ovember 998 5. C. L. Churms, V. M. Prozesky and K. A. Springhorn, The remote control of nuclear microprobes over the Internet, uclear Instruments and Methods in Physics Research Section B: Beam Interactions with Materials and Atoms, vol. 58, pp.4-8 September 999. 6. http://www.vhcommander.com/index.htm. 7. Topalis E, Mandalos L, Koubias S, Papadopoulos G, ikiforakis I., A novel architecture for remote home automation e-services on an OSGi platform via highspeed internet connection ensuring QoS support by using RSVP technology, IEEE Transactions On Consumer Electronics, Vol:48 (4): 85-833 ov. 00. 8. Al-Ali AR, Al-Rousan M., Java-based home automation system, IEEE Transactions On Consumer Electronics, Vol.50, pp:498-504, May 004. 9. Daldal ihat, GSM Based Security and Control System (In Turkish), M.Sc. Term Project, Gazi University, Ankara, 003. 4. E. Wong, A Phone-Based Remote Controller For Home And Office Automation, IEEE Trans. Consumer Electron., vol. 40, no., pp. 8-33, February 995.