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

64914

  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

Sun Oct 13 2019, 03:02 AM
Aline Hutchinson
Hey there,
ExperimenterUK
Sat Oct 12 2019, 11:23 PM
Log in.. then post your code in the 8051 forum
Sat Oct 12 2019, 11:18 AM
Bhadra Sajikumar
i am doing a countdown timer with 8051 for my project, unfortunately our professor had to take a leave of absence before he could teach us most of it.. can someone explain the .asm code of it for me?
Mon Sep 23 2019, 08:37 AM
Nathaniel
I am doing a project for my schools wireless security system with cameras,sensors and spot lights using 8051 micro controller, could you help me out with the design and its source code.
Wed Sep 18 2019, 09:48 PM
Caryn Kover
Thank you for your time,
ExperimenterUK
Mon Aug 05 2019, 08:09 PM
@Ismail ..post in forum, give details
Mon Aug 05 2019, 05:33 PM
Ismail balghmi
Hello. Please I won't download
ExperimenterUK
Wed Jul 24 2019, 01:47 AM
@BUSTER123 Please post in the forum
Tue Jul 23 2019, 07:13 PM
BUSTER123
hello! newbie here. i am kind of a guy who hates using ready - made existing libraries, so this helped a lot as i was trying to control and write to a character lcd display. however, i can't figure out how to set the cursor position. for example, i want to set it to the 5th column in the first row, so position 5. so according to the table, i am sending 10000101 on the 8 data lines of the lcd (register select pulled low). the cursor does not move there however. and i cant move the cursor left or right too. is it something wrong that i am doing? thank you.
ExperimenterUK
Thu Jul 11 2019, 08:55 PM
@ramos https://www.theengineeringprojects.com/2017/09/l298-motor-driver-library-proteus.html

Downloads

Comments

ilylily07
Tue Oct 15 2019, 04:32 PM
hientran123
Tue Oct 15 2019, 02:27 AM
Sat Oct 05 2019, 02:38 PM
zexalo
Thu Oct 03 2019, 09:53 AM
thanhle12345
Thu Oct 03 2019, 07:37 AM
ramon_vsc
Fri Sep 20 2019, 04:53 PM
youssoufba
Thu Sep 19 2019, 11:57 AM
Taiphan000
Tue Sep 17 2019, 04:21 AM

Online

Guests: 78, Members: 0 ...

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

Members: 38097
Newest member: ilylily07
Forum Activity
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Thu Oct 17 2019, 09:38 PM
ExperimenterUK Avatar
Posted By ExperimenterUK
Thu Oct 17 2019, 08:35 PM
Do you understand how this code works?If so, addin...
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Thu Oct 17 2019, 09:30 AM
i want to scroll message more than 2 dot matrix di...
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed Oct 16 2019, 09:58 PM
What do you mean by "message scroll vertically" ?...
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Wed Oct 16 2019, 07:38 AM
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Wed Oct 16 2019, 07:13 AM
message scroll vertically, please share code.
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed Oct 16 2019, 01:10 AM
Which camera ?What do you want the micro to do ?
ilylily07 Avatar
Posted By ilylily07
Tue Oct 15 2019, 04:43 PM
i need help.i don't know how to do it.is it possib...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sun Oct 13 2019, 06:10 PM
This code does some scrolling.You will need to fin...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sat Oct 12 2019, 10:19 PM
This code does not scroll, that will be complicate...