Security Lock with keypad and LCD (PIC16F84A)


Posted on Apr 21, 2012

Finally I was able to control an LCD Hitachi display and a 12-key matrix keypad with only one 16F84 or 16F628. In a near future, I will be able to control a full QUERTY-type keyboard and a LCD display. The biggest improvement on this projects was the compatibility with the Microchip PIC 16F84 and the 16F628, also the 16x1 or the 8x1 LCD Hitachi can be used. To reduce the cost of this proyect, is possible to remove the LCD and the circuit will work with the beep codes. Basically, the hardware is a mini-terminal controlled by a 16-pin PIC.


Security Lock with keypad and LCD (PIC16F84A)
Click here to download the full size of the above Circuit.

As you can see, the 3x4 keypad uses only 4 I/O ports. To determine what key is pressed, I read the discharge time of each capacitor. This is a new technique that I developed since two years ago but finally I was able to test it successfully. The only inconvenience of this method is the reading from the keypad is affected by the voltage of the circuit. Anyway, the circuit needs exactly +5V because the LCD. The switch labeled as "Toggle" and "Normal" defines the function of the security keypad. With the "Toggle" setting, the "Enable Signal" will toggle each time the correct password is entered. With the "Normal" setting, each time when the correct password is typed, the "Enable signal" will be ON for only four seconds. Activate an electric or electronic device enable by the signal. Example: A car or any electric machine cannot be turned on until the correct password is provided. To enable or disable a central alarm. Keep a circuit ON or OFF that requieres authorization. (Maybe to keep children without TV until the homework is donde). Security vault - Input the code and an electromagnet will be enable during 4 seconds allowing to open the door. Security entry port - Only authorized employees can input the code enabling the electromagnetic door lock for 4 seconds. Enable a circuit with one pulse to toggle it.





Leave Comment

characters left:

New Circuits

.

 


Popular Circuits

RS-232 surge protection
38KHz or 40KHz signal generator
switches Using a momentary push button as a latching on-off toggle switch
led lighting for 6v vehicles
avc serial to i2c bridge
BA1451F Am Radio / Fm If Stereo System Ic
Homebrew Utrasonic Imager
TDA2030 35 watt audio amplifier circuit
OEM AUX Light Switch Diagram
Arduino Motion Detector Circuit
Super Oscillator Conversion
Multiuse tiny1
DIY Circuit Car Battery Charger
50WOTL amplifier circuit



Top