RTC Sensors
Compatible with ESP32

The list of RTC sensors for your ESP32 projects, complete with wiring guides and code examples.

Real-Time Clock (RTC) modules are critical for ESP32 and Arduino projects that need to keep accurate time—even when powered off. These modules include an onboard battery and crystal oscillator, allowing your microcontroller to retain the current time and date across reboots and deep sleep cycles.

Use RTC modules in applications like data logging, event scheduling, alarm clocks, and time-based automation. Popular options include the DS1307 and DS3231—both of which connect via the I2C interface and are well-supported with Arduino and ESP32 libraries.

On ESP32, pairing an RTC with deep sleep lets you wake up the board at scheduled times while conserving battery life. On Arduino, the RTC provides reliable timekeeping even in offline or low-power projects.