Thursday, August 28, 2014

Digital Combination Lock Circuit with Keypad and LCD - 16F628

Digital Lock
Digital Lock

Now day’s ordinary locks are replace with digital locks. Those have very advanced features such as digital display, keypad, fingerprint recognized etc. Therefore, I decided to build basic digital lock with LCD display and keypad.

This is a micro-controller based digital lock circuit and it used PIC16F628A. 16x2 LCD is used for the display information and keypad is used for enter the code. (#) will clear the code and (*) will enter the code to initialize process.

Default code for this lock is 2468 and this code was stored in device Eeprom memory. You can change the default code by changing value of device Eeprom memory. Address 1 for first number, Address 2 for 2nd number, so on. You can change Eeprom value from zero to nine.

Digital Lock circuit
Schematic Diagram of Digital Lock

Lock code = Eeprom Address 1 & …. & Eeprom Address 4

Ex:
Eeprom Address 1=3,  Address 2=1,  Address 3=0,  Address 4=7 then,
Lock code  =>  3 & 1 & 0 & 7  => 3107

Eeprom Address and lock code
Eeprom Address and lock code

4 comments:

  1. Hi. Is it possible to share the code. Thanks for your help.

    ReplyDelete
  2. Great Blog, Thank you for sharing more information about About Container door lock.

    ReplyDelete
  3. I never realized how many common issues electric locks can have until I read this post. It's good to know what to look out for and how to fix them.

    ReplyDelete
  4. As our lives become more digital, so does our need for advanced security. It's impressive to see locksmith services adapting and integrating modern technology for a safer future.

    ReplyDelete