0% found this document useful (0 votes)
246 views5 pages

Home Security System Using ESP32 CAM and

Uploaded by

Isaac Kimaru
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
246 views5 pages

Home Security System Using ESP32 CAM and

Uploaded by

Isaac Kimaru
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056

Volume: 10 Issue: 05 | May 2023 www.irjet.net p-ISSN: 2395-0072

Home Security System using ESP32-CAM and Telegram Application


Adarsh S1, Bhuvaneshwar A2, Monisha M S3, Nisarga M4, Mallamma C G5

1234EIGHT SEMESTER DEPT. OF CSE, SAMBHRAM INSTITUTE OF TECHNOLOGY ,BENGALURU-560097


5ASSOC PROFESSOR DEPT. OF CSE, SAMBHRAM INSTITUTE OF TECHNOLOGY ,BENGALURU-560097,INDIA
---------------------------------------------------------------------***---------------------------------------------------------------------
Abstract - Security is the main issue that must be addressed way, you can ensure that your home security system is
in the present society. In terms of house security we represent tailored to your unique security requirements.
a system that uses the internet networking to provide an easy
path to our user to control the different appliances at home. Home security systems are becoming increasingly popular as
Now a days the technology is increasing rapidly, that leads to people seek to protect their homes and families from theft,
an upgradation in home security system. Home security is a vandalism, and other security threats.
very useful application of IoT and we are using it to create an
inexpensive security system for homes. The home security Overall, using an ESP32CAM module and the Telegram
system using ESP-32 CAM and Telegram application is a application is an effective way of implementing a home
project that aims to enhance the security of homes and other security system that can help you to protect your home,
private premises. The system consists of an ESP-32 CAM family, and valuable assets. With this system in place, you
module, which captures live video footage and sends it to a can have peace of mind knowing that your home is secure
Telegram bot. The bot then sends notifications to the owner's and well-protected against any potential security threats.
Telegram account when motion is detected. The project is
implemented using the Arduino IDE and various libraries, 2. MOTIVATION
including the Telegram Bot Library and ESP32 CAM library.
The system is designed to be low-cost, easy to install and use, The main motive of this system is to control the home
and highly effective at preventing burglary and other security appliances and electronic devices with the help of a
breaches. The project provides an innovative solution for supervisory system. The supervisory system is designed in
enhancing home security using modern technologies and such a way that everyone can access it. Home security is the
communication channels. important concern for many people, as it helps ensures the
safety of their property and loved ones. There are various
Keywords—Home Security, Internet of Things, Arduino, ways to approach home security, but one effective method is
ESP32-CAM, Telegram application. to use a home security system that can monitor the premises
and alert the homeowner of any unusual activity. The
1.INTRODUCTION motivation for developing a home security system using
ESP32-CAM and Telegram is to provide an affordable and
A home security system is an essential component of modern accessible solution for homeowners to monitor their homes
home automation. The system is designed to protect your and enhance their security. With the use of automated
home, family, and valuable assets from intruders, burglars, technology and real-time communication, potential security
and other potential security threats. One effective way of threats can be quickly identified and addressed, ultimately
implementing a home security system is by using an contributing to a safer and more secure home environment.
ESP32CAM module and the Telegram application.
3. LITERATURE SURVEY
The ESP32CAM module is a low-cost, low-power, and
compact development board that combines Wi-Fi 1. The development of home security systems using
connectivity and image processing capabilities. It is the ESP32CAM and Telegram application has gained
equipped with a high-resolution camera that can capture significant attention in recent years. A literature
clear images and videos of your home environment. By survey on this topic reveals various approaches and
integrating this module with the Telegram application, you techniques proposed by researchers to enhance
can receive real-time alerts and notifications whenever the home security using these technologies.
system detects any suspicious activity or movement.
2. In the paper "A Smart Home Security System based
To set up this system, you will need to install and configure on ESP32-CAM and Telegram Bot," by Li et al.
the ESP32CAM module and the Telegram application. Once (2020), a smart home security system was proposed
the system is up and running, you can customize it to meet using the ESP32-CAM and Telegram Bot. The system
your specific needs by setting the sensitivity levels, adjusting included a camera module to capture images of the
the camera angles, and defining the detection zones. This home environment, which were then transmitted to

