Keypad Base Lock with
PIC
Description
This Keypad base electronic lock is able to use for security systems. You can add Electromagnetic lock through transistor to output (pin 4) and alarm devise to Emergency output (pin 5) of the circuit. This project made using MikroC PRO C compiler. If you want to change Master Code, can change it using C code (see Tutorial Guide 01). This project has two codes, first is Manual reactivate lock and second is Auto reactivate lock. You are able to use any of them.
v Manual Reactivate Lock – Password need to both deactivate and reactivate lock. (see Video Guide)
v Auto Reactivate Lock – Password need only to deactivate lock. Lock is auto reactivating after 10-15 seconds. You are able to change this time period. (see Tutorial Guide 02)
Tutorial
Guide 01
Tutorial
Guide 02
(for more information follow Video Guide or download
project)
Circuit Diagram
Parts List
- PIC Programmer
- 16F877A PIC Microcontroller
- 16x2 LCD Display
- 4x4 Keypad
- 4MHz Crystal
- 10K Resistors
- 470/330 Resistors
- 22pF Capacitors
- Push button
- LEDs or Output Devises
Final Project
You can Download Full Project with Proteus Simulator file and Video Guide
Update 01
Manual & Auto reactivate keypad base lock
New Features
- Switching Manual and Auto reactivate using simple switch
- More indicate LEDs
Final Project
You can Download Full Project with Proteus Simulator file
hello sir. why when i try to rebuild the program, its show so many errors.
ReplyDeletethis one of the errors :
Undeclared identifier 'Keypad_Key_Click'
1. Check, you are using right compiler.(MikroC Pro)
Delete2. Check, library s are properly activated. (Ticked)
3. Do one change per time, If you try to change code.
Sir can you share please code
Deletehello sir, i am having problem in code when i implemented on hardware can you help me
ReplyDeletethanks allot
ReplyDeletethanks allot
ReplyDeletehi WHERE IS THE CODE
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteSir,
ReplyDeleteI need to know when we power off the curcit,The newly entered password is stored in the chip.When we give power back to the curcit can we use that password.....
Yes, you can use new password after power failure, because password stored in EEPROM memory (Electrically Erasable Programmable Read Only Memory) in micro-controller. EEPROM memory can be read and write electrically, can be accessed through program. It can be used to store data such as sensor logs, device parameters which should not be loss during power loss or CPU reset.
Deleteprogram runs on simulatons fine, but hass error when programming to the chip. need help ASAP.
ReplyDeletePl check your programmer(software & hardware) and micro-controller, because programming failure can't occurred after code successfully compiled.
Deleteif i modify "by hashita" the all project get's stuck ...it gets stuck on " press *" and if you press it ... nothing is happening!
ReplyDeletewell done working on this project now
ReplyDeleteam trying to program one microcontroller and one keypad to control an electronic lock, but i want 6 passwords for 6 users. i have tried setting the passwords in an array in my C code but it doesnt work. any help?
ReplyDeleteSir can yot teach me how to interface keypad to pic16f877a,i connect a keypad to PORTD,but it is not respond.....
ReplyDeleteI'm usimg 8Mhz crystal..
good!
ReplyDeletelink is dead
ReplyDeletelinks are updated. Thanks for notification.
DeleteCould you pass the code is that the link doesn't work?
ReplyDeletelinks are updated. Thanks for notification.
Deleteplz give me the link to download ISIS+MIKROC
ReplyDeletethe link is dead plz another one
Deletelinks are updated. Thanks for notification.
DeleteHey in which file do i open the link in??
ReplyDeletehow can i talk too you
ReplyDeletei need help in my mini project
This comment has been removed by the author.
ReplyDeletehi,
ReplyDeletethank you for sharing your knowledge,
very nice project..
i use it to study basic microntroller right now..i
hope you can still continue sharing code and hardware of your project done..
GOD BLESS YOU ALWAYS
good
ReplyDeletepls bro how can i interface keypad code with another code(flowmeter code or fingerprint code )thekeypad will be controlling it
ReplyDeleteHello, am having a problem with the simulation, when i add the resistors to the keypad it doesn't work but works well without the resistors. Then when i implement the hardware the keypad doesn't work.
ReplyDeleteUseful Information, your blog is sharing unique information....
ReplyDeleteThanks for sharing!!!
CCTV camera dealers hyderabad
wireless CCTV cameras
CCTV cameras
CCTV cameras suppliers
boom barriers
CCTV camera manufacturers
can I use PIC16F84A ?
ReplyDeleteMuy buen proyecto, didáctico y práctico para quienes nos inicamos en este mudo de la programación...bendiciones
ReplyDeleteGood Project. Thanks. But how to add Buzzer this project. Key press short beep. Correct code one long beep. Error Two beep. Alarm 4 long beep. etc.
ReplyDeleteHI DEAR Hasitha Gamage
ReplyDeleteI'm so interested by yr project 'Keypad Base Lock with PIC 'and it's code in MicroC language and it seems to be very simple and clear to whom are in higher level of knowledge then me and my request is that: can you send me the same code but with more explanation line by line as detailed comments because a lot off a new words, functions, etc. are used on it and it takes to me a long time to assimilate without help
REGARDS
Why the keypad is not working!
ReplyDeleteDear sir,
ReplyDeleteCan u please make the program codes using mplab xc8? Because our project is based on this software. And could u please send the codes to the below mentioned mail.
munaveer00@gmail.com
Thank you for your post. This is excellent information. It is amazing and wonderful to visit your site.
ReplyDeleteelectromagnetic locks suppliers
electromagnetic locks manufacturers
electro magnetic locks
electric door strikes
electric door strike suppliers
Thank you for your post. This is excellent information. It is amazing and wonderful to visit your site.
ReplyDeleteelectromagnetic locks manufacturers in hyderabad
electromagnetic locks manufacturers in chennai
electromagnetic locks manufacturers in mumbai
electromagnetic locks manufacturers in delhi
Thank you for your post. This is excellent information. It is amazing and wonderful to visit your site.
ReplyDeleteelectromagnetic locks manufacturers in hyderabad
electromagnetic locks manufacturers in chennai
electromagnetic locks manufacturers in mumbai
electromagnetic locks manufacturers in delhi
thnkx brother
ReplyDeleteI cannot open the code can U help me? please give the link of the Mikro C code:(
ReplyDeleteno need for answering. Thanks problem solved:)
ReplyDeleteCan you add I2C to LCD?
ReplyDeleteSir
ReplyDeletemay you please send me the code cause I didnt find it
Excelente trabajo, me ha servido de mucha ayuda especialmente para un proyecto de seguridad... Saludos y muchas bendiciones
ReplyDeleteı cant access to this page can someone help me about it
ReplyDeleteDownload link is not available. Could you please share the native file to email id:phanikumargaddam@gmail.com
ReplyDeleteHasitha Suneth could you update the link please?
ReplyDeleteLinks are updated.
Delete