“In this project, we’re going to make a motion sensor detector with photo capture using an ESP32-CAM. When your PIR sensor detects motion, it wakes up, takes a photo and saves it in the microSD card.
This project is very similar with a previous one, but after so many requests, we added a PIR motion sensor to the circuit. So, when motion is detected a picture is taken and saved on the microSD card.
For this project, you’ll need the following parts:
ESP32-CAM with OV2640
PIR motion sensor
Female-to-female jumper wires
5V power supply for ESP32-CAM or power bank (optional)”