0% found this document useful (0 votes)
84 views

ESP 32 Mini Project

The document describes a security camera project using an ESP 32 module with a camera, PIR motion sensor and BME280 sensor. It can detect motion and send photos to Telegram. The implementation section divides the process into creating a Telegram bot, developing code in Arduino IDE and uploading it to the ESP 32. It provides circuit diagrams and descriptions of components used.

Uploaded by

Snehal Andhare
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
84 views

ESP 32 Mini Project

The document describes a security camera project using an ESP 32 module with a camera, PIR motion sensor and BME280 sensor. It can detect motion and send photos to Telegram. The implementation section divides the process into creating a Telegram bot, developing code in Arduino IDE and uploading it to the ESP 32. It provides circuit diagrams and descriptions of components used.

Uploaded by

Snehal Andhare
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 15

ESP 32 Security Camera With Motion Detection and Sensor

Readings
SEM-IV

SEM-IV
1
EXTC
Content

• Introduction
• Problem Definition
• Literature Survey
• Implementation
• Results
• Conclusion
• References

SEM-IV
2
EXTC
Introduction

In this project we have created an ESP 32 Motion Detection Camera which can detect motion and send a
photo after the motion is detected. We have also created a Telegram Bot to control the esp 32 camera
module for ease. We can also detect surrounding temperature humidity and pressure of Esp 32 module.

Alternatively, the user can also give commands using telegram app via a bot to control the esp 32 camera
module, the user can request to capture a photo, turn on/off the flash or request readings.
Applications :

1)This project can be installed at any at any surveillance area, It will simply capture an image and send it to your telegram if any human
motion is detected.

2)This project can also be installed at backyards or gardens to capture photos of wildlife birds/insects whenever any motion is detected. It
can also capture photos of wildlife animals after their motion is detected.

3)This project can also be used at home/garage to detect any human motion or to scare away any mice or insects.

4) We can also detect surrounding temperature humidity and pressure of Esp 32 module.

SEM-IV
3
EXTC
Problem Definition

Problem Definition

Nowadays Security is a very big concern for everyone whether it be online or


offline. Everyone wants their things to be safe and keep an eye on it.

Hence for our project we have created a ESP 32 Camera Detection with PIR
Sensor and Sensor readings.

We have made it using low-cost components and hence it is also budget friendly.

SEM-IV
4
EXTC
Literature Survey

The circuit consists of:

 BME280 temperature, humidity and pressure sensor (4 pins);

 Mini PIR motion sensor (AM312);

 Exposed 5V and GND pins to power up the shield and ESP32-CAM;

 Other exposed GPIOs if you want to add additional features.

ESP32-CAM PCB Shield Pin Assignment

This is the pin assignment for the BME280 and PIR motion sensor on the PCB shield:

 PIR Motion Sensor: GPIO 13

 BME280: GPIO 14 (SDA), GPIO 15 (SCL)


SEM-IV
5
EXTC
ESP32-CAM Telegram Bot
To control the ESP32-CAM shield, we’ll create a Telegram bot, so that you can
monitor your ESP32-CAM from anywhere (as long as you have internet access in
your smartphone)
The circuit detects Motion whenever an objects with heat passes from across the
PIR motion senser and sends an notification to the user via telegram.
 /start: sends a welcome message with the valid commands to control the
shield;
 /flash: toggles the ESP32-CAM LED Flash;
 /photo: takes a new photo and sends it to your Telegram account;
 /readings: requests the latest BME280 sensor readings.

SEM-IV
6
EXTC
a. Components
Parts Required
To assemble the circuit on a breadboard you need the following parts:
 ESP32-CAM AI-Thinker
 Mini PIR motion sensor
 BME280 (4 pins)
 FTDI programmer (to upload code)
 Breadboard
 Jumper wires

• ESP32-CAM
The ESP32-Cam is a very small camera module with the ESP32-S chip that costs less than
$10. Besides the OV2640 camera and several GPIOs to connect peripherals, it also
features a microSD card slot that can be useful to store images taken with the camera or
to store files to serve to clients.
ESP 32 CAM Module :

SEM-IV
7
EXTC
The ESP32-Cam doesn’t have any onboard USB connector like
NodeMCU-ESP8266 comes with an onboard micro-USB connector, so
you need an FTDI programmer to upload code through the U0R and
U0T pins (serial pins).

SEM-IV
8
EXTC
FTDI p rogra m m e r Module

SEM-IV
9
EXTC
ESP 32-Cam P in o u t(AI-Th in ke r m o d u le ):

Th e re a re t h re e GND p in s a n d t w o p in s fo r p o w e r: e it h e r 3 .3 V o r 5 V.

GPIO 1 a n d GPIO 3 a r e t h e s e r ia l p in s . Yo u n e e d t h e s e p in s t o u p lo a d c o d e
t o yo u r b o a rd . Ad d it io n a lly, GPIO 0 a ls o p la ys a n im p o r t a n t ro le , s in c e it
d e t e rm in e s w h e t h e r t h e ES P3 2 is in fla s h in g m o d e o r n o t . Wh e n GPIO 0 is
c o n n e c t e d t o GND, t h e ES P3 2 is in fla s h in g m o d e .

SEM-IV
10
EXTC
Implementation

Circuit Diagram

SEM-IV
11
EXTC
We have divided the procedure of Implementation of this project in three steps that is
1) Creating a Telegram Bot
2) Developing the code in Arduino IDE
3) Uploading the code to Esp 32 Cam module with the help of FTTI Programmer
Module
4) Connecting the parts as shown above and Run the Circuit.

SEM-IV
12
EXTC
Results

SEM-IV
13
EXTC
Conclusion

From this Project we have created our own Motion Detection


Surveillance Camera and also learnt how code and how the ESP 32
Cam Module works. It was a fun project to build.

SEM-IV
14
EXTC
References

References :
 https://randomnerdtutorials.com/esp32-cam-shield-pcb-telegram/
 https://www.youtube.com/watch?v=tgaqegUNNyE&t=192s
 https://electronicsinnovation.com/motion-triggered-telegram-alert-device-with-esp32-camera/

SEM-IV
15
EXTC

You might also like