Smart Door Unlock System

The door is crucial in terms of home security. The owner will keep the door locked at all times to keep the house secure. However, if the owner is in a hurry to leave the house, they may forget to lock the door, or they may be unsure whether they have closed the door or not. For this IoT project, we

2025-06-28 16:29:10 - Adil Khan

Project Title

Smart Door Unlock System

Project Area of Specialization Internet of ThingsProject Summary

The door is crucial in terms of home security. The owner will keep the door locked at all times to keep the house secure. However, if the owner is in a hurry to leave the house, they may forget to lock the door, or they may be unsure whether they have closed the door or not. For this IoT project, we created aSmart Wi-Fi door lock using theESP32-CAM and the Blynk App. When someone presses the doorbell in this ESP32CAM Wi-Fi lock project, you will receive an alert on your phone with a photo of that person. After reviewing the photo, you can also quickly unlock the door with your mobile phone. This not only saves the cost of purchasing expensive LEDs, but it also saves the cost of hiring a security guard. 

Project Objectives

To save the effort and time

Project Implementation Method

First we program the ESP32CAM, using FTDI232 USB to Serial interface board. By the help of jumper wire we made a connection

Then i opened Audrino and write source code

Before uploading the code to ESP32CAM,we checked the following setting:

Then we set the interface of the project on the Blynk App.

Open the project in the Blynk AppClickon the “+” icon on the top.

  1. Select the Image Gallery Widget from the Widget Box
    (Setting: Pin- V1) (Function: show the image)

  2. Select the Styled Button from the Widget Box
    (Setting: Pin- GP14, Mode- PUSH) (Function: capture photo)

  3. Select the Styled Button from the Widget Box
    (Setting: Pin- GP12, Mode- SWITCH) (Function: Unlock/Lock door)

  4. Select the Notification from the Widget Box
    (Function: get the notification)

After the Blynk app is set up, the  next step is to test the circuit.

By Supply 12V DC to this smart WiFi door lock and connect your smartphone with the same WiFi network.

Now if you press the push button you should get a notification on the mobile phone.

After that click on the ‘Take Picture’ button to get the picture and then click on the ‘Unlock Door’ button to control the 12v electronic lock.

Benefits of the Project Technical Details of Final Deliverable

IOT platform in form of Blynk App

This Android application is developed to establish connection with the lock through smart phone. 

Software

Arduino

Hardware 

Esp32 Cam

FTDI232 USB to Serial interface board

Project Board

The source code: 

To programme the esp32 camera 

Final Deliverable of the Project HW/SW integrated systemCore Industry SecurityOther Industries IT Core Technology Internet of Things (IoT)Other Technologies OthersSustainable Development Goals Decent Work and Economic GrowthRequired Resources
Item Name Type No. of Units Per Unit Cost (in Rs) Total (in Rs)
Total in (Rs) 29800
ESP32-CAM Equipment220004000
Electronic door lock 12v Equipment110001000
TIP122 NPN Transistor Equipment450200
7805 voltage Regulator (5v) Equipment2100200
10k Resistors Equipment650300
Capacitor-220uF Equipment2400800
Over heads Miscellaneous 150005000
12V DC adaptor Equipment2300600
FTDI232 USB to Serial interface board Equipment67004200
jumper wires Equipment203006000
Printing Miscellaneous 200204000
Stationery Miscellaneous 52001000
switch board Equipment125002500

More Posts