Tuesday, April 23, 2024

ESP32 RTC Based Camera Using Motion Sensor

ashwiniIn the previous version of ESP32 cam project published in February issue you could live stream the video and access the video over Wi-FI. Carrying that forward, in this project the ESP32 cam attached with RTC can take pictures based on time and save them on an SD card attached to the board. The design can be further developed to capture a video picture only when some motion is detected, so that it can act as a wireless security camera.


The author’s prototype is shown in Fig. 1 while the components required for the project are listed under Bill of Material table. The circuit diagram for the ESP32 RTC based camera is shown in Fig. 2.

Author’s prototype soldered on board
Fig. 1: Author’s prototype soldered on board
 ESP32 RTC based camera circuit
Fig. 2: ESP32 RTC based camera circuit

The circuit is built around voltage regulator LM1117, an OLED, and ESP32 cam. For programming the ESP32 you need the USB-to-serial programmer shown in Fig. 3.

USB-to-serial programming for the cam
Fig. 3: USB-to-serial programming for the cam
Bill of Material
Components Quantity
ESP32 with camera (MOD1) 1
OLED display, 2.44cm (0.96-inch) (MOD2) 1
I2C RTC – DS3231/DS1307 1
USB to serial FTDI chip 1
LM1117 3.3V regulator 1
PIR sensor 1
Optocoupler 1
Transistor BC547 1
10k-ohm resistor and 100µF capacitor 2 and 1

Software



WHERE IS THE REST OF THIS ARTICLE'S CONTENT?

This is PREMIUM content, which means that only
REGISTERED users of our website can read it, by logging in.

If you ARE a registered user, CLICK HERE to login.
Else, CLICK HERE to register for FREE!

SHARE YOUR THOUGHTS & COMMENTS

Unique DIY Projects

Electronics News

Truly Innovative Tech

MOst Popular Videos

Electronics Components

Calculators