The DS3231 RTC isa highly accurate, low-cost Real-Time Clock module used to track time and date. It communicates via an I2C interface and includes a built-in temperature sensor and a battery backup that keeps accurate time even when the main power is disconnected.
Key Features
Extreme Accuracy: Uses an integrated Temperature-Compensated Crystal Oscillator (TCXO) that prevents the timing drift seen in cheaper modules (like the DS1307).
Time Tracking: Records seconds, minutes, hours, day, date, month, and year with automatic leap-year compensation until the year 2100.
Onboard EEPROM: Many modules include an AT24C32 EEPROM chip for data logging.
Backup Power: Holds a standard 3V CR2032 or LIR2032 battery.