0% found this document useful (0 votes)
124 views21 pages

Password-Based Door Lock System Report

This project report describes a password based door locking system using a microcontroller. The system uses a keypad for password entry, microcontroller to compare the entered password with a predefined password, and a motor driver and stepper motor to open and close the door. If the correct password is entered, the motor rotates to open the door for 10 seconds before closing it again. An LCD and buzzer are also used for output display and alarms. The report provides block and circuit diagrams to explain the working of the system and lists the hardware and software components used.

Uploaded by

Ravi Nakum
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
124 views21 pages

Password-Based Door Lock System Report

This project report describes a password based door locking system using a microcontroller. The system uses a keypad for password entry, microcontroller to compare the entered password with a predefined password, and a motor driver and stepper motor to open and close the door. If the correct password is entered, the motor rotates to open the door for 10 seconds before closing it again. An LCD and buzzer are also used for output display and alarms. The report provides block and circuit diagrams to explain the working of the system and lists the hardware and software components used.

Uploaded by

Ravi Nakum
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Project Report 2018

GOVERNMENT POLYTECHNIC
RAJKOT

PROJECT REPORT
On

Password Based Door Locking System


Prepared by:

Nakum Ravi M. :- 156200311056

Nakum Dhaval S. :- 156200311055

Under guided:
K . R . VADALIA
For Partial fulfillment of subject of PROJECT – 2 Semester 6th
date:-21/12/2017 to 21/04/2018

As part or curriculum of Diploma In Electronic & Communication

Password Based Door Locking System Page 1


Project Report 2018

CERTIFICATE

This is certify that, the following student is 6th semester of E.C


Engineering has partial fulfill the project work as a part or curriculum
for The subject of PROJECT-2 having a project title “Password Based
Door Locking System” during the academic term from under my
guidance Government polytechnic, Rajkot under Gujarat Technical
University.

SR. NO. NAME: [Link].


1. Nakum Ravi M. 156200311056
2. Nakum Dhaval S. 156200311055

Guided by:
K . R . VADALIYA.

Head of department

E.C. Engineering-Government polytechnic Rajkot-360003

Password Based Door Locking System Page 2


Project Report 2018

ACKNOWLEDGEMENT

 This Project We have a make to guidance of [Link] sir


(lecture of E.C. department) of the Government Polytechnic,
Rajkot. Guide teacher of our project. It helps to all the Steps of the
project0.

 We thankful to Shree [Link] sir (HOD), [Link]


sir or the entire teacher who advice in our project. We also thanks
to our guide teacher & our class mate friends to the best suggestion
about our project.

Password Based Door Locking System Page 3


Project Report 2018

CONTENTS

S.r. no Title Page


no.
1. INTRODUCTION 5
2. BLOCK DIAGRAM 6
3. CIRCUIT DIAGRAM 8
4. COMPONENTS LIST 10
5. MICROCONTROLLER 11
6. L293D MOTOR DRIVER 12
7. 16 X 2 LCD DISPLAY 14
8. CRYSTAL OSCILLATOR 15
9. 4X4 MATRIX KEYPAD 17
10. POWER SUPPLY 19
11. APPLICATION AND ADVANTAGES 20
12. REFERENCE 21

Password Based Door Locking System Page 4


Project Report 2018

INTRODUCTION

 Password Based Door Lock System using 8051 Microcontroller is a


simple project where a secure password will act as a door
unlocking system. Traditional lock systems using mechanical lock
and key mechanism are being replaced by new advanced
techniques of locking system. These techniques are an integration
of mechanical and electronic devices and are highly intelligent.
One of the prominent features of these innovative lock systems is
their simplicity and high efficiency.

 Such an automatic lock system consists of electronic control


assembly, which controls the output load through a password.
This output load can be a motor or a lamp or any other
mechanical/electrical load.

 Here, we developed an electronic code lock system using 8051


microcontroller (a Password based Door Lock System using 8051
Microcontroller), which provides control to the actuating the load.
It is a simple embedded system with input from the keyboard and
the output being actuated accordingly.

Password Based Door Locking System Page 5


Project Report 2018

Block Diagram

Password Based Door Locking System Page 6


Project Report 2018

Block Diagram Description

 In this project, a keypad is attached to the door for opening


and closing operations of the door. After entering the code, if
that code matches with the predefined one, then the door will
unlock for a limited period of time.
 After prolonging the unlocking for a fixed period of time, the
relay reenergizes and the door gets locked again. If anyone
enters a wrong code in an attempt to open the door and
attempts thrice, then this system immediately switches an
alarm or a buzzer.
 The operation of this system can be described by the above
block diagram, which consists of blocks as keypad, a buzzer, an
LCD, a Motor Driver and a stepper motor.
 The Keypad is an input device that helps to enter a code to
open the door. This block gives the entered code signals to the
microcontroller.
 The buzzer and LCD are the final indicating devices for
displaying the information and alarming. The Stepper motor
moves the door: opens and closes the door, and the motor
driver drives this motor by receiving control signals from the
microcontroller

Password Based Door Locking System Page 7


Project Report 2018

CIRCUIT DIAGRAM

Password Based Door Locking System Page 8


Project Report 2018

Circuit Diagram Description

 Once the circuit is powered ON, microcontroller sends


commands to the LCD to display “enter password” on LCD.
Now we need to enter the password using the keypad. Once
password is entered, it displays 5 stars on LCD to indicate that
controller read password successfully.
 Now the controller compares the entered password with
predefined password. If the password is matched, then the
microcontroller makes P0.0 HIGH and P0.1 LOW, so the motor
driver gets the input signals for forward motion of the motor.
 As a result, the Door Motor rotates in forward direction to
