DIY Servo-Actuated Door Keylock Hack with capacitance touch-pad

Giorgos writes in

I hacked a normal keylock and added an RC servo to pull the “tongue” of the lock. A PIC16F1937 is used to control the servo. The keypad has a second PIC 16F1937 which acts as a 10-buttons capacitance touch sensor. The controller PIC stays into sleep all the time to save power. In sleep mode, the device draws 16 micro-amperes. When the operator pulls the door gently, a mechanical switch wakes up the controller PIC (with a pulse to RB0/INT port) which in turn provides power to the touchpad.

To open the door, you pull the handle, enter the code, pull the handle again to activate the servo.

To change code, you pull the handle, enter the code, pull the handle again but you keep it pulled for 3 seconds until you hear the distinctive long beep. Then you enter the new code two times for confirmation.

It can hold codes from 1 to 125 digits for those who have good memory. The keypad has a built-in LDR to check ambient light, and if it is below a certain level, it activates the backlit LEDs (4 SMD blue LEDs).

Filed under: projects — by adafruit, posted July 4, 2011 at 4:27 pm


Try Adafruit's new iPhone & iPad app for makers! Circuit Playground! "Incredibly handy for anyone working in electronics. Perfect for engineers and non-engineers alike."
Looking for engineers, makers and the builders of dreams? Try our Adafruit job boards.
Join our weekly Adafruit SHOW-AND-TELL at 9:30pm ET every Saturday night! Then at 10pm, ASK-AN-ENGINEER with Ladyada and the Adafruit team!

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

www.flickr.com
adafruit's items Go to adafruit's photostream
www.flickr.com
items in Adafruits More in Adafruits pool