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

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
  Filesize

17.46 kB

  Downloads

55972

  Rating
 

Comments

nasima
30 Oct 2014: 11:54 AM
i want you to help me in a program for interfatcing hex key pad with8051 and then make a digital lock
Kindly guide me as to how to combine the two different programs. thanks
  
ajay_bhargav
02 Nov 2014: 07:10 AM
Just down the project and go through the code yourself. If you need help, just post a question. You can also look into our tutorial section for keypad tutorial.
  
navig
24 Apr 2015: 18:24 PM
sir in the above shown program where are you going to dtore new password.
as you have not shown any memory ic
  
ajay_bhargav
29 Apr 2015: 18:55 PM
@navig, This project does not store password in non-volatile memory. It just stores the password in RAM and if controller resets password also resets. You can add an EEPROM to add saving password to EEPROM.
  
(Required; Min length 5)
(Required; will not be displayed)

Conversation

ExperimenterUK
Mon May 25 2015, 06:21 PM
@Subrat Sahu not a simple answer.Create a thread in "General help Guidance and Discussion" forum
Sun May 24 2015, 06:51 AM
Subrat Sahu
I have a confusion about 10 bit adc formula as describe bellow that resolution = Vref/1023 or Vref / 1024
ExperimenterUK
Sat May 23 2015, 08:54 PM
@utpal.. Create a thread in the Pic forum
Thu May 21 2015, 01:04 AM
utpal
i am a hobbist. i work on 8051. just i have started with pic 16f877. but a bitter experiance is going on. as i am programming any code to my pic877 and putting it in my board and it is working, but the 2nd time it is not taking any program,I have experimented just 7 new one pic mcus. result is the same. please tell me the reason. my programmer is TOP3000(universal programmer).
ajay_bhargav
Wed May 20 2015, 04:48 AM
@lak you can use the same code provided you are not using any s52 specific ports and registers.
Mon May 18 2015, 05:58 AM
lak
i used to develop a code for at89s52 shall i use the same code for at89c4051
Sun May 17 2015, 07:57 AM
Ayoosh
what if i have to rotate motor continuously at a step angle of 1.8 degree
ExperimenterUK
Fri May 15 2015, 06:02 PM
@oracle1946.. Post your question in the PIC forum
Fri May 15 2015, 03:48 AM
nadeem232
if some has solution kindly share solution Principles of Electric Circuits,by Thomas L. Floyd
oracle1946
Thu May 14 2015, 03:39 PM
I want to build a PIC16F684 sun logger using either a solar cell (0.5v solar cell or photoresistor). Any help out there?

Downloads

Comments

MuhammadTanvir
Sun May 24 2015, 11:02 AM
as_rog
Sun May 17 2015, 08:00 AM
oracle1946
Thu May 14 2015, 03:34 PM
kakaru32
Tue May 12 2015, 04:29 PM
Yateesh
Sat May 09 2015, 02:46 AM
scmg
Fri May 08 2015, 06:40 PM
OMERO
Fri May 08 2015, 11:53 AM
Carlos55
Fri May 08 2015, 02:14 AM

Online

Guests: 66, Members: 0 ...

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

Members: 37660
Newest member: MuhammadTanvir
Forum Activity
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon May 25 2015, 06:16 PM
We need to do some simple tests.Get the speaker to...
mayank058 Avatar
Posted By mayank058
Mon May 25 2015, 04:57 AM
Dear sir, I am taking output from PI...
MuhammadTanvir Avatar
Posted By MuhammadTanvir
Sun May 24 2015, 11:11 AM
Hey guys !! Can somebody please share the proteus ...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sat May 23 2015, 09:52 PM
Does the speaker work?.'Exactly' where on the boa...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sat May 23 2015, 09:44 PM
For all your questions there is a proper, very tec...
mayank058 Avatar
Posted By mayank058
Thu May 21 2015, 04:46 AM
dear sir there is nothing to zip.I just...
ajay_bhargav Avatar
Posted By ajay_bhargav
Wed May 20 2015, 04:57 AM
can you zip your complete project and attach it he...
ajay_bhargav Avatar
Posted By ajay_bhargav
Wed May 20 2015, 04:46 AM
If you know how to drive 7-seg using an 8-bit port...
ajay_bhargav Avatar
Posted By ajay_bhargav
Wed May 20 2015, 04:42 AM
There was no proteus file included in the package,...
ankitbajaj01 Avatar
Posted By ankitbajaj01
Tue May 19 2015, 07:00 AM
Hello ExperimenterUK...Please guide me on above po...