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 Code lock with LCD and Keypad using AT89C2051
Author Ajay Bhargav
Author email contact@rickeyworld.info
Author website www.8051projects.net
Bookmark this download
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
Image
Filesize 20.16 kB
Date Wednesday 29 August 2007 - 04:38:44
Downloads 26239
Download
Rating
 7.3 - 9 votes 

Comments



Microcontroller ebooks Projects codes examples vandit | 29 Aug : 07:14
Thanks for givin this project at right time
Reply to this  

Microcontroller ebooks Projects codes examples DJ | 26 Sep : 07:38
hi sir,
Ihv problem only in source coding please i need code in assemble language and after 1 week my last propasal date please help me, sending me source code and send ur forum link on my id ,please sir help me.
ali_06qalimi@yahoo.com

Reply to this  


Microcontroller ebooks Projects codes examples Anonymous | 20 Oct : 01:06
brother if u hav the code for this project in asmbly language plz snd me at talha_khalid58@yahoo.com
ail be thankful to u
Reply to this  


Microcontroller ebooks Projects codes examples DAT | 28 Sep : 16:45
hello master,

do u have the source coding using pic16f628A? If u have it can u please post it on forum or send to my email: kdvustudents@hotmail.com

thanks a lot
Reply to this  

Microcontroller ebooks Projects codes examples TJ | 01 Nov : 06:57
I tried using the project and it works fine. but all it does is asks for the 5 digit code, then the master code and new code. it does not glow the led or seem to send an unlock signal on any pin.
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 01 Nov : 08:44
are you sure? it must glow the LED when you put the right code.. can you please tell more about this in forum? so i can help?
Reply to this  


Microcontroller ebooks Projects codes examples cpss | 07 Mar : 18:58
Hello
Dear Ajay
I´m Piteira from Portugal. Trying the project Digital Code lock with LCD and Keypad using AT89C2051 but dont´s works for me. Can you tell me watt i am doing wrong ?? Thank you in advance. I am using AT89S8252.
##Piteira##
In atach, print screen from simulation Multisim 10.1 and a print screen of Keil

insert image:
insert image:
Reply to this  


Microcontroller ebooks Projects codes examples Anonymous | 03 Dec : 20:08
i need the code .of this project
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 04 Dec : 00:04
just download it.. click on the blue icon
Reply to this  


Microcontroller ebooks Projects codes examples mohanned | 23 Dec : 09:31
i need hdl code
!dance !dance
Reply to this  

Microcontroller ebooks Projects codes examples ronydc | 01 Jan : 11:27
why i get the worning-- "code and data space overlap" for all of your projects code..? can u please tel the secret to the members.. sir..!!!

thanks in advance.
rony
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 01 Jan : 12:21
Please state the problem and the name of project in which you are facing problem. Make use of forum for this... not the comment area...
Reply to this  


Microcontroller ebooks Projects codes examples sofia | 15 Mar : 00:13
sir i want the assembly for this project .please send it to me immediately.email id thas_thameem@yahoo.co.in
Reply to this  


Microcontroller ebooks Projects codes examples prajapati brijesh m | 03 Oct : 00:21
i have one problem that is how can i connect the lcd with at89c2051
Reply to this  


Microcontroller ebooks Projects codes examples Afnan | 22 Jan : 10:37
Sir this is amazing thing
can any one you tell me more about LCD beacuse i have not used it till now or which one should be bought please e-mail me at afnan_decent@hotmail.com
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 22 Jan : 10:54
Please read the LCD tutorial and make use of forum for any doubt.
Reply to this  


Microcontroller ebooks Projects codes examples Anonymous | 22 Jan : 15:33
how do i determine which key is pressed using a 4x3 keypad and assembly on an 8051 controller
Reply to this  

Microcontroller ebooks Projects codes examples vj007 | 23 Jan : 08:52
hi,
canu tell which compiler to use to compile the code?
email:vikramjain007@gmail.com
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 23 Jan : 10:36
use keil compiler.. more information visit www.keil.com
Reply to this  


Microcontroller ebooks Projects codes examples missbyll | 09 Feb : 11:52
hye..i came across your project and it is very good..i want to try to compile these and have it a try..but then how to i compile seem that there are a few programs in the donwloaded file..shud i combine them all then compile or how?thanx ofr your help
Reply to this  

Microcontroller ebooks Projects codes examples missbyll | 11 Feb : 03:34
dear mr ajay..
can i compile this with borland?
and shud i combine all the program and then compile?
really need help...thanx in advance
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 11 Feb : 08:25
Please use the hex file provided..
Reply to this  


