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
24 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
-
chinmay on
Tue, 23rd Mar 2010 12:36 pm
-
nitin on
Tue, 23rd Mar 2010 12:44 pm
-
admin on
Fri, 26th Mar 2010 3:26 am
-
gayatri on
Sat, 27th Mar 2010 10:55 am
-
sayali on
Tue, 30th Mar 2010 8:20 am
-
admin on
Wed, 31st Mar 2010 10:31 am
-
mehmet on
Wed, 5th May 2010 8:37 pm
-
admin on
Thu, 6th May 2010 3:33 am
-
mandy on
Sat, 15th May 2010 1:39 am
-
mandy on
Sat, 15th May 2010 1:41 am
-
Vicky on
Thu, 8th Jul 2010 9:41 pm
-
admin on
Fri, 9th Jul 2010 3:03 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.
please, can I get the assembly language program for the same?
hi, can you give me the code using the microcontroller
try ajay bhargava 8051 projects website for asm code
i liked the project…but cud u plz mail me the flowchart of the program?
plz send assembly language program for it
why dont you understand the C code and convert on your own.???
hello! i want to use your project on a car contractor key before car ignites for security.
but i wish to know, can i apply this circuit to the cars electricity system. or do recommend me another bur similar project?
regards
ps:if possible, please mail me your reply.
i think you can apply this circuit to car system but for that u need to identify the voltage system of car. you should choose some appropriate locking mechanism too.
hi sir,
can you please send me the programm of this code lock….i’ve tried it many times but still i have some problems……
can you send me the programme for this……it’ll be really appreciated
Sir, can you plz email me the assembly code for this project.. I shall be thankfull
no dude…i cant, i dont work with assembly
Tell me what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!










