Monday, June 16, 2025

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

EFY++ CONTENT: ACCESS TO THIS CONTENT IS FREE! BUT YOU NEED TO BE A REGISTERED USER.

- Advertisement -

Oops! This is an EFY++ article, which means it's our Premium Content. You need to be a Registered User of our website to read its complete content.

Good News: You can register to our website for FREE! CLICK HERE to register now.

- Advertisement -

Already a registered member? If YES, then simply login to you account below. (TIP: Use 'forgot password' feature and reset and save your new password in your browser, if you forgot the last one!)

SHARE YOUR THOUGHTS & COMMENTS

EFY Prime

Unique DIY Projects

Truly Innovative Electronics

Electronics News

Latest DIY Videos

Electronics Components

Electronics Jobs

Calculators For Electronics

×