© 2023, IRJET | Impact Factor value: 8.226 | ISO 9001:2008 Certified Journal | Page 631
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 10 Issue: 05 | May 2023 www.irjet.net p-ISSN: 2395-0072

the user's smartphone via Telegram. The system also 5. FLOWCHART


included motion sensors and infrared sensors for
detecting movement and intrusion.

3. In the paper "Design and implementation of a low-


cost home security system based on ESP32CAM," by
Liu et al. (2021), a low-cost home security system
was proposed using the ESP32CAM. The system
used Wi-Fi to transmit images and data to the user's
smartphone, and also included motion sensors and
door sensors for detecting intrusions.

4. In the paper "Home security system using ESP32-


CAM and Telegram application," by Narkhede et al.
(2021), a home security system was proposed using
the ESP32-CAM and Telegram application. The
system included a camera module for monitoring the
home environment and transmitting images to the
user's smartphone via Telegram. The system also
included a PIR sensor for detecting movement.

5. In the paper "IoT based home security system using


ESP32CAM and Telegram application," by Shinde et
al. (2021), an IoT-based home security system was
proposed using the ESP32CAM and Telegram
application. The system used Wi-Fi to transmit
images and data to the user's smartphone, and also
included motion sensors, door sensors, and smoke
sensors for detecting various threats.

6. In the paper "Smart home security system using


ESP32CAM and Telegram application," by Zhao et al.
(2021), a smart home security system was proposed
using the ESP32CAM and Telegram application. The
system used Wi-Fi to transmit images and data to Fig.5.1 Flowchart
the user's smartphone, and also included motion
sensors, door sensors, and temperature sensors for 6. BLOCK DIAGRAM
monitoring the home environment.

4. PROBLEM STSTEMENT

The issue of Owners not being able to know what is going on


in their house when they are not at home besides that
problems such as theft and fires in the home while the user is
at home can be overcome by this system.

Fig.6.1 Block Diagram

© 2023, IRJET | Impact Factor value: 8.226 | ISO 9001:2008 Certified Journal | Page 632
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 10 Issue: 05 | May 2023 www.irjet.net p-ISSN: 2395-0072

7. CIRCUIT DIAGRAM provides Wi-Fi and is connected to modem which send


information from internet to telegram application. If any
problem is noticed in the home by the sensor it gives
notification to the telegram application by capturing and
sending the photo with a message and we can reply using the
command specified to enable and disable the sensors.

COMPONENTS

ESP32-CAM:- 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, Wi-Fi image upload, QR
identification, and so on.

Fig.7.1 Circuit Diagram

8. ALGORITHM

Step 1:- Install and set up the ESP32-CAM module and


connect it to the home Wi-Fi network.
Step 2:- Install the Telegram application on a mobile
device and create a new bot using the BotFather service.
Note the bot token and chat ID.
Step 3:- Connect the ESP32-CAM to the Telegram bot using
the bot token and chat ID. Fig.8.3.1 ESP32-CAM
Step4:- Define the trigger conditions for the security
system, such as motion detection or door/window opening. PIR Sensor:- PIR (passive infrared) sensors utilise the
Step 5:- Write the code for the ESP32-CAM to detect the detection of infrared that is radiated from all objects that emit
trigger conditions and take appropriate actions, such as heat. This type of emission is not visible to the human eye,
capturing a photo or recording a video. but sensors that operate using infrared wavelengths can
Step 6:- Use the Telegram API to send the captured media to detect such activity.
the Telegram chat associated with the bot.
Step 7:- Define the action to be taken when the security
system is triggered, such as sounding an alarm or notifying
the homeowner.
Step 8:- Write the code for the ESP32-CAM to execute the
defined action when the security system is triggered.
Step 9:- Test the system thoroughly and make necessary
adjustment

