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

Department: Electronics Engg. Title: Digital Code Lock

The document describes a digital code lock project using an AT89C2051 microcontroller. The lock takes a 5-digit user code or default code as input from a 4x3 keypad and displays it on a 2x16 LCD. Entering the correct code activates an output pin to unlock the door. A 10-digit master code can be used to set a new 5-digit user code.

Uploaded by

Majed Tozah
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views

Department: Electronics Engg. Title: Digital Code Lock

The document describes a digital code lock project using an AT89C2051 microcontroller. The lock takes a 5-digit user code or default code as input from a 4x3 keypad and displays it on a 2x16 LCD. Entering the correct code activates an output pin to unlock the door. A 10-digit master code can be used to set a new 5-digit user code.

Uploaded by

Majed Tozah
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 4

DEPARTMENT : ELECTRONICS ENGG.

TITLE : DIGITAL CODE LOCK

INTRODUCTION
The project called Digital Code Lock using AT89C2051. LCD is used for display and a keyboard is used to input the keys. This project source code is written in C. This 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 43 Keypad (please see the schematic for more information) and Display the user input on a 216 LCD. A pin is assigned as output for activating and deactivating the lock. For demonstration an LED is connected to that pin. The user has two options either he/she can use its own 5 digit code or use the default 5 digit code. 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.

Keypad has 12 keys (43) 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.

CIRCUIT DIAGRAM

PIN DIAGRAM

WORKING

You might also like