Professional Documents
Culture Documents
Activate lock
Internet
From Blynk
From Blynk
Wi-Fi Door Lock with ESP32 CAM uses Internet of Things (IoT)
technology to monitor the status of the door, control it, and improve
home security. Blynk is a communication protocol that is used to
increase the security of a home. Blynk is acommunication protocol that
connects a smartphone to a door lock system.
DESCRIPTION OF COMPONENTS
ESP32CAM
The ESP32-CAM is a small size, low power consumption camera
module based on ESP32. It comes with an OV2640 camera and
provides onboard TF card slot. The ESP32-CAM can be widely used
in intelligent IoT applications such as wireless video monitoring,
WiFi image upload, QR identification, and so on.
TTL Converter
The USB TTL Serial cables are a range of USB to serial converter
cables which provide connectivity between USB and serial UART
interfaces. A range of cables are available offering connectivity at
5V, 3.3V or user specified signal levels with various connector
interfaces.
Solenoid Lock
Solenoid door locks use electromagnetic energy and an adjustable
piston or plunger as the lock and key system. The system often
has a low-voltage DC power source, such as a battery. When the
control is triggered by way of a control device or remote, electric
power flows to the coil activating the electromagnet.
PROJECT OF FLOW CHART
PROGRAM:-
#include "esp_camera.h"
#include <WiFi.h>
#include <WiFiClient.h>
#include <BlynkSimpleEsp32.h>
// Selecting camera model
#define CAMERA_MODEL_AI_THINKER // Has PSRAM
#include "camera_pins.h"
#define button 13
#define PHOTO 14
#define LED 4
#define lock 12
const char* ssid = "tester"; //Wifi Name
const char* password = "123456789"; //Wifi Password
char auth[] =
"JDsObzId8L936DT64syOG1RciAjT3Rg6"; //Authentiation //code sent by
Blynk
String local_IP;
void startCameraServer();
// }
}
FUTURE EXPANSION:-
Can be integrated with additional features like automatic face
detection, etc.
A random key generation,
Unique key locking and unlocking system for batter security,
APLICATION :-
Ease of door accessing ,
Can be used in offices as well as workspaces where security is a
concern,
Can be used in smart homes , smart apartments, etc,
One could open the door even from his living room(or from any
other corner of the house),
ADVANTAGE:-
Smartphone-Friendly Lock Systems,
Easy access for updating pins or other security features
Better Security,
Securing Your Home Remotely,
You can Access your smart lock using a Wifi network.
DISADVANTAGE:-
You need a proper connection (i.e, wifi),
Not being able to open the door when the battery of the
smartphone is down,
Blackout of the control unit or a fault of the recognition device.
REFRENCESES:-
Wikipedia
“https://www.electroniclinic.com/esp32-cam-smart-iot-bell-circuit-
diagram-and-programming/”
WORKING VIDEO:-