0% found this document useful (0 votes)
54 views

Controller Based Lock With Password Protection: Guided By: Prof. Ami Vora

This document summarizes an electronic lock system that uses a password for authentication. The system includes an AT89S52 microcontroller, keypad, LCD display, and other components. When booted, the user sets a 4-digit password which is stored. When attempting to unlock, if the entered password matches, the lock opens and "LOCK OPEN" is displayed. Otherwise, the user has 3 attempts before the system locks out. The project implemented the design successfully using an AT89S52 microcontroller.

Uploaded by

Himanshu Rathod
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views

Controller Based Lock With Password Protection: Guided By: Prof. Ami Vora

This document summarizes an electronic lock system that uses a password for authentication. The system includes an AT89S52 microcontroller, keypad, LCD display, and other components. When booted, the user sets a 4-digit password which is stored. When attempting to unlock, if the entered password matches, the lock opens and "LOCK OPEN" is displayed. Otherwise, the user has 3 attempts before the system locks out. The project implemented the design successfully using an AT89S52 microcontroller.

Uploaded by

Himanshu Rathod
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Controller based Lock with

Password Protection
Guided By: Prof. Ami Vora

Hard Patel, Himanshu Rathod | 2EC314 MCLab | April 11, 2016


Introduction

An electronic lock or a digital lock is an electronic circuit which has an electronic


control attached to it. This system allows the user to enter a 4-digit password from
keypad and upon successful authentication via micro controller, the system opens
the lock. The user can set his own password for more protection.

Components

AT89S52

4 x 3 keypad

16 x 2 LCD matrix

11.0592 MHz crystal

10Kohm Preset

1Kohm resistors – 7

10Kohm resistor

10uF capacitor

PAGE 1
Working

When the system is booted, the user is supposed to enter the password he/she
wants to set for the lock. He will be asked to enter it second time and confirm it. If
the two passwords don’t match, it will be displayed “PASSWORD NOT
MATCHED”. This password is then stored in the system until the next boot.

While unlocking, if the entered password matches the system password, the
message displayed will be “LOCK OPEN” and an output pin will also be made high
so that further circuitry can be attached. The door has to manually close. The
system will again wait for password to open the door.

If the password entered doesn’t match the system password, LCD will display
“WRONG PASSWORD”. The maximum number of trials allowed are 3. After
which, the LCD will display “SORRY NO MORE TRIALS”. After this the system will
need to be booted again.

Microcontroller

PAGE 2
Circuit Diagram

Conclusion

The project is implemented successfully with little modification such as using


89s52 instead of 89c51 based on recommendations from online forums and our
failure in making this circuit work with 89c51.

PAGE 3

You might also like