WORKING
Fig.8.3.2 PIR Sensor
The ESP-32 CAM AI THINKER Module is a microcontroller
which is an ESP-32 development board with an Ov2640 Flame Sensor:- The flame sensor of a furnace is a safety
Camera, Micro SD card support, On board flash lamp and device that detects whether the equipment is producing a
several GPIOs to connect peripherals . In our project, there is flame and burning gas. A sensor which is most sensitive to a
a mini PIR motion sensor (AM312) which is used to detect normal light is known as a flame sensor. That’s why this
whether a human has moved in or out of door with sensors sensor module is used in flame alarms
range. The Magnetic(Reed/Switch) Door sensor is used to
sense whether the door is open or closed. The MQ6
Gas/Smoke sensor which is used in gas leakage detection in
home. The Flame sensor Module is used to detect whether
any fire occurance in the home. The Router is a device that

© 2023, IRJET | Impact Factor value: 8.226 | ISO 9001:2008 Certified Journal | Page 633
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 10 Issue: 05 | May 2023 www.irjet.net p-ISSN: 2395-0072

RESULTS

Fig.8.3.3 Flame Sensor

Smoke Sensor:- Smoke alarms detect fires by sensing small


particles in the air using a couple of different kinds of
technologies. Once they detect those particles above a certain
threshold, they signal the alarm to sound so that you and
your family can get to safety and call 911. Smoke alarms save
lives

Fig.8.3.4 Smoke Sensor

Magnetic Door Sensor:- A door contact sensor works using a


sensor and a magnet. The sensor has an internal reed switch
that is closed when it is in direct proximity with a magnet.
When the door is opened, the magnet is separated from the
sensor. This releases the reed switch, and the sensor alerts
the panel.

Fig.8.4.1 Results

3. CONCLUSIONS
Fig.8.3.5 Magnetic Door Sensor
In conclusion, a home security system using ESP32CAM and
Telegram application can be an effective and cost-efficient
solution to safeguard your home. ESP32CAM is a powerful
microcontroller that can handle image and video processing,
and its integration with Telegram allows for real-time
monitoring and alerts. With this setup, the ESP32CAM can
capture images or videos of any potential intrusion and send
them to your Telegram account for immediate action.
Additionally, you can remotely control the ESP32CAM, such
as turning it on and off or adjusting its sensitivity, using
Telegram commands. Overall, this DIY home security system
provides a simple yet effective way to secure your home, and

© 2023, IRJET | Impact Factor value: 8.226 | ISO 9001:2008 Certified Journal | Page 634
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 10 Issue: 05 | May 2023 www.irjet.net p-ISSN: 2395-0072

with its open-source nature, you can customize and expand


it to fit your specific needs

REFERENCES

[1] "ESP32-CAM Security Camera with Telegram


Notifications" tutorial by Rui Santos on Random Nerd
Tutorials website: https://randomnerdtutorials.com/esp32-
cam-security-camera-with-telegram-notifications/

[2] "DIY Smart Home Security System with ESP32CAM and


Telegram" tutorial by Saravanan on Medium:
https://saravanan-annamalai.medium.com/diy-smart-
home-security-system-with-esp32cam-and-telegram-
8f3b3b16da7b

[3] "ESP32-CAM Home Security System with Telegram


Notifications" tutorial by IoT Design Pro:
https://iotdesignpro.com/projects/esp32-cam-home-
security-system-with-telegram-notifications

[4] "ESP32-CAM Security Camera with Motion Detection and


Telegram Notifications" tutorial by Rui Santos on Random
Nerd Tutorials Website:
https://randomnerdtutorials.com/esp32-cam-security-
camera-motion-detection-telegram/

© 2023, IRJET | Impact Factor value: 8.226 | ISO 9001:2008 Certified Journal | Page 635

You might also like