Dual programmable keypad code lock using PIC18F452

Open electrical doors with your secret code only!

Here are the technical specifications:

keypad code lock

  • Up to two keypads may be connected to drive both relay outputs.
  • Professional, outdoor or other keypads may be used.
  • Relay outputs are configurable: output voltage +6 to +24VDC (from power input) or simple switch emulation.
  • The small LCD is optional, and can be omitted.
  • Low power operation with internal switching power regulator and microcontroller auto sleep mode: only 4 .. 8 mA at 12VDC
  • The 4-digit secret codes can be changed by the user (previous code needed.)
  • Auto blocking after 5 wrong attempts.
  • High-pitched piëzo sounds when striking a key.
  • Keypad cable length up to 100m.
    • This product will be available as a KIT from our online shop.
    • Source code (CCS C) can be purchased separately.

    PIC hex file , pcb layout and schematics (Eagle) available.

structions for use:

  • Secret code input: type the 4-digit code and press the # key to activate relay output 1. Press the * key to activate relay output 2.

  • Changing the secret code: type the previous code and press # or * until the piëzo sounds (after 5 sec.) Then type your new 4-digit code and press # or * to finish.


Downloads: right-click & save as

For more detail: Dual programmable keypad code lock using PIC18F452

About The Author

Ibrar Ayyub

I am an experienced technical writer with a Master's degree in computer science from BZU Multan University. I have written for various industries, mainly home automation and engineering. My writing style is clear and simple, and I am skilled in using infographics and diagrams. I am a great researcher and am able to present information in a well-organized and logical manner.

Follow Us:
LinkedinTwitter