You are on page 1of 4

e-ISSN: 2582-5208

International Research Journal of Modernization in Engineering Technology and Science


( Peer-Reviewed, Open Access, Fully Refereed International Journal )
Volume:05/Issue:12/December-2023 Impact Factor- 7.868 www.irjmets.com
ESP32-CAM MOTION SENSOR SECURITY CAMERA WITH NOTIFICATION
USING BLYNK
Aniket Patil*1, Shreyas Pati*2, Lubna Momin*3, Yuvraj Patil*4, Shreyash Nalawade*5
*1,2,3,4,5Department Of Electronics And Telecommunication Engineering, BRACT Vishwakarma
Institute Of Information Technology, Pune, India.
DOI : https://www.doi.org/10.56726/IRJMETS47001
ABSTRACT
This project focuses on the design and implementation of an efficient and cost-effective security camera system
utilizing the ESP32-CAM microcontroller and Blynk, a popular Internet of Things (IoT) platform. The primary
objective is to create a motion-activated surveillance system that not only captures and records video footage
but also sends real-time notifications to the user's mobile device. The core component of this security system is
the ESP32-CAM, which has a motion sensor and a camera module. When movement is detected within the
camera's field of view, the motion sensor initiates the process of taking pictures or recording videos. After being
captured, the media is processed and kept on the device.The security system's usefulness is improved by the
integration with the Blynk platform, which gives consumers the ability to remotely monitor their properties.
Blynk makes it possible for the ESP32-CAM and the user's smartphone to communicate seamlessly, allowing for
live streaming of the recorded video and prompt notifications when motion is detected. In order to ensure
prompt response to any security risks, the user can receive alerts and view the camera feed in real-time.
Keywords: ESP32-CAM, Motion-Activated, Security Camera, Blynk.
I. INTRODUCTION
This project focuses on the design and implementation of an efficient and cost-effective security camera system
utilizing the ESP32-CAM microcontroller and Blynk, a popular Internet of Things (IoT) platform. The primary
objective is to create a motion-activated surveillance system that not only captures and records video footage
but also sends real-time notifications to the user's mobile device. management of driving license records. The
core component of this security system is the ESP32-CAM, which has a motion sensor and a camera module.
When movement is detected within the camera's field of view, the motion sensor initiates the process of taking
pictures or recording videos. After being captured, the media is processed and kept on the device. The security
system's usefulness is improved by the integration with the Blynk platform, which gives consumers the ability
to remotely monitor their properties. Blynk makes it possible for the ESP32-CAM and the user's smartphone to
communicate seamlessly, allowing for live streaming of the recorded video and prompt notifications when
motion is detected. In order to ensure prompt response to any security risks, the user can receive alerts and
view the camera feed in real-time.
II. LITERATURE SURVEY
1. Paper Name: Design and Implementation of Object Motion Detection Using Telegram.
Author: Gaurav Soni; Satnam Singh Saini; Simarjit Singh Malhi; Bhupinder Kaur Srao; Ashim Sharma; Digvijay Puri.
Abstract: The need for Internet application development is now extremely strong. As a result, the internet of Things
(IoT) is a significant technology that allows us to create a variety of valuable internet applications. The Internet of
Things (IoT) is an excellent and clever method for reducing human effort and providing simple access to physical
objects. With the assistance of different current technologies, these gadgets collect valuable data and exchange it
with other devices. Home Automation Systems, for example, utilize Wi-Fi or Bluetooth to transmit data between
different home gadgets. Many a time’s working parents have to worry about their young children left out alone at
home but with advancement in technology it is easier to monitor and transmit information within seconds. Either
its about monitoring actions of their children inside house or about visitors at the door it can all be monitored easily
with the help of Internet of Things. This hardware based implementation aims at child safety and home security by
detecting motion and sending photos on telegram bot helping in detection of any anomaly activity in the absence of
owner and with the help of photo it provides the user the opportunity to aware the children at home and, they don’t
need to open the door for the visitor. This paper gives a overview about the Core implementation Details and the
www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science
[353]
e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
( Peer-Reviewed, Open Access, Fully Refereed International Journal )
Volume:05/Issue:12/December-2023 Impact Factor- 7.868 www.irjmets.com
deployment of wireless based control system and accessibility inside a home for authorized people only. When
visitor motion is detected at Door, Camera module interfaced to ESP32-CAM used to capture images, save it on
system and send it as Telegram alert via TCP/IP. Only authorized user can see the images and can even alert the
members inside house. This hardware based design helps in monitoring in place of the owner and helps in saving
time of seeing long video clips of CCTV in order to check any unusual activity. The entire control system is built
using ESP32-CAM microcontroller and tested for actual use in home environment.
2. Paper Name: ESP32 CAM MOTION DETECTOR WITH PHOTO CAPTURE USING PIR SENSOR
Author: MS.Jayashree cs, Pradum Singh, Shivanandan NM, Sreelekshmi C
Abstract: The ESP32-CAM is in deep sleep mode with external wake up enabled. When motion is detected, the
PIR motion sensor sends a signal to wake up the ESP32.The ESP32-CAM takes a photo and saves it on the
micro-SD card .Insert a formatted micro SD card and power your circuit – you can use a portable charger, after
uploading code and building the circuit. Then click the reset (RST) button to get it to operate again. It activates
the flash, snaps a photo, and saves it to the micro SD card when it senses motion. . It goes back to deep sleep mo
de until a new signal from the PIR motion sensor is received. After that, connect the micro SD card to your
computer to view the photographs. We can easily design this motion sensor with a photo capture circuit using
ESP 32 -CAM, PIR sensor, and some basic electronics components. And we can easily supply this circuit with a
5V DC charger..
3. Paper Name: Smart Home Monitoring System Using ESP32 Microcontrollers
Author: Marek Babiuch, Jiri Postulka
Abstract: This chapter deals with the implementation of our own monitoring system with home security. The
system is designed using IoT modules and uses ESP32 microcontrollers. The chapter describes the design of the
system, its hardware components, software implementation, security solutions, communication, the collecting
and monitoring of processed data, as well as the quantification of costs for the production and deployment of
this system. The proposed system secures a house by detecting an intruder in the building, triggering an alarm
and capturing it all with camera images, and then sending data to the owner’s smart mobile phone. The
secondary task of the system is to collect data from sensors for monitoring the temperature of an object and
presenting it via a web server.
4. Paper Name: Design and Implementation of ESP32-Based IoT Devices
Author: Darko Herkog, Tone Lerher ,Mitja Truntic , Oto Tezak
Abstract: The Internet of Things (IoT) has become a transformative technology with great potential in various
sectors, including home automation, industrial control, environmental monitoring, agriculture, wearables,
health monitoring, and others. The growing presence of IoT devices stimulates schools and academic
institutions to integrate IoT into the educational process, since IoT skills are in demand in the labor market.
This paper presents educational IoT tools and technologies that simplify the design, implementation, and
testing of IoT applications. The article presents the introductory IoT course that students perform initially and
then presents some of the projects that they develop and implement on their own later in the project.The Smart
License-Based Vehicle Safety and Security System is an innovative and advanced technology designed to
enhance the safety and security of vehicles. This system leverages smart license technology to integrate various
features and capabilities aimed at ensuring a comprehensive and effective approach to vehicle safety. Key
components of this system include real-time monitoring, intelligent sensors, and communication modules
embedded within the vehicle. The smart license serves as a central identifier and authentication tool, allowing
for seamless integration with the vehicle's safety and security systems. The system utilizes advanced sensors to
constantly monitor various aspects of the vehicle, such as driver behavior, environmental conditions, and
vehicle performance. In the event of any anomaly or potential threat, the system can trigger immediate alerts
and responses. This includes notifying the driver, relevant authorities, or implementing predefined safety
protocols to mitigate risks.
III. METHODOLOGY
1) ESP32-CAM Configuration: Set up and configure the ESP32-CAM microcontroller with the necessary
development environment. Integrate the camera module and motion sensor to enable motion detection

