Design, Development and Performance Study of a Microcontroller-Based Home Security System Using Mobile Phone

Table of contents

1. Design, Development and Performance Study of a Microcontroller-Based Home Security System

Using Mobile Phone A Abstract -Security has been an important issue in the smart phone applications. Here, a security system has been developed that uses a sensor to detect a security violation and informs the owner by calling to his mobile. The system consists of a sensor, microcontroller IC, some relays and a mobile phone that operates when the sensor sense some unwanted breaking of doors, lockers etc. As soon as this occurs the system automatically calls the owner through the mobile phone used in the security system. The system has been designed and developed using locally available components and its performance has been studied. A program has been developed using Flow Code software to drive the system.

2. Introduction

omes without security systems are more likely to be targeted by a burglar and most of residential burglaries occur during the daylight. Under smart and intelligent home environment [1], numerous sensors, motion detectors, smoke detectors, water leakage detectors etc., and communication devices can be utilized for connection throughout the house, capable of monitoring and detecting the physical events. The output from these sensors can be used to alert the owner of any unauthorized intrusion or control home appliances such as lightings. Thus, maintaining seamless connectivity between devices and the main controller is very crucial. A lost connectivity can jeopardize the security of the home. It is also an important factor to ensure that, the devices being used operate in very-low power consumption so that they would last longer [2].

In previous years, different home security systems such as Zigbee based security system [3], PIC based security system, SMS based security system [4] etc. has been designed and implemented.

Real time security system based on GSM network [5][6][7] has also been devised. But the cost of the system is relatively high.

3. II.

4. Block Diagram of the System

The block diagram of the system consists of sensor, signal and control unit, interfacing unit and mobile unit. As the numbers on mobile phone are in row column array matrix, thus relays [11] (SPDT type) have been used to generate the called number. Each common point of relay is connected to the negative terminal of the button and normally open point of relay is connected to the positive terminal of the button. For example, we want to generate 1, so we have connected negative of the 'yes' button (as negative terminals of same column are common) to the common point of relay and positive of 1 button to the normally open point of relay [11]. Like this way we have connected all the other digits to the relays.

Relay's coils are connected to the collectors of C828 transistors. Transistor has been designed as a switch. A diode is connected to the collector for protection of the transistor. Emitter is grounded and two resistances of 10k are connected to the base of transistor as shown in figure 3. The controlling signal generated by a microcontroller and is aplied to register R . The control system can sense the opening of a door. In this system a very thin wire has been used to detect the condition of the door. The wire will be attached with the door and when the door is opened the wire will be disconnected from the circuit and will be sensed. One end of the pin RA0 (pin 2) of the microcontroller and the other end to ground [12]. A 1k resistor is connected from pin RA0 to 5 volt. Hence, when the wire is connected in the circuit the logic level of pin2 will be zero and when the wire is detached the logic level of pin2 will be 1. Microcontroller always checks the logic levels of this pin [13].

When the pin is at zero level, the controller waits a few seconds and checks. The loop will be continued until the wire is detached and that the door has been opened. When the door is opened the wire will be detached and the microcontroller will find a logic 1 at pin RA0 and it will start to call a particular (set by user) mobile phone number.

In this work, PORT-A of the microcontroller has been chosen as an input port and PORT-B and PORT-C has been chosen as output port [14].

The transistor switch has been connected to the output of the microcontroller. Microcontroller is operated at 5 volt whereas the relays work with 12V. For this reason we have used a regulator IC to generate 5 volt from 12 volt. The 7805 IC was used as a regulator IC.

To generate common numbers we have used diode at the output of the microcontroller. . A switch at pin 1 of microcontroller has also been used for refreshment purpose. V.

5. Working Diagram

6. Operation of the Whole System

In the present design, a wire has been used as a sensor which is connected to the main circuit. When the wire is cut, according to the program the output will be activated one after another.

According to the output of microcontroller the transistor switch is then activated and mobile button is pressed. Thus a call has been made.

To generate each number one second is required. That means, to generate eleven numbers eleven seconds is required. Microcontroller IC has been programmed for this purpose. Here we use yes button to generate the call. For this purpose we use 12 relays which are connected to the mobile phone keyboard pad.

In case when it is necessary to generate the mobile number 01749757937, then the relay contacts are connected to keys 0, 1, 7, 4, 9, 7, 5, 7, 9, 3 and 7.

When the yes button is pressed, the number will be started to generate. After generating the number, we have wait for few seconds for generating the call. It is a continuous process.

That means the call is repeatedly generated as long as the user will not disconnect it.

7. a) Timing calculation

For generating each number, one second is required. So the time to generate 11 numbers is 11 seconds. Time taken to press the 'yes' button is 1 second. So, time taken to dial a number is 12 seconds. Considering 8 seconds as time required to generate a call, about 20 seconds is required to ring the owners mobile. Thus it performs quite well.

8. VI.

9. Cost Analysis

For the proposed system, components of the system are available in local market. The recent cost for entire the system is given below.

Table.1 : Production cost of MSS system.

The above data clearly shows the cost superiority of import system to locally developed system.

10. a) Low Cost

The MSS (Microcontroller based Security System) is a security system for homes, offices, shops, banks etc. It is developed to make offices and especially homes much more secure. Although there are existing security systems for that place, the MSS differ from them in many ways. The system was designed using locally available components and it is very cheap. Accessibility from mobile devices makes the MSS is really different from existing security system. The MSS has lots of beneficial effect on society. Its social impact will be very important, because people far away from their home need not to be worried about it. In the time of emergency they will be warned by the system.

