You are on page 1of 18

DTMF BASED DOOR OPENING SYSTEM WITH SECURED PASSWORD

TABLE OF CONTENTS
Sl.No.
1.

Contents
CHAPTER 1
Introduction

2.
2.1
2.2
2.3
3.

5.

4
5
7

CHAPTER 3
3.1
3.2
3.3
3.4
3.5
3.6
3.7

4.

CHAPTER 2
Objective
Block Diagram
Component List

Page.No.

Designing
Power Supply Section
Selection of microcontroller
Selection of GSM Mobile
Selection of DTMF Rx IC
Selection of Moter
Connections

8
8
9
11
11
11
12

CHAPTER 4
Software Requirement

13

CHAPTER 5
Circuit Operation

15

Applications and Advantages


Future Development
Reference

17
17
18

Department of ECE, SDMCET, Dharwad


Page 1

DTMF BASED DOOR OPENING SYSTEM WITH SECURED PASSWORD

CHAPTER -1
Introduction:
The cell phone security system is the result of a fusion of a creative idea with an attempt to
motivate change. Even though modern technology has allowed for the automation of many
aspects of domestic lifestyles, from automatic motion sensing lights to automatic garage door
openers, home security has not seen much benefit from this revolution. Household entry has
long been a very manual routine with little effort to automate the process. Entry into a
residence is still primarily limited to a manual process which involves inserting a key into a
bolt and physically moving the locking mechanism. The cell phone security system aims to
change this. The system takes advantage of the widespread acceptance of cell phones in
todays society in conjunction with the deep-rooted standards of the landline telephone
network to introduce automation and convenience. The system will allow a user to use their
cell phone to place a call into their home security system. Once the system verifies the caller,
the caller is then allowed to attempt a password entry. Upon successfully entering a
password, the system will automatically unlock the door and grant entrance. This automation
introduces a form of secure, keyless entry into a residence along with the convenience of a
fully responsive security system monitor. The system will primarily interface with telephony
protocols which include dual tone multi frequency (DTMF), caller identification (CID), and
some applicable telephony circuit standards. Caller identification will be used in the first
level of security to verify the caller and DTMF will be used in the second level to decode the
button presses that form the password. The telephony standards are necessary for
implementing a correct interface that will allow the phone line to go on/off-hook. Properly
understanding and interfacing with these standards is of utmost importance for successful
operation.

CHAPTER-2
Department of ECE, SDMCET, Dharwad
Page 2

DTMF BASED DOOR OPENING SYSTEM WITH SECURED PASSWORD

Objective:
Keyless entry has been a luxury whose availability is confined primarily
to vehicles. The cell phone security system takes this idea of keyless entry
and transforms it into a convenient, versatile security system that utilizes
cell phone technology and the landline telephone network. By taking
advantage of caller identification and dual-tone multi-frequency signaling,
the security system has the ability to introduce two-levels of security. The
first level will be decoding the calling partys identification information
while the second level would consist of the user attempting a password
entry

over

the

phone.

By

combining

the

mobility

of

this

telecommunication medium with microcontrollers, the system achieves a


secure, convenient, and automated form of security for a place of
residence This project is based on the concept of DTMF (dual tone multi frequency). Every numeric button on the keypad of

a mobile phone

generates a unique frequency when pressed. These frequencies are


decoded by the DTMF decoder IC at the receiving end which is fed to the
microcontroller. If these decoded values (password entered by the user)
matches with the password stored in the microcontroller, then the
microcontroller initiates a mechanism to open the door through a motor
driver interface
The block diagram depicts the entire working of the system . The users
cell phone dials to the cell phone attached to the system. It automatically
picks up the call and receives the DTMF tones and sends it as an input to
DTMF decoder to decode its BCD code. The BCD code is then sent to the
micro-controller which on receiving the input on one of its port acts
according to the program burnt in it.It, on receiving the signal, sends the
command via L293D driver to the DC motor and DC motor acts
accordingly.

Department of ECE, SDMCET, Dharwad


Page 3

DTMF BASED DOOR OPENING SYSTEM WITH SECURED PASSWORD

BLOCK DIAGRAM

Department of ECE, SDMCET, Dharwad


Page 4

DTMF BASED DOOR OPENING SYSTEM WITH SECURED PASSWORD


Fig.2.1 Block Diagram of DTMF Based Door Opening System With Secured Password.

POWER SUPPLY

Fig.2.2 Block Diagram of Power Supply.

Department of ECE, SDMCET, Dharwad


Page 5

DTMF BASED DOOR OPENING SYSTEM WITH SECURED PASSWORD

COMPONENT LIST
Sr. no
1
2
3
4

Equipment
IC 8051 MC
MT 8870 DTMF IC
Crystal (3.579545mhz)
VOLTAGE REGULATOR

Quantity
1
1
1
1

CRYSTAL
OSCILLATOR(11.0592mhz)
DIODE
PUSH BUTTON
LEDS
RESISTER(220,4.7k,10k
)
CAPACITORS(10uf,1000uf)
MOTOR
L293D

