Digital Code Lock using 8051
Digital Code Lock Using AT89S52, 20×4 LCD with complete ‘C’ code
We all know about the electronic code locking security system, here is the same concept of electronic code lock using AT89S52 i.e. 8051 family of micro controller. it has a 4×3 keypad for user input of password which will be numeric and a 20×4 alphanumeric LCD is used for user interface.
There are two kind of passwords one is the user password and the other is master password. when any user try to open the lock he must enter the right password which is of 5 digits. the user will be given 3 chances to enter the correct code otherwise he will be asked for the master password which is 10 digits long.
LCD Commands for 20×4 Alphanumeric LCD are as follows:
Goto first line 0×80
Goto second line 0xC0
Goto Third line 0×94
Goto Fourth Line 0xD4
Code for this project includes Keypad interfacing and logic for password check, as well as LCD routines. Download the complete source code as well as schematic for the project.
Download Complete Source code for Digital Code lock here
Comments
12 Comments on Digital Code Lock using 8051
-
paresh on
Fri, 9th Oct 2009 7:12 am
-
naveen on
Tue, 13th Oct 2009 1:18 pm
-
admin on
Tue, 13th Oct 2009 1:45 pm
-
Aravinth on
Tue, 3rd Nov 2009 2:11 pm
-
admin on
Wed, 4th Nov 2009 8:21 am
-
shiny on
Wed, 18th Nov 2009 6:58 am
-
zeki on
Fri, 20th Nov 2009 1:07 pm
-
SAJID on
Tue, 29th Dec 2009 5:04 am
-
naushin on
Fri, 15th Jan 2010 10:38 am
-
Jayasree on
Tue, 26th Jan 2010 8:36 am
-
divakar on
Fri, 29th Jan 2010 1:30 am
-
admin on
Sat, 30th Jan 2010 9:52 am
dear sir
i want to both two password for this project… so plz give the right password than i oprate this projects..
dear all,
I need assembly language code for the same.. can some one provide it??
@naveen..
sorry its nt possible to me to write that much lengthy program in asm
can u please mail me the logic of the program, i mean the method u wrote the code. and have u written only using C or EMBEDDED C style of logic, coz its a bit different from the normal one which is used for 8051. anyways, a nice and simple project, i liked it…. do mail the flow of the program. thank u
I dont know what is Embedded ‘C’ style of logic anyways !!! What matters is either your code efficient and working or not. Anyways i will mail you the flow of program…give me some time
i really thank u for posting and helping like us (learners – Embedded C)
nice , i liked it………………please mail me the flow of the program. thank u
Sir,
please send me assembly code fo this circuit
thanks
sir,
can u plz mail me the complete details of digital code lock including the schematic and source code. Also i hv foll doubts:
1.i want to add a buzzer which will raise an alarm if the intruder fails his 3 attempts.
2. also i want 2 add time limit for the buzzer i.e how long it will continue 2 raise an alarm
3.does the ckt runs on battery?if yes, then i want 2 add a kind of alarm that wil indicate the the battery has gone low so as to replace it
how can i achieve the above conditions?? if der r any changes in prog wid regards to the above conditions.plz mail me the modified version of source code.
waiting for ur reply..
Can i get some interview question & answers on 8051 microcontrollers.Any wesite or any book will be helpfull.
Thanks
dear sir,
this is really a good project. i have a doubt in the operation, i think the correct unlock code is 93016 and the master key is 9977411065. i am using the proteus demo to see the output for the code which you designed. my doubt is after entering the password what should be my next step to verify my password. please help me sir.
if you have entered wrong password the system will tell you to re enter the password. One thing is that you cant use backspace. means you cant clear the key entered.
Tell me what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!










