Basic Level     Skills: Not specified    
Author
Author email
[email protected]
Author website
www.8051projects.net

Description

Project tested and working perfectly

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 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.

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.

Download File Information:
LCD.C - 4-Bit LCD Drivers
LCD.H - LCD function prototypes and other declerations
Lock.C - code for lock functioning
LOCK.H - lock function declerations
KEYPAD.C - Keypad drivers
KEYPAD.H - Function declerations
DELAY.C - Delay Functions
DELAY.H - Function Prototypes only
MAIN.C - Main function!
Digital Code Lock Schematic - PDF file of orcad schematic

If any problem Please post in the forum
Tags Digital Code LockDigital door lock projectdoor lock keypadprogrammable door lock8051 door lock project8051 digital lock
  Filesize

20.16 kB

  Downloads

63965

  Rating
 

Comments

geethika
17 Jul 2014: 06:32 AM
Sir iam unable to run the code in proteus....after displaying "Enter Lock Code : " it is not taking the input from keypad and is doing nothing.
help me.
thanku and regards.
  
ajay_bhargav
21 Jul 2014: 01:20 AM
Geethika, can you post your problem in forum with proteus schematic?
  
(Required; Min length 5)
(Required; will not be displayed)

Conversation

Tue Aug 19 2014, 04:51 PM
allen ndumu
please i will like to know if the problem of speed control of dc motor using keypad and l298 was if yes can i have the complete project send it to the address i really need to see it
Tue Aug 19 2014, 10:47 AM
Amit Bisht
sir i want to have some trending projects on which i could work related to ATmega 16 microcontroller
ExperimenterUK
Sat Aug 16 2014, 04:16 PM
@diligent . create a thread
Sat Aug 16 2014, 03:17 PM
diligent
in assembly langauage programming..
Sat Aug 16 2014, 03:14 PM
diligent
will anyone help me?
Thu Aug 14 2014, 10:24 PM
Amirudin Tone
i help, i need liberary IC 4047 in the proteus. thanks
ExperimenterUK
Thu Aug 14 2014, 03:59 PM
@NARAYANA are you getting an error ?
Tue Aug 12 2014, 11:47 PM
NARAYANA
i am not able to get reg please provide me registration link
Tue Aug 12 2014, 10:32 AM
saloni
sir I was needing literature survey of''ANDROID CONTROLLED SPY ROBOT USING MICROCONTROLLER"
ajay_bhargav
Mon Aug 11 2014, 12:30 PM
@nisargpatel and @NARAYANA please post questions in forum.

Downloads

Comments

samchovatiya
Thu Aug 21 2014, 02:30 PM
hasmukhjain
Wed Aug 20 2014, 06:28 AM
rablo
Tue Aug 19 2014, 10:10 AM
faizhameed
Tue Aug 12 2014, 10:39 PM
ind3siszive
Sun Aug 10 2014, 01:05 PM
snaxxx68
Sat Aug 09 2014, 11:06 AM
[email protected]
Sat Aug 09 2014, 08:58 AM
rajiabdul
Mon Aug 04 2014, 01:31 PM

Online

Guests: 56, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 01:37 AM

Members: 37497
Newest member: samchovatiya
Forum Activity
gaurav7577 Avatar
Posted By gaurav7577
Fri Aug 22 2014, 01:30 AM
thnks for rply..i hav attached error pic here...pl...
ajay_bhargav Avatar
Posted By ajay_bhargav
Fri Aug 22 2014, 12:46 AM
It is clearly mention with segment name on the pin...
ajay_bhargav Avatar
Posted By ajay_bhargav
Fri Aug 22 2014, 12:42 AM
What is the error that you're getting?
samchovatiya Avatar
Posted By samchovatiya
Thu Aug 21 2014, 02:57 PM
I want to know that in my project of Simple Digita...
gaurav7577 Avatar
Posted By gaurav7577
Thu Aug 21 2014, 05:47 AM
Hi..I hav lpc 2148 dev board from nex Robotics. I ...
hasmukhjain Avatar
Posted By hasmukhjain
Thu Aug 21 2014, 01:50 AM
for that try to add a variable wch can save your p...
jayachandra Avatar
Posted By jayachandra
Wed Aug 20 2014, 08:11 AM
thanq for reply @hasmukhjain,actually my applicati...
hasmukhjain Avatar
Posted By hasmukhjain
Wed Aug 20 2014, 06:40 AM
Hi Mr jayachandra,I feel ur if statement for switc...
nisargpatel Avatar
Posted By nisargpatel
Wed Aug 20 2014, 01:29 AM
see we are measuring electrical parameters by CT, ...
jayachandra Avatar
Posted By jayachandra
Tue Aug 19 2014, 08:22 AM
HELLOim facing problem with eeprom, i wrote a prog...