It is a law cost security system, and it really easy to make a home secured with MSS. b) Future work

The system was an experimental platform; which have successfully implemented and tested all the main functions that the system is intended to meet. In its commercial release, the system may lead to great achievements in home and office security and prevention of different dangerous situations such as fire and theft.

In further release of the HSS, the system can be extended to transmit camera view of home to the users via their mobile phones and other mobile devices like PDA [15].

The system may consist of a gas/smoke sensor, an aqua sensor, a temperature sensor, a microcontroller module, a number of cameras, a GPRS modem and a PC. Sensor can be wired to the microcontroller module, and this module can be connected to PC via its serial port. These sensors can cause corresponding actions to be taken by the main software on PC. The cameras placed rooms by the users, connected to PC from USB port. GPRS modem, used by software to send SMS to users and call police and fire departments, can be connected to the PC via its serial port (COM1). The microcontroller, cameras and GPRS modem can be connected to this PC.

11. Conclusion

The MSS (Microcontroller based Security System) is a security system for homes, offices, shops, banks etc [10]. It is developed to make offices and especially homes much more secure. Although there are existing security systems for that place, the MSS differ from them in many ways. The system was designed using locally available components and it is very cheap. Accessibility from mobile devices makes the MSS is really different from existing security systems. The MSS has lots of beneficial effect on society. Its social impact will be very important, because people far away from their home need not to be worried about it. In the time of emergency they will be warned by the system.

Figure 1. Figure. 1 :
1Figure. 1 : Block diagram representation of the Security System
Figure 2. Figure. 2 :
2Figure. 2 : Mobile Keypad.
Figure 3. Figure. 3 :
3Figure. 3 : Mobile Keypad
Figure 4. Fig. 4
4Fig.4shows the complete circuit diagram where mobile phone section has not been added.
Figure 5. Figure. 4 :
4Figure. 4 : working diagram of MSS.
Figure 6.
Figure-5 shows the components and structure of the future work of a Security System.
Figure 7. Figure- 5 :
5Figure-5 : Future work
1

Appendix A

  1. A Thesis Presented to The Facuity of Graduate Studies of the university of Guelph BYSHAW XIA ZHANG O Shawn ,Masters of science, February 1988. (A high performance soft keypad for mobile systems)
  2. Ali Mazidi , Pic Muhammad , Embedded Microcontroller , Systems , India . The Dorling Kindersley (India )Pvt. Ltd, 2008.
  3. Interfacing PIC Microcontrollers Embedded Design by Interactive Simulation, Bates Martin . 2006. Great Britain: Elsevier.
  4. Wireless Home Security and Automation System Utilizing ZigBee based Multi-hop Communication. B Mohd Adib , Rozeha A Sarijari , Rashid . Proceedings of IEEE 2008 6th National Conference on Telecommunication Technologies and IEEE 2008 2nd Malaysia Conference on Photonics, (IEEE 2008 6th National Conference on Telecommunication Technologies and IEEE 2008 2nd Malaysia Conference on PhotonicsPutrajaya, Malaysia
    ) August 2008. p. . (Mohd Rozaini Abd Rahim, Nur Hija Mahalin)
  5. A cellular based home/office controller & alarm system, http://www.gazi.eedu.tr H.Haldui Gotkaas (ed.) Ankara,Turkey: Gazi university Technical Education faculty. Department of computer science, Faith university, Istambul (Home security system)
  6. A cellular based home/office controller & alarm system, H Haldui Gotkaas . Ankarahttp://www.gazi.eedu.tr Gazi university Technical Education faculty.
  7. Design and Implementation of Low Cost Home Security System using GSM Network. J Iovine . http://www.ijser.org PIC Microcontroller Project Book, Ahmed Al Sadeque Reza Khan, Alvir Mansur, Shahid Kabir, Jaman (ed.) March -2012 1. 3. (USA: McGraw-Hill, 2000. 15)
  8. , Lcd Keypad . http://www.accessibledevices.com/MotorolaQManual.html
  9. SMS Based Wireless Home Appliance Control System (HACS) for Automating Appliances and Security. Malik Sikandar , Hayat Khiyal , Aihab Khan , Erum Shehzadi . Issues in Informing Science and Information Technology 2009. 6.
  10. Real Time Fleet Monitoring and Security System using GSM Network. Muhammad Ahmad , Javaid Iqbal , Sumaira Qurat-Ul-Ain , Ghazal . Proceedings of the 6th WSEAS International Conference on Simulation, Modelling and Optimization, (the 6th WSEAS International Conference on Simulation, Modelling and OptimizationLisbon, Portugal
    ) September 22-24, 2006.
  11. Robert L Boylestad , Louis Nashelsky . Electronic Devices and Circuit Theory, (India
    ) 2003. Prentice Hall. (7th Edition)
  12. Habibur Rahman ¥ Author : Dept. of Applied Physics University of Dhaka Dhaka-1000, Tabinder Akter , Mahfuja Akter , Mohammad Mozammel Hoque , Md Rab , Dr Md . (Bangladesh. E-mail : [email protected] References Références Referencias)
  13. Safe and Secure PIC Based Remote Control Application for Intelligent Home. Yavuz Erol , H Hasan , Serkan Balik , Duygu Inal , Karabulut . IJCSNS International Journal of Computer Science and Network Security May 2007. 7 (5) .
Notes
1
© 2012 Global Journals Inc. (US)
Date: 2012-03-15