Microcontroller ebooks Projects codes examples ANANDTCEECE | 18 Feb : 05:18
hey.. u hav given a 5k code.. but the controller has only 2k memory.. wat can i do??/
Reply to this  

Microcontroller ebooks Projects codes examples nov2 | 04 Mar : 00:16
dear ajay,
the program is really cool,
but can i change the lcd port from p3 to p0?
and how to do this?
thx!!
Reply to this  

Microcontroller ebooks Projects codes examples niyati247 | 18 Mar : 22:38
hi..can we use 8051 instead of 89c2051 which u have used in your program?....plz reply me.
Reply to this  


Microcontroller ebooks Projects codes examples ketul | 30 Jul : 22:14
hi niyati..its only diff of RAM nothing more than that.
Reply to this  


Microcontroller ebooks Projects codes examples noster9 | 27 Mar : 10:43
Can u Please provide the PCB for this Circuit

also I didin't Able to get the REadymade KEPAd MATRix
from wher i can get it
Reply to this  

Microcontroller ebooks Projects codes examples An admirer | 03 Apr : 11:04
Very well written code...good work
Reply to this  

Microcontroller ebooks Projects codes examples Anonymous | 11 Apr : 00:30
I have sucessfully assembled the same with my junk box components ands it working fine. Thanks ajay for the wonderful and simple project. I appreciate you helping students like me. Keep it up.
Reply to this  

Microcontroller ebooks Projects codes examples jij | 12 Apr : 08:50
can u plz send me the assembly code of this project on thedragon_1234@hotmail.com

thank u
Reply to this  

Microcontroller ebooks Projects codes examples numbayar | 15 Apr : 15:32
thanks very much
Reply to this  

Microcontroller ebooks Projects codes examples cllunlu | 26 Apr : 17:14
I wanna codify this project again.But I failed.How can I compiler them.I couldnt.Please help me.Can you more explain to compiler them again
Reply to this  

Microcontroller ebooks Projects codes examples for ajay | 06 May : 02:01
hey.. is that scheme correct? please reply on dragec15@net.hr
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 06 May : 15:36
schematic is correct and we do not mail anyone.
Reply to this  


Microcontroller ebooks Projects codes examples Don_1 | 15 May : 20:13
Can you please send me the assembly code for this project at blacklist_mostwanted007@yahoo.com
Reply to this  

Microcontroller ebooks Projects codes examples ww | 28 May : 01:59
can u plz giv the assembly code? can u post the link of where i could get it?
Reply to this  

Microcontroller ebooks Projects codes examples tanay | 02 Jun : 23:55
hello sir,
can u plz suggest some project based on microcontroller for diploma..
i need ur assistance in making my 3rd year project
my email id is tanay_lakhani@yahoo.com
Reply to this  

Microcontroller ebooks Projects codes examples migs | 10 Jun : 01:11
thanks for having this prototype posted here.. i just want to ask something.. are the two capacitors near the crystal oscillator 33uF or 33pF??.. if those are 33pF, then there is no available electrolytic capacitor with such rating.. the schematic symbol of those two represents an electrolytic one.. are those capacitors electrolytic or ceramic?? thanks again!
Reply to this  

Microcontroller ebooks Projects codes examples ssbb | 02 Jul : 12:02
sir i am doin digital code lock with LCD and keypad and using pic 16f876/873...i need ur help guys....how to explain the software part and hardware part.i dunt knw....plz help me out guys....my mail
sohel.adiv@gmail.com
Reply to this  

Microcontroller ebooks Projects codes examples Iqbal | 21 Jul : 06:23
ajay sir i have used P89C51RD2 instead of AT89C2051 and assigned port 1 & 3 for keypad & lcd. i have programmed it using the hex file given by u but it didn't worked. so please help me. another thing is that the program files like " lcd.c " etc opens with the programmer for pic " microelectronica ". what should i do to open it in " kiel " . please please help me . i have to submit the final project report this week
Reply to this  

Microcontroller ebooks Projects codes examples Segmato@futmx. | 31 Jul : 07:48
I hav some little challenge with the program am using for a microcontroller based project: Digital Frequency Counter. This project is expected to be interface with a multiplexed six 7 segment LED.
Reply to this  

Microcontroller ebooks Projects codes examples cool_tauqeer | 08 Aug : 10:16
HI
CAN ANY ONE PROVIED ME THE C CODE OF THIS PROJECT KINDLY I NEED IT. PLZ HELP ME AND PROVIDE ME THE CODE
Reply to this  

