Introduction: 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 ( 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

1× Red, 3 mm LED Light

1× Mini Pushbutton Switch

5× Jumper Wires ,

1× Glue

1x Outdoor Mounting Tape

1× 1/4" MDF Board (optional)


- 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: page with 3d parts, diagrams, and wooden plans:


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:

Thanks for viewing our instructable!

Aaron @ Hacker House