Project tutorial

Keypad operated door lock

A simple pulley system to operate the locking mechanism on a door.

  • 3,930 views
  • 1 comment
  • 5 respects

Components and supplies

About this project

About this project

I installed a keypad on my room's door, and built a simple pulley system to operate the locking mechanism.

The final design truly doesn't look too beautiful because of the major limitations I had to deal with (namely no nails nor screws to be used), but it works like a charm.

The big pulley attached to the key-axis is build using DVDs and some scrap wood I had laying around. Such pulley is operated by a DC motor and a belt that I scavenged from my flatmate's old printer.

The case for electronics is an old 3.5 inches hard disk case, which conveniently provides nice housing and both 5V and 12V power supply. I've fit the H-bridge motor driver inside of it, while an homemade I2C keypad driver was fit right behind the keypad, on the outside of the door.

A switch is positioned on the inside for easy operation. A timer function is implemented to lock the door after 5 seconds of pressing a button (this saves you the chore to press the lock button when entering the room!).

A built in speaker serves both as audible output device and (this yet to be implemented) as knocking sensor.

The locked/unlocked status of the door lock is stored in EEPROM at every interaction, to prevent inconsistencies in case of temporary power loss.
Due to the suspicion of possible memory leaks/program halts in the long run, the device resets itself every 5 minutes of idle state.

Special codes were hard-coded into the firmware to forcefully unlock the door in case of malfunctioning mechanism, and to modify the pin code.

Files

Firmware - Arduino IDE

Schematic

Images

Comments

Similar projects you might like

Arduino Keyless Door Lock System with Keypad and LCD

Project tutorial by DIY Hacking

  • 12,726 views
  • 5 comments
  • 33 respects

Keypad and SMS based dual door lock system

Project tutorial by Sumit Grover

  • 702 views
  • 0 comments
  • 4 respects

Smart BT Door Lock (Simple Arduino)

Project showcase by Arun

  • 5,614 views
  • 1 comment
  • 18 respects

Coolest Door Lock Ever

Project tutorial by Vivek Gupta

  • 2,456 views
  • 0 comments
  • 8 respects

Smartphone Connected Home Door Lock

Project tutorial by Hacker Shack

  • 19,157 views
  • 14 comments
  • 31 respects
Add projectSign up / Login