www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science


[354]
e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
( Peer-Reviewed, Open Access, Fully Refereed International Journal )
Volume:05/Issue:12/December-2023 Impact Factor- 7.868 www.irjmets.com
functionality. Implement power management strategies to optimize performance and prolong operational
duration.
2) Blynk Platform Integration: Create an account on the Blynk platform and set up a new project. Generate and
obtain the Blynk authentication token for secure communication. Establish a connection between the ESP32-
CAM and the Blynk server using Wi-Fi credentials. Configure Blynk widgets to enable real-time monitoring and
notification.
3) Motion Detection Logic: Develop algorithms for motion detection based on input from the motion sensor.
Program the ESP32-CAM to trigger the camera module upon detecting motion. Fine-tune sensitivity settings to
minimize false positives andenhance accuracy.
4) Capture and Storage Mechanism: Define protocols for capturing images or recording video upon motion
activation. Implement storage solutions on the ESP32-CAM for captured media, considering factors like file
format and memory management.
5) Notification System Programming: Integrate Blynk's notification features into the ESP32-CAM codebase.
Program the microcontroller to send real-time notifications to the user's mobile device upon detecting motion.
6) User Interface Enhancement: Design a user-friendly interface on the Blynk app for remote monitoring.
Enable features such as live streaming of captured footage and intuitive controls for interacting with the
security system.
7) Testing and Optimization: Conduct thorough testing of the integrated system to ensure seamless
functionality. Address any issues related to connectivity, motion detection accuracy, or notification delays.
Optimize the code and configurations for enhanced performance and responsiveness.
IV. MODELING AND ANALYSIS

