ESP 32 Mini Project
ESP 32 Mini Project
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
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
This is the pin assignment for the BME280 and PIR motion sensor on the PCB shield:
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
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