This is an old revision of the document!


ESP 32 Security system to detect movement and capture picture

  • Author: Felicia Saghin
  • Email: felicia.saghin@stud.acs.pub.ro
  • Master: SRIC

Introduction

In today’s connected world, real-time security monitoring at home or in small offices has become both practical and affordable. This project delivers a lightweight IoT door-security solution by combining an ESP32-CAM module with a Hall-effect sensor. Whenever the door opens, the sensor immediately signals the ESP32-CAM to capture a high-resolution image. That image is then uploaded to Firebase Storage, and its publicly accessible URL is written to Firebase Realtime Database. Simultaneously, Twilio’s API is invoked to send an SMS to your smartphone. Finally, a web gallery hosted on Firebase displays the latest snapshot instantly, giving you secure and remote visibility of every entry event.

Context

In many homes and small offices, it’s difficult to know in real time if someone has opened a door while you’re away. Traditional mechanical locks and alarms often only log events locally or rely on manual checks.

This project bridges that gap by providing:

- instant detection of a door opening via a Hall-effect sensor

- automated image capture with an ESP32-CAM module

- cloud storage of each snapshot in Firebase Storage

- real-time notifications via Twilio (SMS)

- live web monitoring through a Firebase-hosted gallery

Hardware

Hardware Components

ESP32-CAM (OV2640 camera module)

Hall‐effect sensor (A3144)

Permanent magnet

5 V USB power supply (or power bank)

ESP32-CAM-MB shield

Assorted jumper wires and mounting tape/screws

Software

Code Snippets

Challenges

References

iothings/proiecte/2025sric/security-system-to_detect-movement-and-capture-image.1748496110.txt.gz · Last modified: 2025/05/29 08:21 by felicia.saghin
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0