free 8051 Microcontroller Projects AVR PIC Microcontroller Projects Tutorials Ebooks Libraries, interfacing tutorials, lcd tutorial, stepper motor, dc motor 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems

 
8051 microcontroller 8051 microcontroller
8051 Projects [ projects based on 8051 ]

Digital Lock Using AT89C2051 with LCD and Keypad - Assembly
Author Ajay Bhargav
Author email contact@rickeyworld.info
Author website www.8051projects.net
Bookmark this download
Description Project tested and working perfectly

Digital Lock Using AT89C2051 with LCD and Keypad - Assembly

A Brief Description:
This project is a rewrite of previously made project "Digital Code Lock using keypad and LCD"
I got many requests from student's side who want this project in Assembly language. So i spent some time making this project.

You will find working of this project same as that of original project. Nothing has been changed as such.

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.asm - Project Code
LCD.hex - Final Hex file
Digital Code Lock Schematic - PDF file of orcad schematic

If any problem Please post in the forum
Image
Filesize 17.46 kB
Date Friday 30 May 2008 - 23:49:07
Downloads 31367
Download
Rating
 7.6 - 8 votes 

Comments



Microcontroller ebooks Projects codes examples dts | 01 Jun : 10:25
My Avast! anti-virus software picked up a trojan when I attempted to download the project file.
Reply to this  

Microcontroller ebooks Projects codes examples ۞ TPS ۞ | 05 Jun : 03:06
what is the password ??
Reply to this  

Microcontroller ebooks Projects codes examples H Maheshwari | 26 Jun : 01:08
Sir Can I design this project in my final year B.E. . Plz suggest some projects based on microcontrollers.
Reply to this  

Microcontroller ebooks Projects codes examples Iqbal | 30 Jun : 21:38
can anyone have the program in c language of this project
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 30 Jun : 22:20
Check download section..
Reply to this  


Microcontroller ebooks Projects codes examples DivyangPatel | 07 Aug : 10:29
Please,tell me 10 Digit master password which is preprogrammed in the controller.
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 07 Aug : 22:04
its there in c file check it (main.c)
Reply to this  


Microcontroller ebooks Projects codes examples DivyangPatel | 22 Aug : 23:12
thanks
Reply to this  


Microcontroller ebooks Projects codes examples cool_tauqeer | 08 Aug : 10:38
HI
CAN ANY ONE PROVIED ME THE C CODE OF THIS PROJECT KINDLY I NEED IT. PLZ HELP ME AND PROVIDE ME THE CODE
kindly contact me at "tauqeerahmadpk786@gmail.com"
Reply to this  

Microcontroller ebooks Projects codes examples DivyangPatel | 22 Aug : 23:11
hi
please tell me where we connect pin 7,8,9,10 of LCD which represent by x-sign.
Reply to this  


Microcontroller ebooks Projects codes examples jernax | 07 Jul : 19:04
i think the pins 7,8,9,10 are connected parallel to the pin 8 of the IC
Reply to this  


Microcontroller ebooks Projects codes examples SHEEN | 31 Aug : 07:27
Sir,
I'm sheen I like to do the Digital Lock Using AT89C2051 with LCD and Keypad project, I need Ur help to make the flow chart of this project.
regarding the best frm U SHEEN
Reply to this  

Microcontroller ebooks Projects codes examples asok | 11 Sep : 06:40
can i use it as a mtech project

Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 11 Sep : 12:21
well it depends on you, if you feel it is good enough to do it, then you can choose it.
Reply to this  


Microcontroller ebooks Projects codes examples jr88 | 17 Sep : 11:12
hey ajay,
what if i need to modify that 1 led to become 3 led, and 1 5 digit pass to 7x 5 digit pass with each pass leads to different combination of gates that will open, for example pass1/2/3 = gate A/B/C, pass4 = gate A+B pass5 = gate B+C, and etc.
i tried modifying but ended messing everything up. any clues for me?
thanks in advance, =)
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 17 Sep : 13:00
use forum, might help you out then
Reply to this  


Microcontroller ebooks Projects codes examples narendra rathore | 18 Sep : 06:41
how i scan the matrix keyboard with 89c2051 having connection with port p3 for row and column plz send me asm code for that my mail id is nnarendra_rathore@rediffmail.com
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 18 Sep : 12:25
please look at keypad tutorial. if any problem use forum, we do not mail anyone
Reply to this  


Microcontroller ebooks Projects codes examples sirhindee | 04 Nov : 21:42
i want to interface this circuit with RS232 to get the all the entry on the PC... cn u help me out how to manage that ???
Reply to this  

