What Is the DS3231? High-Precision RTC: Specs and Uses
The DS3231 is a high-precision real-time clock (RTC) IC with a temperature-compensated crystal (TCXO). It communicates over I2C (0x68), keeps time on a backup battery and offers ~±2 ppm accuracy. It needs no external crystal and barely drifts with temperature; it is far more accurate than the DS1307. It includes 2 alarms and a temperature output.
The DS3231 is a high-precision real-time clock (RTC) IC. Because it contains a temperature-compensated crystal (TCXO), it drifts far less than ordinary RTCs. It communicates over I2C and, with a backup battery, keeps time through power loss. For the concept, see what is an RTC · what is I2C.
What is the DS3231 used for?
Timestamps for data loggers, alarms/scheduling, clock/calendar applications. It is far more accurate than the DS1307 (needs no external crystal and barely drifts with temperature).
Highlights
| Parameter | Value |
|---|---|
| Type | High-precision RTC with TCXO |
| Accuracy | ~±2 ppm (0–40 °C) |
| Interface | I2C (address 0x68) |
| Extra | 2 alarms, temperature output, square wave |
| Backup | Keeps time on a battery (CR2032) |
Limitations
- More expensive than the DS1307 (but far more accurate).
- Some modules have a charge circuit that tries to charge a non-rechargeable battery — check the module design.
Equivalents and alternatives
- DS1307: cheaper, less accurate RTC.
- DS3232: DS3231 + extra SRAM.
- PCF8563: a low-power I2C RTC.
Find it in our catalog
Use the DS3231 search.