RTC SensorsCompatible 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.
Sensors List

DS1302
The DS1302 is a cost-effective real-time clock module designed for accurate timekeeping. It operates on a 3-wire serial...

DS1307
The DS1307 is a widely used real-time clock module with I2C communication. It supports leap year compensation,...

DS3231 / AT24C32
The DS3231 is a highly accurate I²C real-time clock with an integrated temperature-compensated crystal oscillator,...

PCF8563
The PCF8563 is a low-power real-time clock/calendar with I2C interface, offering timekeeping functions, programmable...