Jose Pino's projects & tidbits
"Great stuff from someone with an inquisitive mind"

Security Keypad.

This Electronic Code Lock uses a 12-keys keypad is used to enter a password and open an electrick lock or any other device with a signal. Uses an 8-pin PIC 12F629. (11/17/2004)


Source: http://www.josepino.com/?security_keypad_1   Tags: microcontroller circuits diy

CODE: JP6296 - PIC: 12F629 - Fuse Config: PTMR ON, INT RC

After I visited the Mike Rigby-Jones' web page (www.mikerj.clara.net) I decided to build this project. It can be used on Security Doors or Security boxes, inclusive can be adapted to turn on some electric machines. Here is the schematic:
Taken from http://www.josepino.com

Security keypad using a 12F629

Download the HEX code HERE

The keypad is a regular matrix type. The 1N4148 diodes allow to use just 4 I/O Ports.

When the circuit is turned on the first time, the code is 0000. The Code is saved in the eeprom (eeprom addres 0 - 3).

Each time when any key is pressed, the led blinks. If the key hold, the led will flash continuosly meaning the data is repeated.

How it works:

To Input the code:

- Press "*"

- Digit the four-digit code.

- If the code is correct, Led will turn on for one second and the OUTPUT pin will have a 2-seconds positive pulse.

- If the four-digit code is incorrect, the led will not display any signal.

- If you did a mistake while input the four-digit code, press "*" twice and try again.

To change the code:

- Press "#"

- Input the old code

- The led will flash twice if the code is right.

- Input the new four-digit code.

- The led will flash twice.

- Input the new four digit code again (to verify if it is correct)

- If the new code is correct and accepted, the led will be ON for one second.

- If the new code is not valid or incorrect, the led will flash faster and the old code will be restored.

NOTE: This project is for educational purposes only. The Watchdog was not activated and the software may have "glitches". The software with Watchdog activated and safety implemented will be available commercially only.

The original schematic was adapted from Mike's web page, but the code is from my own devise.

Sorry, I don't have any electrical lock mechanism to test it or provide additional schematic how to connect it. However, the "output" signal easily can be connected to a relay or Triac. Remember: The "output" signal is activated by a 2-second positive pulse when the right code was input.

Security Keypad / Code lock using a microcontroller PIC 12F629

< Trying to build a "Robot"   Home   Security Keypad II>

Share your comments and experience:
Keep it short, Comments with bad words, spam and non-related will be deleted.

11/09/09 - 15:49:43 Gabi from ROMANIA wrote: hi, when you said "Fuse Config: PTMR ON, INT RC" you meen:
oscillato- IntOSC CLKOUT
fuses- PWRT (on)?
because my LED stay always on.
tnx
11/09/09 - 20:07:12 José Pino wrote: Actually:
PWRT ON, Internal OSC, Not Clk Out

11/10/09 - 19:02:18 Gabi from ROMANIA wrote: it`s ok now! but the LED it is not off complete. it flashes brightely but it is not off complete between flashes. tnx again, you are doing a great job!

Name:   Location:
Captcha:   <-- This is the Captcha
Your Comments:

Bookmark or Bookmark and Share Suscribe to RSS Feeds

10 most viewed pages:

- How To Make a Speaker
- Hi-fidelity Homemade Loudspeaker.
- Tachometer/RPM II.
- Homemade WiFi Lid Antenna.
- Super Simple Sun Tracker.
- Led Clock
- USB LED Light.
- How To Repair Sony PSP
- Knowing Everything.
- Matrix Led Display.

Articles related:

- Getting Started with PICs.
- 'Almost No Parts' 12/24hrs LED Clock
- Anthony Sotillet's POV Display
- Computer to TV adapter.
- Fluorescent Light.
- Homemade COLDHEAT.
- LCD Clock/Calendar
- LED chaser using PIC 16F84A
- Led Chaser II
- Led Clock
- Lie Detector
- Matrix Led Display.
- One Second Timebase.
- PIC 16F505
- Led Chaser.
- My PIC Programmer
- PIC Programmer sent by Fco. Arroyo.
- Traffic Light.
- Security Keypad.
- Security Keypad II
- Soundmeter
- Strobe from Flash.
- Tachometer/RPM.
- Tachometer/RPM II.
- Tachometer for Bikes (circuit).
- Timebase generator.
- Transistor LED Flasher
- Water Level Control/Monitor.

All categories:

- about
- advertisement
- audio
- automobile
- bad_ones
- best
- circuits
- computer
- discover
- diy
- electronics
- fail
- food
- from_readers
- funny
- furniture
- hacks
- homemade
- how_it_works
- howto
- humor
- interesting
- lego
- light
- microcontroller
- mysql
- opinion
- php
- projects
- readings
- realmeal
- religion
- robots
- science
- scripts
- trips
- videos
- websites
- woodworking


Mr. Counter says: 1943 views.

Search Article

Additional Links:

- Mary's Creations.
- Publicidad Gráfica.
- Todito Yucatán
- Lucina Castillo's Art
- Conoce Amigos en Dalnet
- Narciso González' Alebrijes

Need to contact me?
e-mail address
Please get a good reason before sending me an e-mail.

IE, Firefox, SeaMonkey & Opera tested OK, Some features may not work with Google Chrome. © 2006 - 2009 José Pino - JPC-PHP V5.0
If any information, data, picture or design infringes a copyright material, please send me an e-mail asking to remove it along with the supporting data.