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

62370

  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
Tue Mar 31 2015, 04:14 AM
@Peter james, we have many projects related to this, Please refer download section and tutorials or post in forum for specific questions.
Mon Mar 30 2015, 04:51 PM
Peter james
can any one provide me an assembly language program to interface with 16x2 LCD, 4X4 Keypad and a GSM Module to recieve message and display it.
ajay_bhargav
Mon Mar 23 2015, 04:22 AM
You can only simulate simple 8051. RD2 support is not there in proteus. However there are similar atmel varient which can be used instead.
Sun Mar 22 2015, 07:24 PM
Aryan Nath
How can i Simulate microcontroller project in Proteus that uses P89V51RD2
Thu Mar 19 2015, 02:45 PM
Peter Mann
I have tried to register on the site, but it keeps saying I've entered two different email adresses - but I haven't!
ajay_bhargav
Sun Mar 15 2015, 08:25 PM
I did not get new message indication.. strange..
ExperimenterUK
Sun Mar 15 2015, 08:18 PM
slight delay, my connection failed
ajay_bhargav
Sun Mar 15 2015, 08:08 PM
Atleast you chat on our website if not anywhere else
ajay_bhargav
Sun Mar 15 2015, 08:08 PM
Hi Phil..
ExperimenterUK
Sun Mar 15 2015, 08:05 PM
Hi Ajay

Downloads

Comments

harix
Sun Mar 29 2015, 07:11 PM
marti
Fri Mar 27 2015, 03:07 PM
iamalien
Thu Mar 26 2015, 07:27 AM
Ankit30
Wed Mar 25 2015, 02:35 PM
wai1023
Wed Mar 25 2015, 06:27 AM
StrangerDanger
Tue Mar 24 2015, 12:40 PM
vinayas9
Tue Mar 24 2015, 09:26 AM
ganesh1991
Tue Mar 24 2015, 08:22 AM

Online

Guests: 42, Members: 0 ...

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

Members: 37611
Newest member: harix
Forum Activity
mayank058 Avatar
Posted By mayank058
Tue Mar 31 2015, 06:44 AM
Dear Iamalien, Thank you ...
mayank058 Avatar
Posted By mayank058
Tue Mar 31 2015, 06:33 AM
Thanks to all of u for showing your interest in my...
iamalien Avatar
Posted By iamalien
Tue Mar 31 2015, 04:43 AM
here you go a 227 variable array in the ram and st...
ajay_bhargav Avatar
Posted By ajay_bhargav
Tue Mar 31 2015, 04:33 AM
Can you post Keil compiler output?
iamalien Avatar
Posted By iamalien
Tue Mar 31 2015, 04:31 AM
i have already compiled the program in keil thats ...
ajay_bhargav Avatar
Posted By ajay_bhargav
Tue Mar 31 2015, 04:29 AM
Its in nature of resistor to reduce the current wh...
ajay_bhargav Avatar
Posted By ajay_bhargav
Tue Mar 31 2015, 04:10 AM
256 bytes ram for 200 char display... I think you ...
diana1234 Avatar
Posted By diana1234
Mon Mar 30 2015, 08:12 AM
Dear sir,How a resistor can be used as a current l...
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon Mar 30 2015, 05:13 AM
The processor on the MCB2300 has a built in DAC.Cr...
iamalien Avatar
Posted By iamalien
Sun Mar 29 2015, 07:46 PM
yes either that or use the flash reprogrammable va...