Code Lock

You might also like

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 2

DIGITAL CODE LOCK

Introduction: this project is designed to produce security for a


place by applying a digital code lock. If the password entered is
wrong for three times in continuous the device will get blocked
and can only be opened using master password.

The project consists of 4x3 keypad matrix, for entering a


password to the micro controller, a LCD display, to display data,
buzzer to indicate lock or unlocked status and a 8051 micro
controller to control all the devices.

Operation:

In order to open the lock the user has to enter the correct
password and to press # in the keypad which is used as ‘enter’ in
the project. The default password is 54321. If the password
matches the lock will be opened which will be indicated by
turning ON a relay. If password entered is wrong for
continuously three times, then the device will get blocked which
can be unlocked using master password only. The master
password is set as “1234567890”, which can be used to change
the user password. In order to change the user password the user
has to enter 54321 and the system will ask for master password.
After entering the master password, the user set is new
password. The * button in the keypad is used as cancel button.

The micro controller will take care in displaying the data


typed in the keypad to the LCD. The use of LCD and keypad
reduces the number of I/O pins for the micro controller. Except
relay all other devices operates on 5v and relay operates on 12v.
BLOCK DIAGRAM

LCD

8051

4x3 Relay
Keypad
Matrix

You might also like