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

57445

  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.
  
Muhammad Ahmad
05 May 2016: 11:50 AM
Sir. kindly upload the proteus file. i want to complete schematic diagram. thank you
  
(Required; Min length 5)
(Required; will not be displayed)

Conversation

Sun Aug 28 2016, 05:21 AM
Dipankar Baishya
Hi sir.... I want do this project but I have not this sercuit diagram..... can you give me full details and diagram...... Thank you
Sat Aug 27 2016, 11:32 AM
pankaj kumar
view coding zig zag motion source in html
ExperimenterUK
Fri Aug 26 2016, 05:11 PM
@jaithra post in the 8051 forum. ADCs aren't usually RS232/serial
Fri Aug 26 2016, 04:58 PM
jaithra
sir ,i would please like to have circuit for interfacing 8051(AT89C51) with lLCD 8 bit ,ADC, and Gsm module through RS232 .. along with a buffer ... iam askinh this bcos i found that while interfacing RXD n TXD of 8051 is needed for both ADC and GSm ..cpuld u please help me to layout the circuit please ...
Wed Aug 24 2016, 11:00 PM
Goodnews
pls i need a project writeup on LED scrolling message display using microcontroller
Mon Aug 01 2016, 03:25 PM
Manu Mishra
hi guys if u need c code for SD card interfacing with p89v51rd2 8051 controller system u can see the video of the project and the download the c code form blog http://embeddedinrajasthan.blogspot.in/?view=classic
Mon Aug 01 2016, 03:23 PM
Manu Mishra
hi guys if u need c code for finger print security system u can see the video of the project and the download the c code form blog http://embeddedinrajasthan.blogspot.in/?view=classic
ExperimenterUK
Tue Jul 19 2016, 05:59 PM
@mhammad 64 bits is 8 bytes.
Tue Jul 19 2016, 07:56 AM
mhammad kassem
hello! i want to know how to use UART in mikroc , I want to receive 64 bits from another microcontroller and i dont know how to start my code to receive the 64 bits...any help?
ExperimenterUK
Mon Jul 18 2016, 08:32 PM
@meena.. are you still having trouble ?

Downloads

Comments

martinsnc115877
Sat Aug 20 2016, 01:44 PM
rajavarmanslr
Thu Aug 18 2016, 12:24 PM
mariahcarey
Sat Aug 06 2016, 11:38 AM
dann11
Thu Jul 28 2016, 09:43 PM
adithyapaip
Thu Jul 21 2016, 05:45 PM
celu
Thu Jul 21 2016, 05:27 PM
Aiko
Wed Jul 20 2016, 01:51 PM
JorgeG
Sat Jul 16 2016, 07:19 PM

Online

Guests: 32, Members: 0 ...

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

Members: 37779
Newest member: martinsnc115877
Forum Activity
rajavarmanslr Avatar
Posted By rajavarmanslr
Thu Aug 18 2016, 01:40 PM
I have two 8051 that interfaces with nRF24l01. One...
rajavarmanslr Avatar
Posted By rajavarmanslr
Thu Aug 18 2016, 12:31 PM
I have two 8051 that interfaces with nRF24l01. One...
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon Aug 01 2016, 05:26 AM
is working nowugoo5000Great, thanks for letting u...
ugoo5000 Avatar
Posted By ugoo5000
Sat Jul 30 2016, 07:31 AM
is working noworg 00hmov p1,#11111111bmov p3,#1111...
ugoo5000 Avatar
Posted By ugoo5000
Sat Jul 30 2016, 06:40 AM
when i press a button in p3.0,the counter will st...
ugoo5000 Avatar
Posted By ugoo5000
Sat Jul 30 2016, 06:30 AM
proteus file Attachment ...
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Jul 29 2016, 11:34 PM
Your code does not count at all, it produces a one...
ugoo5000 Avatar
Posted By ugoo5000
Fri Jul 29 2016, 07:49 PM
i want the the counter to be counting in secs with...
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Jul 29 2016, 07:31 PM
HiYour Proteus file did not upload, be sure to zip...
ugoo5000 Avatar
Posted By ugoo5000
Fri Jul 29 2016, 11:50 AM
below is the proteus file