Microcontroller ebooks Projects codes examples cool_tauqeer | 08 Aug : 10:17
HI
CAN ANY ONE PROVIED ME THE C CODE OF THIS PROJECT KINDLY I NEED IT. PLZ HELP ME AND PROVIDE ME THE CODE
INDLY CONTACT ME AT "tauqeerahmadpk786@gmail.com" i will wait for this
Reply to this  

Microcontroller ebooks Projects codes examples A FEROZ | 21 Aug : 02:08
SIR I NEED DOCUMENTATION FOR THE ABOVE PROJECT.
ITS A MINI PROJECT
PLEASE HELP ME BY GIVING DOCUMENTATION TO THE GIVEN PROJECT Digital Code lock with LCD and Keypad(4X4) using AT89C51
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 21 Aug : 14:05
I do not have any report for this project. So you have to write on your own, if you want any kind of help from my side, please make use of forum (www.8051projects.net/forum.html) and post your queries.
Reply to this  


Microcontroller ebooks Projects codes examples kushaltiwari19@rediffmail.com | 07 Sep : 09:06
sir i wud be obliged if u send me some details of the internal working of the circuit.also send assembly level codes if possible to the above mentioned id
Reply to this  

Microcontroller ebooks Projects codes examples Gen88 | 18 Sep : 06:31
hi sir,
can u help me with the coding if i were to modify the schematic into 3 LED instead of the original 1 LED? where by it means it has 3 doors instead of 1.
Reply to this  

Microcontroller ebooks Projects codes examples Deepak D | 24 Nov : 09:12
dear ajay,
the hex file given is showing file size of 6kb but the AT89c2051 got only 2kb flash memory so how can we use that hex file.. what change i should make if i use 8051?
Reply to this  

Microcontroller ebooks Projects codes examples ASHOK VARDHAN | 21 Dec : 06:13
Dear Ajay,
I have doubt... How you did this Is there any design procedure..If so coud you mind to give me in detailed explanation regarding the above...what are things i have to procure my self if my superiors ask me how i did this... Feel free to mail me to ashok_nani@ymail.com

Thanks for your concern,
ASHOK VARDHAN

Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 23 Dec : 13:14
Feel free to post in forum for any help. Comments are not a place to ask for help
Reply to this  


Microcontroller ebooks Projects codes examples Anonymous | 02 Jan : 23:10
sir i want explanation of coding sir plz mail me at sdarifwl@yahoo.co.in

Reply to this  

Microcontroller ebooks Projects codes examples Anonymous | 02 Jan : 23:12
dear ajay,
the hex file given is showing file size of 6kb but the AT89c2051 got only 2kb flash memory so how can we use that hex file.. what change i should make if i use 8051 sir plz mail me at sdarifwl@yahoo.co.in
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 03 Jan : 12:42
thats the size of hex file not the code. Not to worry, code is under 2K.

Use the download button to download the code.
Reply to this  


Microcontroller ebooks Projects codes examples suhailkhaleel@gmail.com | 10 Jan : 21:58
sir,
can u please give the further details of dis circuit.
ie, llike working of dis circuit,.....
can we do it in hardware or software
please mail it to me.......
Reply to this  

Microcontroller ebooks Projects codes examples ckokil@yahoo.co.in | 08 Mar : 01:34
sir,
pls can u help me telling the working and other details of this circuit.
Reply to this  

Microcontroller ebooks Projects codes examples muhlisin<tenglo_elits@yahoo.co.id> | 03 Apr : 06:53
I wanna ask about programming C in micro
1. what's required to write program , I mean do I need know architecture of 89C2051?..
2. does microsoft visual C++ have all library needed to program or I need special compiler?

thank for your answer
Reply to this  

Microcontroller ebooks Projects codes examples Bilal waris | 05 Apr : 01:27
Dear sir i am new comer in microcontroller i made my on project of lcd interfacing first time and i was successful now i want to interface keypad with lcd your given project is good please send me more project like this at "Engr_bilalwaris@yahoo.com i shell b very thankfull to you also tell me that can i use 8051 replacing 89c2051 so please sir guide me thank you very much waiting for your reply
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 05 Apr : 11:05
Bilal, whatever doubt you have regarding the project or code you ask in forum.

and regarding controller yes you can replace AT89C2051 with AT89C51 or S51 or any 8051 compatible controller. make sure you keep the same ports used in original schematic.
Reply to this  


Microcontroller ebooks Projects codes examples get_yash | 22 Apr : 03:17
:-)Thanx a lot...u guys are really doing a great job...hats off to u
Reply to this  

Microcontroller ebooks Projects codes examples rabe arshad | 24 Jun : 04:22
dear sir i have made this project...everytime when i swith on, it demands 5 digit code then master code then new code....even after saving new code, on reseting it again demands the same thing
Reply to this  