Microcontroller ebooks Projects codes examples kvta11 | 25 Nov : 09:33
in this code also like the previous one the hex code is of size more than 2k
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 26 Nov : 11:46
Its the file of hex file not the code. more information please use help.
Reply to this  


Microcontroller ebooks Projects codes examples kvta11 | 25 Nov : 09:48
ok i got the answer 4 my previous question
Reply to this  

Microcontroller ebooks Projects codes examples ashok405 | 10 Dec : 08:57
sir u r project has been good. u please send the brief explanation of the above circuit

Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 11 Dec : 12:56
Ashok Please use forum for any help. I will explain you there.
Reply to this  


Microcontroller ebooks Projects codes examples brijesh patel | 10 Jan : 22:10
sir actually i wanted to a pdf file or project report on this project,,

so, on witch link or side i get the projet report sir,..

please help me,,sir
Reply to this  

Microcontroller ebooks Projects codes examples HAFIZIMRAN | 19 Feb : 05:48
hi Ajay how are u .hope you will be fine.
i have simulate your lock on 89c51 but its not working. kindly guide me. thanks

best regards

s m yasir
Reply to this  

Microcontroller ebooks Projects codes examples Anuj kumar | 06 Mar : 18:57
Respected sir
my keil compiler in not generating the hex codecan you please solve my problem
or please provide me the hex file
please its urgent
Reply to this  

Microcontroller ebooks Projects codes examples Anonymous | 13 Mar : 09:23
anyone, can tell me how does this 3x4 keypad works? can give me some data sheet about the operation of this project? i need it urgently...
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 14 Mar : 01:50
Please use forum if you need any information.
Reply to this  


Microcontroller ebooks Projects codes examples chinvui88 | 15 Mar : 18:14
Hi.. is there any information about the operation for this keypad..? Can tell me how does this 3x4 keypad works? can give me some data sheet about the operation of this project? i need it urgently...
Thank you
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 16 Mar : 04:29
check keypad tutorial to know working of keypad.
Reply to this  


Microcontroller ebooks Projects codes examples Anuj kumar | 19 Mar : 10:34
sir actualy you have given same project 2 times one in assembly and another in C
m i right sir
Reply to this  

Microcontroller ebooks Projects codes examples Anuj kumar | 19 Mar : 10:37
sir in C code
there is many file
Delay.d,delay.c
lcd.h,lcd.c
also main.c
and also lock.hex

how it works sir
Reply to this  


Microcontroller ebooks Projects codes examples shahjee572 | 25 Mar : 10:44
You need to include all these files in single prject directory. Then compile all files. By doing so, the main file will be executed first and will load others in itself.
And a single hex file will be generated by ur compiler..


Reply to this  


Microcontroller ebooks Projects codes examples Anuj kumar | 29 Mar : 04:50
thanks sir for reply
i have in same manner as you suggest
but the hex generated is litted bit different from the hex file provided in project
hex size provided in project is 5.15k

and generated by my keil compiler is 5.09k

please suggest me what is the problem

i also assamble whole circuit at bread bord but is not working
i have check all the connection very very care fully
Reply to this  


Microcontroller ebooks Projects codes examples dfsg | 19 Mar : 12:44
hello sir,i hv 1 doubt. as AT89C2051 has 2kb memory..how could it store the hex file having size 3kb??
Reply to this  

Microcontroller ebooks Projects codes examples shahjee572 | 25 Mar : 10:42
Sir i need this program for AT89S52, can i use this program as it is. If not so, please advice me in this regard.
And the circuit diagram is also a bit different then I have.

And i'll be v thankfull to you if u plz tell me a brief difference b/w AT89C51 and AT89C2051 (is they r same)...?

Waiting for ur kind reply.
ShahJee
yawar512@gmail.com
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 25 Mar : 16:26
you can use any 8051 compatible controller, keep the I/O port same.. as used in original project. for further help use forum.
Reply to this  


Microcontroller ebooks Projects codes examples Anuj kumar | 29 Mar : 12:50
its a great project
i have complete this project
its working very good

thanks Ajay sir

u r the best
Reply to this  

Microcontroller ebooks Projects codes examples Anuj kumar | 29 Mar : 12:52
its a great project
i have complete this project
its working very good

thanks Ajay sir

u r the best sir
Reply to this  

Microcontroller ebooks Projects codes examples kunal.nitw | 04 Apr : 08:43
can i do this for my mini project?How much time it will take to make it?
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 05 Apr : 10:58
yes you can do it as your mini project. just make the hardware and burn the hex file as coding is done already.

