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

Code Lock: Digital With LCD and Keypad Using AT89C2051

This digital code lock uses an AT89C2051 microcontroller with an LCD display and 4x3 keypad for input. The lock has a 5-digit user code and 10-digit master code to prevent brute force hacking. The keypad is used to enter codes which are displayed on the LCD. A pin is assigned to activate or deactivate the lock, demonstrated with an LED. Users can enter the default 5-digit code or set a custom code after entering the master code via the keypad.

Uploaded by

Kanisht Agarwal
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views

Code Lock: Digital With LCD and Keypad Using AT89C2051

This digital code lock uses an AT89C2051 microcontroller with an LCD display and 4x3 keypad for input. The lock has a 5-digit user code and 10-digit master code to prevent brute force hacking. The keypad is used to enter codes which are displayed on the LCD. A pin is assigned to activate or deactivate the lock, demonstrated with an LED. Users can enter the default 5-digit code or set a custom code after entering the master code via the keypad.

Uploaded by

Kanisht Agarwal
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Digital Code Lock with LCD and Keypad using AT89C2051 A Brief Description: This project is written in C language.

Its a simple project with efficient hacking prevention from Brute Force etc. The basic user lock is of 5 Digits and Master Lock is of 10 digits so its not easy for an intruder to break the lock unless you keep the code simple. The input is taken from a 4x3 Keypad (please see the schematic for more information) and Display the user input on a 2x16 LCD. A pin is assigned as output for activating and deactivating the lock. For demonstration i have connected an LED to that pin. User Side working: The user has two options either he/she can use its own 5 digit code or use the default 5 digitcode. If user has to do setup his own code, then he has to enter "12345" and press '#'. After this.. controller will ask for 10 Digit master password which is preprogrammed in the controller. Entering master lock, user can enter the new 5 digit code for the lock and press '#' to save it. Using the Keypad: Keypad has 12 keys (4x3) starting from 1,2,3,4,5,6,7,8,9,*,0,# (please see the schematic for layout). Numeric keys are used for entering numbers. '*' is used as the Cancel key and '#' is used as the Enter key.

You might also like