Raspberry Pi Smart Phone Connected Door Lock

Learn how to make a smartphone-controlled, internet-connected deadbolt actuator powered by a Raspberry Pi that can be added onto your existing door lock without any modifications to the door. The door lock can be controlled by multiple smartphones, and even notify you whenever someone locks/unlocks the door. All of this is done using a simple, drag-and-drop app builder (http://www.blynk.cc/) which makes building your own Internet of Things (IoT) app easier than ever. For an extra impressive door lock, we'll also show you how to add a simple LED light to indicate if the door is locked, and a push-button to operate the lock manually.

Step 1: Materials

You will need a few materials for this project.

1× Raspberry Pi 3 Model B

1× High Torque Servo, Tower Pro MG995R https://www.adafruit.com/product/1142

1× Red, 3 mm LED Light https://www.sparkfun.com/products/533

1× Mini Pushbutton Switch https://www.sparkfun.com/products/97

5× Jumper Wires https://www.sparkfun.com/products/12795 , https://www.sparkfun.com/products/12795

1× Glue

1x Outdoor Mounting Tape https://www.amazon.com/Scotch-411P-Outdoor-Mounti...

1× 1/4" MDF Board (optional) http://www.homedepot.com/p/Medium-Density-Fiberbo...


- Soldering Iron

- Screwdriver

- Glue

- Jigsaw (optional)

Step 2: Instructions

We created a step-by-step guide on how to construct the door lock, load some Blynk code on the raspberry pi, and test the lock with your smartphone. No coding experience is necessary, but you can modify our code to add more functionality if you want.

Step 3: Resources

Some resources for this project are provided below:

Github repository: https://github.com/HackerHouseYT/Smartphone-Doorl...

Hackaday.io page with 3d parts, diagrams, and wooden plans: https://hackaday.io/project/19478-smartphone-conn...

Blynk: http://www.blynk.cc/

If you don't have access to a 3d printer and you would like to support us by purchasing a set of parts we made on our 3d printer: http://www.ebay.com/itm/332095080450?ssPageName=S...

Thanks for viewing our instructable!

Aaron @ Hacker House



    • Paint Challenge

      Paint Challenge
    • Classroom Science Contest

      Classroom Science Contest
    • DIY Summer Camp Contest

      DIY Summer Camp Contest

    2 Discussions

    Sampath gupta

    Question 1 year ago

    How to take the dimensions of lock to make servo holder