SURVEILLANCE CAMERA

Published Aug 10, 2022
 4 hours to build
 Beginner

Smart surveillance camera has been to capture images automatically, whenever any motion is detected using ESP32-CAM and PIR motion sensor.

display image

Components Used

ESP32-cam
ESP32-cam
1
PIR Sensor
PIR motion sensors sense the Infrared signal radiated from moving objects including human or animal body. It is generally used to detect the presence of human or animal motions.
1
MicroSD Card
Adafruit Accessories 16GB Card with NOOBS 3.1 for Raspberry Pi Computers including 4
1
FTDI Universal Programmer
Programmers - Processor Based Universal Prog Mod 1.5 to 6.5V ext
1
Wire
Hook-up Wire 788133 RED 100 FT
1
5V 2A Power bank
Adafruit Accessories USB Li-Ion Power Bank with 2 x 5V Outputs @ 2.1A - 5000mAh
1
Description

ESP-32 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, WiFi image upload, QR identification, and so on.

Buy ESP32 CAM WiFi Module Bluetooth with OV2640 Camera Module

PIR MOTION SENSOR:

               PIR sensors allow you to sense motion, almost always used to detect whether a human has moved in or out of the sensors range. They are small, inexpensive, low-power, easy to use and don't wear out. For that reason they are commonly found in appliances and gadgets used in homes or businesses. They are often referred to as PIR, "Passive Infrared", "Pyroelectric", or "IR motion" sensors.

proximity_pirsensor.jpg

METHODOLOGY PROPOSED:

  • The ESP-32 CAM will be in deep sleep mode until an external signal from PIR sensor receives.
  • Whenever the PIR sensor detects any motion, it sends a wakeup signal to ESP-32 CAM.
  • Then it captures the image and store it in micro SD card.

PROCEDURE:

  1. First, format the micro SD card.
  2. The project is done using ESP-32 board. To write the embedded code, ARDUINO IDE to be installed as well as ESP-32 board.
  3. Paste the code in arduino IDE.
  4. To upload the code, connect the ESP-32 CAM board to computer using FTDI programmer.     
  5. In IDE, tools->boards select ESP-32 board. Tools-> port, choose the port which is connected to ESP-32 CAM.
  6. Upload the code.
  7. When it starts to upload, press the RST button on ESP-32 CAM.        
  8. Now assemble the Parts. Connect ESP-32 CAM with PIR sensor.
  9. Insert the formatted microSD card and supply power.
  10. After pressing reset button it starts working.       
  11. To see the images captured, insert the microSD card to your computer.                                                                                     

Thus the problem of manual maintenance of security is solved through this smart surveillance camera project.

It has an advantage of storing the photos taken during the motion detection, hence acquiring evidence through this process becomes easier.

This system is comparatively cheap and easy to implement when compared to the other existing methods. Thus can be implemented easily in houses.

FINAL PRODUCT:

 

 

Codes

Downloads

ESP-32 Download
Guide / Mentor

Institute / Organization

BANNARI AMMAN INSTITUTE OF TECHNOLOGY, SATHYAMANGALAM
Comments
Ad