HomeEngineering Projects For YouESP32 RTC Based Camera Using Motion Sensor

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.

- Advertisement -
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 Icon

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

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.

- Advertisement -

Good News: You can register to our website for FREE! REGISTER NOW

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!)

Somnath Bera
Somnath Bera
Somnath Bera is an Assistant General Manager (AGM) at NTPC Limited, bringing extensive industrial experience in thermal power systems along with strong expertise in electronics, IoT, AI, and embedded systems. His multidisciplinary background enables him to bridge large-scale industrial applications with modern digital technologies. Alongside his leadership role in the energy sector, Somnath is a prolific contributor to Electronics For You, where he shares practical, project-driven insights for engineers, makers, and technology enthusiasts. His work focuses on real-world implementations, combining hardware and software to create impactful solutions. He is also known for his hands-on demonstrations and tutorials, which simplify complex concepts and make advanced technologies accessible to both hobbyists and professionals. His contributions reflect a unique blend of deep technical knowledge, industry experience, and a strong commitment to knowledge sharing.

SHARE YOUR THOUGHTS & COMMENTS

EFY Prime

Unique DIY Projects

Truly Innovative Electronics

Electronics News

Latest DIY Videos

Electronics Components

Electronics Jobs

Calculators For Electronics