Controller Based Lock With Password Protection: Guided By: Prof. Ami Vora
Controller Based Lock With Password Protection: Guided By: Prof. Ami Vora
Password Protection
Guided By: Prof. Ami Vora
Components
AT89S52
4 x 3 keypad
16 x 2 LCD matrix
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
PAGE 3