6
7
8
9
10
11
12

Department of ECE, SDMCET, Dharwad


Page 6

1
1
4
BOX
5
1
1

DTMF BASED DOOR OPENING SYSTEM WITH SECURED PASSWORD

CHAPTER-3

CIRCUIT DISCRIPTION:

3.1 DESIGNING:
Since the main intension of this project is to design a DTMF BASED DOOR LOCKING
SYSTEM. In order to fulfill this application there are few steps that has been performed i.e.
1) Designing the power supply for the entire circuitry.
2) Selection of microcontroller that suits our application.
3) Selection of GSM MOBILE.
4) Selection of DTMF RX IC..
5) Selection of MOTOR.
Complete studies of all the above points are useful to develop this project.

3.2 POWER SUPPLY SECTION:


In-order to work with any components basic requirement is power supply. In this section
there is a requirement of two different voltage levels.
Those are
1) 5V DC power supply.
2) 9V DC power supply.

Now the aim is to design the power supply section which converts 230V AC in to 5V DC.
Since 230V AC is too high to reduce it to directly 5V DC, therefore we need a step-down
transformer that reduces the line voltage to certain voltage that will help us to convert it in to
a 5V DC. Considering the efficiency factor of the bridge rectifier, we came to a conclusion to
choose a transformer, whose secondary voltage is 3 to 4 V higher than the required voltage
i.e. 5V. For this application 0-9V transformers is used, since it is easily available in the
market.
Department of ECE, SDMCET, Dharwad
Page 7

DTMF BASED DOOR OPENING SYSTEM WITH SECURED PASSWORD

The output of the transformer is 9V AC; it feed to rectifier that converts AC to pulsating DC.
As we all know that there are 3 kind of rectifiers that is
1) half wave
2) Full wave and
3) Bridge rectifier
Here we short listed to use Bridge rectifier, because half wave rectifier has we less in
efficiency. Even though the efficiency of full wave and bridge rectifier are the same, since
there is no requirement for any negative voltage for our application, we gone with bridge
rectifier.
Since the output voltage of the rectifier is pulsating DC, in order to convert it into pure DC
we use a high value (1000UF/1500UF) of capacitor in parallel that acts as a filter. The most
easy way to regulate this voltage is by using a 7805 voltage regulator, whose output voltage
is constant 5V DC irrespective of any fluctuation in line voltage.

3.3 SELECTION OF MICROCONTROLLER:


As we know that there so many types of micro controller families that are available in the
market.
Those are
1) 8051 Family
2) AVR microcontroller Family
3) PIC microcontroller Family
4) ARM Family
Basic 8051 family is enough for our application; hence we are not concentrating on higher
end controller families.

Department of ECE, SDMCET, Dharwad


Page 8

DTMF BASED DOOR OPENING SYSTEM WITH SECURED PASSWORD

In order to fulfill our application basic that is AT89C51 controller is enough. But still we
selected AT89S52 controller because of inbuilt ISP (in system programmer) option. There are
minimum six requirements for proper operation of microcontroller.
Those are:
1) power supply section
2) pull-ups for ports (it is must for PORT0)
3) Reset circuit
4) Crystal circuit
5) ISP circuit (for program dumping)
6) EA/VPP pin is connected to Vcc.
PORT0 is open collector thats why we are using pull-up resistor which makes PORT0 as an
I/O port. Reset circuit is used to reset the microcontroller. Crystal circuit is used for the
microcontroller for timing pluses. In this project we are not using external memory thats
why EA/VPP pin in the microcontroller is connected to Vcc that indicates internal memory is
used for this application.

External
interrup
In
ts ter
C
ru
P
pt
O
U
Co
S
nt
C
rol

On
O
nchi
ch
p
RO
Bu
4ip
R
Ms
I/O
A
for
Co P0
Por
Addr
P1
M
pro
nt
ts
ess/D
P2
gra
rol
P3
m ata
cod
e

Timer
/Coun
Ti
Ti
ter
me

Co
un
me
r1
ter
r0
In
S
pu
e
ts
TxD
r
i
RxD
a
l
P
o
r
t

Fig 3.1: 8051 Microcontroller

Department of ECE, SDMCET, Dharwad


Page 9

DTMF BASED DOOR OPENING SYSTEM WITH SECURED PASSWORD

3.4 SELECTION OF GSM MOBILE:


GSM (Global System for Mobile communications) is an open, digital cellular technology
used for transmitting mobile voice and data services. Here we are using it only for
transmitting and receiving the messages. GSM wireless data module is used for remote
wireless applications, machine to machine or user to machine and remote data
communications in many applications.

3.5 SELECTION OF DTMF RX IC:


The MT8870D/MT8870D-1 is a complete DTMF receiver integrating both the
bandsplit filter and digital decoder functions. The filter section uses switched capacitor
techniques for high and lowgroup filters ; the decoder uses digital counting techniques
to detect and decode all 16 DTMF tonepairs into a 4-bit code. External component
count is minimized by on chip provision of a differential input amplifier , clock
oscillator and latched three-state bus Interface

