Basic Level     Skills: Not specified    
Author
Author email
[email protected]

Description

Combination Lock with LCD and Keypad using pic16f628A:

A Brief Description:

This project is written in C language. The basic user lock is of 2 Digits.
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.


How combination lock works:

1. Turn switch on (5V DC voltage power supply)
2. A message name “Combination Lock” will display on LCD at first row,
3. Second row display “Enter Pass:” it asked you to enter password for open doors.
4. In this lock design it has three doors. These are the code locks to open doors “door1=05, door2=28, door3=82, door1 & door2 = 33”.
5. If you entered one of the codes in step 4 then press enter key that door will open. For example, you enter 05 for door 1 it’s then open and close door 1 after 5 seconds.
6. If codes you entered are not matched one of the code in step 4 then led door is not turn on.
7. If your first attempt failed the message “invalid code’ display on screen.
8. Then you pressed any key to clear and you can try for second attempt.

After you have reached three attempts but you have not entered correct password. Next Any Keys press alarm will activate for 5 seconds.

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:

Flowchart.jpg
Combination_lock.c
Diagram bitmap.bmp
Lock_EBES_MODEL.DSN ( Using Proteus to run this file)
Combination_Lock.hex
Tags PIC digital lockpic microcontroller combination lockcombination lock projectPIC microcontroller digital lockdigital lock using pic micro
  Filesize

70.27 kB

  Downloads

61525

  Rating
 

Comments

hasitha
21 Jul 2014: 19:30 PM
what compiler use to write this project codes? How can i edit this code?
  
(Required; Min length 5)
(Required; will not be displayed)

Conversation

ajay_bhargav
Mon Oct 20 2014, 11:22 AM
@skrishna, please post in forum so we can help you better.
Tue Oct 14 2014, 01:45 PM
skrishna
how do i write an ALP equivalent 7segment display interfacing embedded c program (both 8051 microcontroller)
Sat Oct 11 2014, 06:41 PM
vaidehi
want details of seven segment LED display common cathode ( IC CD 4026)
Fri Oct 03 2014, 12:52 PM
Narsim
Rickey you inspired me a lot ... I am also planing like you ...
ExperimenterUK
Wed Oct 01 2014, 09:33 PM
We're back.. we had a bug, but posting is back to normal
ExperimenterUK
Sat Sep 13 2014, 04:34 PM
jaimin1212,Pimpalkhare Create a thread for your question
jaimin1212
Sat Sep 13 2014, 06:35 AM
i want to make self balancing robot using MPU6050 using atmega8.. please help to get data of gyro and accelerometer from this sensor through atmega8.
Thu Sep 11 2014, 01:00 PM
Sunil Pimpalkhare
Hello sir, I am trying to make Wearfin project https://www.youtube.com/watch?v=iZ6PVBvQf-g so can u help me in teaching how to built the program???
Thu Sep 11 2014, 06:21 AM
hariom panday
plz hlp me in my project
iec.naga
Tue Sep 09 2014, 05:19 AM
spi

Downloads

Comments

hiswe
Thu Oct 23 2014, 04:18 PM
pddung93
Sun Oct 19 2014, 01:56 PM
msideal
Thu Oct 16 2014, 08:48 AM
robotgirl
Tue Oct 14 2014, 06:23 PM
BRV64
Mon Oct 13 2014, 05:48 AM
menadjelia
Mon Oct 13 2014, 02:47 AM
kulbhushan
Sun Oct 12 2014, 12:20 PM
HarrySid
Fri Oct 10 2014, 05:15 AM

Online

Guests: 46, Members: 0 ...

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

Members: 37532
Newest member: hiswe
Forum Activity
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Oct 24 2014, 08:55 PM
Try holding STB high all the time.You might as wel...
msideal Avatar
Posted By msideal
Fri Oct 24 2014, 07:14 PM
Assembly Language Code:.INCLUDE "M16DEF.INC" LDI R...
msideal Avatar
Posted By msideal
Fri Oct 24 2014, 07:12 PM
Hi Friends,I changed my approach and now i'm using...
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed Oct 22 2014, 03:22 AM
Okay, it seems to be a simple serial connection.Th...
jona Avatar
Posted By jona
Tue Oct 21 2014, 10:29 PM
I found this slightly different data sheet on a pu...
majoka Avatar
Posted By majoka
Tue Oct 21 2014, 06:35 PM
after this Accept-language:en-us\r\n...
majoka Avatar
Posted By majoka
Tue Oct 21 2014, 06:33 PM
@ aksharAT89C51AC3 can bebut the final decision wi...
majoka Avatar
Posted By majoka
Tue Oct 21 2014, 06:29 PM
@ Okechukwubefore starting this project you should...
majoka Avatar
Posted By majoka
Tue Oct 21 2014, 06:18 PM
@ kirangowleyou have to set the microphone level a...