The DS1302 Real-Time Clock (RTC) Module is a compact timekeeping board built around the DS1302 trickle-charge clock chip, paired with a CR2032 coin-cell battery holder so it keeps running even when the main power is disconnected. It tracks seconds, minutes, hours, day, date, month, and year with automatic leap-year compensation.
Key features:
- DS1302 Clock Chip: A low-power trickle-charge timekeeping chip that communicates over a simple 3-wire serial interface (CE, I/O, SCLK).
- Backup Battery: Includes a CR2032 3V lithium coin-cell holder so the clock keeps time during power loss or reprogramming.
- Full Calendar Tracking: Provides seconds, minutes, hours, day of week, date, month, and year, with automatic adjustment for short months and leap years.
- 12/24-Hour Modes: Supports both 12-hour (with AM/PM flag) and 24-hour time formats.
- Onboard RAM: Features 31 bytes of battery-backed static RAM for storing small amounts of user data.
- Easy Integration: Simple pin headers (VCC, GND, CLK, DAT, RST) wire directly to Arduino, ESP32, or other microcontrollers.
It’s a low-cost way to add accurate date and time tracking to data loggers, alarm clocks, and other projects that need to remember the time between power cycles.