only time you are going to spend on is soldering. faster you do it, faster you finish your project. so at max u can say it will take a week or something?

If you need any help regarding project use forum.
Reply to this  


Microcontroller ebooks Projects codes examples chin vui | 06 Apr : 07:55
Hi.. anyone can help me? i am doing a final project using at80s52. we are doing automatic door lock, including matrix keypad(3x4), electromagnetic lock, LCD display(2x16) and buzzer. anyone can help me to find any information about this? such as the assembler or programming for it...?
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 07 Apr : 02:56
just download this project for reference. If you need help use forum.
Reply to this  


Microcontroller ebooks Projects codes examples sayalilonkar | 07 Apr : 03:21
hello sir i have done this project bt for preparing its report which contents should i include?plz reply fast sir
Reply to this  

Microcontroller ebooks Projects codes examples chinvui88 | 08 Apr : 02:06
Hi.. now i only need the assembly, C file and HEX file for the matrix keypad(3x4). anyone can help me? please send to my email at chinvui88@yahoo.com. If there is any matrix keypad(3x4) C program work with the magnetic lock(output) will be better. Thanks
Reply to this  

Microcontroller ebooks Projects codes examples chinvui88 | 08 Apr : 02:07
Ajay..can u show me which forum category will be more suitable with my problem? thanks
Reply to this  

Microcontroller ebooks Projects codes examples sekar | 14 Apr : 02:24
hi sir......thank u for ur excellent job......i need a ppt of this project sir.......please send me at sekar.krishnan@yahoo.co.in
Reply to this  

Microcontroller ebooks Projects codes examples jernax | 07 Jul : 19:13
hi sir,
can u suggest a software where i could program and write the code to AT89C2051 coz im using the latest version of winpic software but the AT89C2051 is not in the list of microcontroller
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 08 Jul : 06:40
winpic is for PIC microcontrollers.

you need a special parallel programmer for programming AT89C2051. Please use forum for more help and explanation.
Reply to this  


Microcontroller ebooks Projects codes examples vj.sreenu | 11 Aug : 06:22
sir,
What kind of load can be connected at output other than an LED. Can A.C devices be connected like a computer or only device that word on 5Volts D.C supply.
Reply to this  

Microcontroller ebooks Projects codes examples anil_1273@yahoo.com | 12 Sep : 04:01
hi r sir can youu please send me the ppt of this project
Reply to this  

Microcontroller ebooks Projects codes examples anil_1273@yahoo.com | 12 Sep : 04:04
hi sir,
can u please tell me why this ic is selected for the project,
can we use any another micro controller,i need them urgently,i have a ppt this monday .
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 14 Sep : 14:04
anil its better to use forum for any doubts. will surely help.
Reply to this  


Microcontroller ebooks Projects codes examples 9zyte | 04 Dec : 11:04
Ajay Bhargav where exactly in the download section is the code in C language. When I check it, it leads back to this place and cant see any .c files in the zip file
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 05 Dec : 04:03
check this
http://www.8051projects.net/downloads184.html
Reply to this  


Microcontroller ebooks Projects codes examples 9zyte | 07 Dec : 12:15
Thank you! I've downloaded it and will check it out
Reply to this  


Microcontroller ebooks Projects codes examples iram | 26 Feb : 19:41
hey ajay....
its a wonderful project no doubt.....
but can you please tell me that what is the rating of potentiometer in the block diagram and also what is y1 given in the circuit???
as i am new to this so please guide me....thanks in advance
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 27 Feb : 12:38
a simple 10K pot.
Reply to this  


Microcontroller ebooks Projects codes examples iram | 06 Mar : 23:25
hey ajay thnx.....
actually i completed to build the circuit but i am having a bit problem ...
when i turn on the circuit the lcd shows "enter code lock"...but when i try to enter the code it does not appear....and the circuit does nothing.....is that a code problem or a problem with my circuit???please help....
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 08 Mar : 05:03
circuit probably.
use forum for better help with your problem.
Reply to this  


Microcontroller ebooks Projects codes examples Rakshith | 16 Mar : 05:21
Can u pls tel me what is d use of crystal in this proj??
Reply to this  

Microcontroller ebooks Projects codes examples Rakshith | 16 Mar : 07:53
and i also wud like to knw the use of potentiometer...
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 16 Mar : 10:15
please use forum, i would be happy to clear your doubts with better explanation.
Reply to this  

Submit comment

Subject
Username:
Comment:



Facebook Fans


Google Search for Microcontrollers!

Google
 

8051 Microcontroller Projects 8051 AVR tutorials PIC microcontroller, 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems