IoT Project – DIY IoT Door Lock Leave a comment

[ux_video url=”https://youtu.be/zcFpkbunq3k”]

Hello Friends ! 

We are bringing to you one of the best IoT Project (Internet of Things) ideas which you can easily build for yourself. It also features in our list of Top 5 IoT Project Ideas for electronics students. This project uses ESP01 WiFi Module and can be used to remotely open a door using an App from anywhere in the world.

ESP-01 – ESP8266 is an UART-WiFi transparent transmission module with ultralow power consumption, specially designed for the needs of a new connected world. It offers a complete and self-contained Wi-Fi networking solution, allowing it to either host the application or to offload all Wi-Fi networking functions from another application processor.

Step 1: What We Need 

1) 1 x ESP-01 Breakout Board  (Buy here)
2) 1 x ESP-01 WiFi Module (Buy here)
3) 1 x Door Lock with Servo (Buy here)
If you wish to print the lock, check this link.

Step 2: Connections

For ESP-01 Breakout and Programmer

1) VCC => 5V

2) GND => GND

3) Rx => Tx

4) Tx => Rx

For ESP-01 Breakout and Servo Door Lock

1) 5V => Red Wire

2) GND => Brown Wire

3) D2 => Orange Wire

Step 3: Download the Blynk App

Blynk can be downloaded from the Play Store for android & the App Store for iOS. It is Completely Free!!

After downloading just Create a new account or Login via Facebook.

Now, Create a new Project – Add 2 Buttons from the Side Menu.

Button 1 : Tap on the Button => Select Pin as Virtual V1

Button 2 : Tap on the Button => Select Pin as Virtual V2

Step 4: Uploading the Code 

Download the code from here. Open the code in Arduino IDE and change the Auth. Key, WiFi Name & Password.

Now, Select the board as “Generic ESP8266”. If you cannot find in your Boards, then you can follow this.

Now, Select the COM Port & Press the Upload Button.

NOTE:- Make sure to Set the ESP to Boot Mode while uploading a program. This can be done by pressing the “BOOT” button to “ON” & then pressing the “RESET” button.

After the upload, Make sure to turn the BOOT” button to “OFF” & then Reset it.

Learn here : 
1) ESP-01 Manual 
2) Servo Refrence Library
3) Blynk Virtual Pins
4) Link for UART
5) Codes & Schematics

Components required :

1) 1 x ESP-01 Breakout Board  (Buy here)
2) 1 x ESP-01 WiFi Module (Buy here)
3) 1 x Door Lock with Servo (Buy here)

Optional

1) Tools (Buy here)
2) 1 x BMES Power Supply (Buy here)
3) Jumper Wires (As per connections) (Buy here)

Connection Diagram & Files : Download

In case of any questions or queries, feel free to post below.

Subscribe to our YouTube Channel and check out other tutorials of DIY projects.

Leave a Reply

SHOPPING CART

close