To implement the Motion-Activated Security Camera System, the process begins by coding in the Arduino IDE,
where the firmware for the ESP32-CAM is developed. Once the code is finalized, it is uploaded onto the ESP32-
CAM board through the Arduino IDE, enabling the microcontroller to execute the specified functions
seamlessly. Simultaneously, the ESP32-CAM is connected to a programmer board, and the code is uploaded
onto the ESP32 using the programmer for efficient and accurate deployment.
Following the successful code upload, the next step involves creating a template on the Blynk IoT app. This
template is configured with the necessary widgets to enable remote monitoring and notifications. After setting
up the template, essential adjustments are made to integrate the Blynk app with the ESP32-CAM. Physical
connections are established, and a 5V supply is provided to the circuit for stable operation. Once the system is
powered, the PIR sensor, integral to the motion detection mechanism, senses any movement. In response, the
ESP32 notifies the user through the Blynk IoT app, initiating the capture of images. Users can conveniently view
these images through the Blynk app, offering a comprehensive surveillance experience.
V. CONCLUSION
In conclusion, the development and integration of the Motion-Activated Security Camera System using the
ESP32-CAM and Blynk mark a significant stride towards creating a user-friendly and efficient DIY security
solution. The seamless collaboration between hardware and software components allows for a robust
surveillance mechanism, offering real-time notifications and remote monitoring capabilities. The user-centric

www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science


[355]
e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
( Peer-Reviewed, Open Access, Fully Refereed International Journal )
Volume:05/Issue:12/December-2023 Impact Factor- 7.868 www.irjmets.com
design of the Blynk IoT app, coupled with the reliability of the ESP32-CAM, empowers individuals to enhance
the security of their surroundings with a cost-effective and accessible solution.
This project not only successfully addresses the need for an intelligent security system but also provides a
customizable platform for users to tailor the setup according to their specific requirements. The combination of
motion detection, instant notifications, and image capture capabilities ensures a comprehensive approach to
security, making this system a valuable asset for both residential and commercial applications. As technology
continues to evolve, such DIY projects serve as a testament to the potential for innovation in creating practical
and effective solutions for everyday challenges.
VI. REFERENCES
[1] Mamata Khatu, Neetu Kaimal, Pratik Jadhav, Syedali Adnan Rizvi, “Implementation of Internet of Things
for Home Automation”, International Journal of Technology, Volume 3, Issue 2, February 2015.
[2] N-S. Liang, L-C. Fu, and C.- L. Wu, “An integrated, flexible, and Internet-based control architecture for
home automation system in the Internet era,” in IEEE International Conference on Robotics and
Automation, Washington, DC 2002, open. 1101 – 1106
[3] Andreadis, A.; Giambene, G.; Zambon, R. Low-Power IoT for Monitoring Unconnected Remote
Areas. Sensors 2023, 23, 4481. [Google Scholar] [CrossRef]
[4] Babiuch, M.; Postulka, J. Smart Home Monitoring System Using ESP32 Microcontrollers; IntechOpen:
London, UK, 2021. [Google Scholar]
[5] Jampana, J.G.; Praneeth, A.; Devi, J.H.; Rani, P.S. Smart Home Automation System with Status Feedback
Based on Esp32 and IoT; Elsevier: Amsterdam, The Netherlands, 2022. [Google Scholar]
[6] Aghenta, L.O.; Iqbal, M.T. Low-cost, open source IoT-based SCADA system design using thinger. IO and
ESP32 thing. Electronics 2019, 8, 822. [Google Scholar] [CrossRef][Green Version]
[7] R. Piyare, “ Ubiquitous Home Control and Monitoring System using Android based smart phone,”
International Journal of Internet of Things, volume. 2,pp. 5-11,2013.
[8] A. Rajabzadeh, A. R. Management, and Z. F. Jahromi, “A Mobile Application for Smart House Remote
Control System,” World Academy of Science, Engineering and Technology, vol. 62,2010.
[9] S. Kumar , " Ubiquitous Smart home System Using Android Application, "International Journal of
Computer Networks & Communications, vol. 6, pp. 33-43, January 2014.

www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science


[356]

You might also like