Adnan Ibrahim, Afhal Paravath, Aswin P. K., Shijin Mohammed Iqbal and Shaeez Usman Abdulla
Dept. of Applied Electronics and Instrumentation
M.E.S. College of Engineering, Kuttippuram
Kerala, India, PIN-679573
adnantharayil@gmail.com, afhal.paravath5@gmail.com, shaeez@mesce.ac.in
AbstractThis paper discusses the design and implementa- Murakami et al. [6] described a home security system which
tion of a GSM based digital door lock security system using includes a number of sensors detect an alarming situation
PIC platform. A 5-digit password was used to lock/unlock in different locations inside a facility. Cameras captured
the doors by employing a gear motor. Three consecutive
unsuccessful attempts in entering the correct password results images of different locations and a controller memorized the
in sending a warning message, was sent to preset mobile associations between sensors and cameras. Similarly, Pyle et
numbers, as a means of detecting unauthorized intrusion. al. [7] had developed a system which alerted an intrusion
A 3D scaled model of a house with door controlled by a disturbance at an entry point to a residence or alerting
gear motor was constructed to implement and demonstrate as to other emergency conditions by producing an alarm.
the proposed system. A separate arrangement was made to
install the control. The experimental result and analysis were There are security systems interfaced with GSM module,
promising. as the one described in Zhao et al. [8]. The system was
a wireless home network which contained a GSM/GPRS
Keywords-Microcontroller PIC 16F877A, GSM module, 16x2
LCD display, Gear motor, switches, buzzer . gateway and three kinds of wireless security sensor nodes
that are door security nodes, infrared security nodes and
re alarm nodes. This system was designed for nocturnal
I. I NTRODUCTION
security and power saving purpose. PIC was used for the
In 2010, the Federal Bureau of Investigation (FBI) [1] re- programming purpose. Another system was proposed by
ports that there were more than two million home burglaries Ushie et al.[9], wherein security door that can be remotely
in the United States, over 70 percent of which took place controlled by a GSM phone set acting as the transmitter and
in residential homes. According to 2011 reports by National another GSM phone set with a dual tone multi frequency
Crime Records Bureau (NCRB) [2], in India, the number of (DTMF) connected to the door motor through a DTMF
burglary cases registered was 58862 cases, with a total worth decoder interfaced with microcontroller unit and a stepper
of USD 50 million. According to a 2010 study by the Alarm motor. Similarly, SMS Technology was collaborated with
Industry Research and Educational Foundation (AIREF) [3], GSM/GPRS services to achieve controlling of door lock
burglars spend less than 60 seconds for breaking into a by Pratiksha et al [10], where they could lock/unlock the
home. So, anything that made a house harder to access, door by receiving a predened message from the user. In
including home security systems, deadbolt locks, bars on this paper we discuss the design and development of a PIC
windows, acted as a deterrent. Further, according to the supported security system prototype with 5 digit passwords
Electronic Security Associations (ESA) [4] Home Safety and GSM system for sending out intrusion alerts.
Fast Factsreport, 9 out of 10 burglars avoid homes with
alarm systems and said if they did encounter an alarm, they
would not attack the home and drop the attempt. These
facts have encouraged the development of numerous security
systems for both residential and commercial applications.
Security alarm systems employing various sensors are
becoming increasingly popular in residential communities.
Mallory et al. [5] implemented a security alarm system
that has a number of sensors for re, smoke, intrusion and
appliance operation. A central monitor was provided for
monitoring and continuously indicating the status of the sen-
sors. Transmitters were placed on the sensors and receivers Figure 1. Block Diagram
were placed on the monitor for effective communication.
The central monitor then indicates the appropriate alarm
based on the identied transmitter of a particular sensor.
III. B LOCK D IAGRAM D ESCRIPTION OF THE S YSTEM The password was entered through the switches S1,S2,S3,
The Block Diagram (Fig.1) shows the connections of S4 and S5. Now each switch must be consecutively pressed
GSM module, 16x2 display,gear motor,switches and buzzer a specied number of times in order to enter each number
with the PIC. The working of the system can be divided into of the password. For example, if the password is 34256,
4 stages: then S1 must be pressed 3 times, S2 must be pressed 4
times,... and so on. Upon each press the number at respective
A. Unlocking Stage position of the password, which is displayed live on the
Fig.2 shows the block diagram representation of the Un- screen, will be incremented by a single value (scroll from 0
locking stage. Initially when the system is powered on, after to 9). After entering the correct password, one should press
initializing the GSM, the LCD will display LOCKED. UNLOCK again for conrmation. The PIC then signals the
For unlocking the system, one has to press the UNLOCK gear motor to unlock door and the LCD displays the message
switch and the LCD will display ENTER PASSWORD. UNLOCKED.
B. Password Changing Stage interface was made possible by making LCD and switches
Fig.3 shows the block diagram representation of the Pass- slots on the box (Fig.9). Different slots were given for the
word Changing stage. After entering the correct password, GSM antenna, the motor interface terminals and the DC
a user is able to change his door lock password only input power supply. The unit had a removable lid at back
after unlocking the door lock with correct password. In for maintenance purposes (Fig.8).
order to change the current password, SET PASSWORD
switch is pressed and LCD displays the message EN-
TER OLD PASSWORDand the current password is to be
entered followed by pressing the UNLOCK switch again
for conrmation. Now the LCD displays ENTER NEW
PASSWORDand the new password is to be entered. Again
the UNLOCK switch is pressed for conrmation. The LCD
displays SAVEDsignalling that the password has been
changed successfully.
C. Intruder Response Stage
Fig.4 shows the block diagram representation of the
Intruder Response stage. Initially,the door lock system is in
the locked position and LCD displays LOCKED. When an
intruder enters the wrong password, the LCD will display
PASSWORD ERROR. When a wrong password is entered
for the third time, the buzzer is triggered and the GSM
module sends a warning message to owner and neighbors
cell phones. The LCD displays BLOCKEDmessage and
the system will remain in blocked state for the next 10
seconds.
D. Locking Stage
Fig.5 shows block diagram representation of the Locking
stage.In order to lock the door lock, one has to return the
door into the closed position and press the LOCK switch.
It will signal the PIC to make the gear motor rotate, thus
locking the door. Figure 6. Front view of the the Control Unit.
Figure 5. Locking Stage Block Diagram Figure 7. Inside view of the Control Unit.
B. Trials R EFERENCES
A variety of trials were done using different combinations [1] Available at https://www.fbi.gov/about-us/cjis/ucr/crime-
of passwords. As mentioned before, the locking phase time in-the-u.s/2010/crime-in-the-u.s.-2010/property-
crime/burglarymain
increased depending on the complexity of password used.
None of the combinations of passwords created any insta- [2] National Crime Records Bureau, Statistics2011,2011
bility in the system. A geographic area with good GSM
reception resulted in the delivery of the warning message [3] Available at http://airef.org/burglars-conrm-value-of-alarms/
in a few seconds. It was also noted that the dedicated
[4] Available at http://www.alarm.org/HomeSafety/FastFacts.aspx
power supply helped the system to provide a uctuation-
free service. [5] John Mallory, Central Monitor for Home Security System,
US4581606A, Apr8, 1986.
C. Cost
[6] Takashi Murakami, Yasuyuki Shintani, Kazuhiro Aizu, Home
The whole Prototype cost US$37 with the following split security system , US6759957 B2,Jul 6, 2004.
up: US$18 for the GSM Module, US$4 for the gear motor
and US$3 for the PIC. It goes without saying that the cost [7] Ronald E Pyle, Home Security System, US4446454A, May1,
will go down on large scale production. 1984.