open the door. After a delay of 10seconds, the microcontroller
makes P0.0 LOW and P0.1 HIGH, so the motor driver gets the
input signals for reverse motion. As a result, the Door motor
rotates in reverse direction to close the door.
 If the password is not matched, then microcontroller maintains
both P0.0 and P0.1 LOW. Hence, the door motor is stationary
so that door remains closed.

Password Based Door Locking System Page 9


Project Report 2018

COMPONENTS LIST

 HARDWARE

 8051 Microcontroller AT89C52


 4×4 Matrix Keypad
 16×2 LCD
 L293D Motor Driver
 DC Motor
 10KΩ Potentiometer
 Connecting wires
 Power Supply
 11.0592 MHz Quartz Crystal
 CAPECITOR
 RESISTER
 LED
 GENERAL PURPOSE PCB

 SOFTWARE

 ASSEMBLY LANGUAGE

 C’ LANGUAGE

Password Based Door Locking System Page 10


Project Report 2018

MICROCONTROLLER

 Microcontroller (AT89C52)

 In this project we used a AT89S51 microcontroller.

 The microcontroller has connected to all devices & control


the all circuit.

Password Based Door Locking System Page 11


Project Report 2018

L293D Motor Driver

Password Based Door Locking System Page 12


Project Report 2018

 Pin-1 (Enable 1-2): When the enable pin is high, then the left part
of the IC will work otherwise it won’t work. This pin is also called
as a master control pin.
 Pin-2 (Input-1): When the input pin is high, then the flow of
current will be through output 1
 Pin-3 (Output-1): This output-1 pin must be connected to one of
the terminals of the motor
 Pin4 &5: These pins are ground pins
 Pin-6 (Output-2): This pin must be connected to one of the
terminals of the motor.
 Pin-7 (Input-2): When this pin is HIGH then the flow of current
will be though output 2
 Pin-8 (Vcc2): This is the voltage pin which is used to supply the
voltage to the motor.
 Pin-16 (Vss): This pin is the power source to the integrated circuit.
 Pin-15 (Input-4): When this pin is high, then the flow of current
will be through output-4.
 Pin-14 (Output-4): This pin must be connected to one of the
terminals of the motor
 Pin-12 & 13: These pins are ground pins
 Pin-11 (Output-3): This pin must be connected to one of the
terminals of the motor.
 Pin-10 (Input-3): When this pin is high, then the flow of current
will through output-3
 Pin-9 (Enable3-4): When this pin is high, then the right part of the
IC will work & when it is low the right part of the IC won’t work.
This pin is also called as a master control pin for the right part of
the IC.

Password Based Door Locking System Page 13


Project Report 2018

16×2 LCD Display

 LCD (Liquid Crystal Display) screen is an electronic display


module and find a wide range of applications. A 16x2 LCD display
is very basic module and is very commonly used in various devices
and circuits. These modules are preferred over seven segments and
other multi segment LEDs. The reasons being: LCDs are
economical; easily programmable; have no limitation of displaying
special & even custom characters (unlike in seven segments),
animations and so on.

 A 16x2 LCD means it can display 16 characters per line and there
are 2 such lines. In this LCD each character is displayed in 5x7
pixel matrix. This LCD has two registers, namely, Command and
Data.

Password Based Door Locking System Page 14


Project Report 2018

CRYSTAL OSCILLATOR

 These high reliability electromagnetic buzzers are applicable to


automobile equipment.
 Compact, pin terminal type electromagnetic buzzer with
2048Hz output.
 Pin type terminal construction enables direct mounting onto
printed circuit boards.

Password Based Door Locking System Page 15


Project Report 2018

Features:

• Crystal Case Type: Metal Can


• Crystal Mounting Type: Through Hole
• Frequency: 11.0592 MHz
• Frequency Stability: ± 50ppm
• Frequency Tolerance: ± 30ppm
• Load Capacitance: 10 pF
• No. of Pins: 2
• Operating Temperature Max: 70 °C
• Operating Temperature Min: -10 °C
• Operating Temperature Range: -10°C to +70°C

Password Based Door Locking System Page 16


Project Report 2018

4×4 Matrix Keypad

 A keypad is the most widely used devices of digital circuits,


microcontrollers or telephone circuits. Many applications require
large number of keys connected to a computing system.

Password Based Door Locking System Page 17


Project Report 2018

 Provided that it for the most part holds numbers then it can
additionally be known as a numeric keypad. In order to use it
efficiently, we need a basic understanding of them.

 A matrix keypad consists of arrangement of switches in matrix


format in rows and columns with the microcontroller I/O pins
connected to the rows and columns of the matrix such that
switches in each row are connected to one pin and switches in each
column are connected to another pin.

 A keypad is generally a matrix arrangement of tact switches which


are basically push button switches

Password Based Door Locking System Page 18


Project Report 2018

Power supply

 The low-voltage AC output from the transformer is then rectified


by two or four diodes and smoothed into low-voltage DC by large
electrolytic capacitors. Presented here is a 1A, 12V SMPS

 In this project we have required to 12v dc supply, so we have use


dc power supply.

 Power supply through on/off switch for protecting from overload


voltage and short circuit protection

Password Based Door Locking System Page 19


Project Report 2018

APPLICATIONS

• This simple circuit can be used at residential places to ensure better


safety.
• It can be used at organizations to ensure authorized access to hisliy
ecured places.
• If you forget the password it is not possible to open the door.
• This project provides security
• Currently if the personal identification number forgotten the
system could not be accessed.

ADVANTAGES

• Power consumption is less.


• Can be locked using keypad.
• Automatic door opening.

Password Based Door Locking System Page 20


Project Report 2018

REFERENCE

 [Link]
 [Link]
 [Link]
 [Link]

Password Based Door Locking System Page 21

You might also like