3.6 SELECTION OF MOTOR:


Stepper Motor is widely used in CNC machine drives , robots, and wherever an
accurate positioning is required . In such applications, step angle , direction , operating
modes( single coil or double coil),

speed and position are important considerations.

stepper motor is a simple dc motor with a permanent magnet rotor and a stator with
armature consisting of coils. These coils produce a magnetic field when suitable
current flows through them this field produces a torque in the rotor which makes it
rotate.Well these are a little more complicated to control than the simple DC motors
but these provide exact step wise rotation

with an overall turn of 1.8 degrees / step .

The step wise motion can be easily controlled by a stepper controller which is a
simple circuit which takes digital logic and then uses it to turn the motor step wise

Department of ECE, SDMCET, Dharwad


Page 10

DTMF BASED DOOR OPENING SYSTEM WITH SECURED PASSWORD

3.7. 1 CONNECTIONS OF MOBILE HEADSET :


The mobile head set should be connected to DTMF RX IC inputs. & After that DTMF
decoder IC output should be connected to the microcontroller.

3.7. 2 CONNECTIONS OF STEPPER MOTOR:


In this project we are using one driver IC L293D to ON\OFF the stepper motor. The
terminals of this L293D is connected to the PORT2.1 (P2.1) of microcontroller.

Fig 3.2: Pin Diagram Of Motor

Department of ECE, SDMCET, Dharwad


Page 11

DTMF BASED DOOR OPENING SYSTEM WITH SECURED PASSWORD

CHAPTER-4

SOFTWARE REQUIREMENTS
Keil an ARM Company makes C compilers, macro assemblers, real-time kernels, debuggers,
simulators, integrated environments, evaluation boards, and emulators for
ARM7/ARM9/Cortex-M3, XC16x/C16x/ST10, 251, and 8051 MCU families
Compilers are programs used to convert a High Level Language to object code. Desktop
compilers produce an output object code for the underlying microprocessor, but not for other
microprocessors. i.e., the programs written in one of the HLL like C will compile the code
to run on the system for a particular processor like x86 (underlying microprocessor in the
computer).

Department of ECE, SDMCET, Dharwad


Page 12

DTMF BASED DOOR OPENING SYSTEM WITH SECURED PASSWORD

Many companies provide the 8051 assembler, some of them provide shareware version of
their product on the Web, Kiel is one of them. We can download them from their Websites.
However, the size of code for these shareware versions is limited and we have to consider
which assembler is suitable for our application.

Department of ECE, SDMCET, Dharwad


Page 13

DTMF BASED DOOR OPENING SYSTEM WITH SECURED PASSWORD

CHAPTER-5

CIRCUIT OPERATION:
In this application we are using mobile phones. To this mobile we are connecting one head
set . This head set output is connected to DTMF RX IC & This is connected to one
microcontroller and after that microcontroller connected to the stepper motor through the
L293D DRIVER IC.In this application we are connecting one door type device to stepper
motor. Here the operation is we are calling to the target mobile . then the mobile release some
dual tone multiple frequencies. These frequencies are received by the DTMF RX IC and it
converted to binary data. And It received by the microcontroller and then it can do particular
operation depending upon the binary information. then controller can turn the motor to open
the door as well as close the door by pressing the keys on the keyboard.

Department of ECE, SDMCET, Dharwad


Page 14

DTMF BASED DOOR OPENING SYSTEM WITH SECURED PASSWORD

Table 5.1 DTMF keypad frequencies


(with sound clips)
Fig 5.1 DTMF keypad layout

Department of ECE, SDMCET, Dharwad


Page 15

DTMF BASED DOOR OPENING SYSTEM WITH SECURED PASSWORD

Fig.5.2 Schematic diagram of POWER SUPPLY

Fig.5.3 Application Circuit with Micro Controller

Department of ECE, SDMCET, Dharwad


Page 16

DTMF BASED DOOR OPENING SYSTEM WITH SECURED PASSWORD

Applications and Advantages:

1. This project can be used in offices, companies also at home. It will provide keyless entry.
2. This can be used in Banks for safety lock.
3. User dont have to carry keys along with him.

Future Development:

1. We can monitor parameters like fire, overheat


2. We can provide voice feedback system
3. We can interface GSM modem which will send sms if invalid attempt is made to open the
lock.

Department of ECE, SDMCET, Dharwad


Page 17

DTMF BASED DOOR OPENING SYSTEM WITH SECURED PASSWORD

REFERENCES

8051 and embedded system by Mazidi and Mazidi


All datasheets from www.datasheetcatalog.com
About AT89s8252 from www.atmel.com

http://www.atml.com/embeded-projects/pic-16-f-887 project .html

http://en.m.wikipedia.org/wiki/pic_controller#section_footer

http://microchip.com/yms_9500-sensor.html

www.microe.com

And www.triindia.co.in

Department of ECE, SDMCET, Dharwad


Page 18

You might also like