Microcontroller ebooks Projects codes examples Hubert | 01 Jul : 02:12
sir....i really2 need the readymade project paper on this...plzzz send me as soon as possoble...e-mail id is Travis_hmar2005@yahoo.com...
:-)
Reply to this  

Microcontroller ebooks Projects codes examples jernax | 08 Jul : 02:18
can u help me what is the proper arrangement of the source code because base from your data..there are five page of source code..the main,keypad,lock,and the lcd.how do i connect that separate programs?..
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 08 Jul : 06:41
you need to compile all of them in one project to get a single hex file. Use keil software to do that.
Reply to this  


Microcontroller ebooks Projects codes examples jernax | 08 Jul : 19:06
can u share a site where i can get that software?...im not familiar with that..is that free?...thanks
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 31 Jul : 13:05
www.keil.com
i recommend you to use the hex file provided. If you need more help with compiling part, you better use forum.
Reply to this  


Microcontroller ebooks Projects codes examples manojbhargude | 11 Aug : 00:01
i want this project. it is nice project,
Reply to this  

Microcontroller ebooks Projects codes examples PRAJAPATI BRIJESH M | 03 Oct : 01:19
HOW TO CONNECT LCD WITH AT89C2051
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 03 Oct : 01:54
solder? see the circuit show. if you still face problems, use forum.
Reply to this  


Microcontroller ebooks Projects codes examples alok290390 | 20 Oct : 00:58
is the hex file correct? pls reply..
Reply to this  

Microcontroller ebooks Projects codes examples Anonymous | 20 Oct : 01:07
yar if u hav the code for this program in asmbly language pz snd me at talha_khalid58@yahoo.com
il be thankfl to u for the hlp
i av to submit the project by nexxt week plz hlp me out
Reply to this  

Microcontroller ebooks Projects codes examples SUYASH ROY | 30 Oct : 06:13
PLZ SIR CAN U PLEASE SEND ME FULL REPORT ON THIS PROJECT.I LL BE HIGHLY OBLIGED BY UR HELP.PLEASE SEND IT TO:
suyash.roy@gmail.com
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 31 Oct : 05:18
Well I really dont have any document for this project. If you make one do submit it to me so that i can add it to the project. I will surely give credits to you for your work
Reply to this  


Microcontroller ebooks Projects codes examples sam_7 | 20 Dec : 21:39
can u give me the full project report on this. plz send ot to sam_7_ronaldo@hotmail.com
Reply to this  

Microcontroller ebooks Projects codes examples bahu | 03 Feb : 09:33
Sir
Please mail me all the details about this particular project and how to make it. My e-mail id is shubham_2501@yahoo.co.in
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 04 Feb : 13:43
download circuit, build it. load hex file in controller thats it.

incase of any problem use forum.
Reply to this  


Microcontroller ebooks Projects codes examples dipika | 10 Feb : 11:03
hello sir
can i use 89C51 microcontroller instead of 89C2951.
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 12 Feb : 05:04
yes you can use.. keep same ports.
Reply to this  


Microcontroller ebooks Projects codes examples suhasini | 19 Feb : 06:33
sir.. can u pls send me the design for this circuit? my id is niguda2@gmail.com pls help me as early as possible..
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 21 Feb : 04:23
download the zip file from link above.
Reply to this  


Microcontroller ebooks Projects codes examples dipika | 19 Feb : 08:06
how can i change c code into hex file
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 21 Feb : 04:18
hex file is provided inside the zip file.
Reply to this  


Microcontroller ebooks Projects codes examples dipika | 21 Feb : 19:58
i need to compile some other code too.
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 23 Feb : 04:47
Try keil for compiling the code. use forum for further help.
Reply to this  


Microcontroller ebooks Projects codes examples raghunandhan | 02 Mar : 07:58
can anyone send me assembly language source code pleazzzz
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 03 Mar : 09:52
check download section properly. you will get it.
Reply to this  


Microcontroller ebooks Projects codes examples vidya252 | 16 Mar : 02:50
can u pls give me description of the working of this project and also all the hardware components required. my mail id vidya252@gmail.com
Reply to this  

Microcontroller ebooks Projects codes examples vipul11 | 16 Mar : 06:11
i just want to know dat we just have to interface the microcontroller with the circuit or wee need to interface the lcd with keypad also!!
and which code do we need to burn on the microcontroler....there are a lot of files in the zip file!!plzz help!!
Reply to this  


Microcontroller ebooks Projects codes examples Ajay Bhargav | 16 Mar : 10:16
Hi vipul, make use of forum. i will answer your queries.
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