www.webx.dk Start page
OZ2CPU Radioamateur mainpage
Homemade Radio Electronics
PIC16 Door code entry system


The complete code system ready for install.
One input code activate one relay, and another code activate another relay.
codes can be different length


Closeup of the board and keyboard.


Rear side of the keyboard, I have added two LED's so I can test the codes.


The green LED close to the power input connector just indicate power on.


it is a great idea not to use RB6-RB7-and MCLR,
so the serial programmer can be connected to the hardware all the time.


Well no need to draw a real schematic :-)
1 2 3 and A B C D is the connections directly to the keyboard.
R1 and R2 are the two relay outputs active hi, drives a relay with a BC547 as normal.


Just the keyboard layout.

HEX file and full C source for the PIC16C84/F84: piccode4.zip
Code 1 = 5 7 8 0 and code 2 = 1 2 3 6 in this HEX file.
have a look in the DEF.H file, it is easy to change.

Made FEB. 2005. OZ2CPU Thomas Scherrer