Memory storage DS3231 module


This DS3231is a high-precision I2C real-time clock (RTC), with integrated temperature-compensated crystal oscillator (TCXO) and crystal. The device contains a battery input, which can maintain accurate timing when the main power is disconnected. The integrated crystal oscillator improves the long-term accuracy of the device and reduces the number of components in the production line. The DS3231 provides commercial and industrial temperature ranges and is available in a 16-pin 300mil SO package.

RTC saves seconds, minutes, hours, day, date, month, and year information. Months less than 31 days will automatically adjust the end of the month, including corrections for leap years. The working format of the clock can be 24 hours or a 12-hour format with /AM/PM indication. Provide two configurable calendar alarms and a configurable square wave output. The address and data are transferred serially via the I2C bidirectional bus.

Sophisticated, temperature-compensated voltage reference and comparator circuits are used to monitor VCC status, detect power failures, provide reset outputs, and automatically switch to backup power when necessary. In addition, the /RST monitor pin can be used as a manual input to generate a μP reset.

In addition to high timing accuracy, DS3231 also has some other functions, these functions extend the additional functions and selection range of the system host. The device integrates a very accurate digital temperature sensor, which can be accessed through the I2C* interface (just like time). The accuracy of this temperature sensor is ±3°C. The on-chip control circuit can realize automatic power supply detection and manage the power supply switching between the main power supply and the backup power supply (that is, the low-voltage battery). If the main power supply is powered down, the device can continue to provide accurate timing and temperature without affecting performance. When the main power supply is re-energized or the voltage value returns to the allowable range, the on-chip reset function can be used to restart the system microprocessor.


1. Size: 38mm (length) * 22mm (width) * 14mm (height)
2. Weight: 8g
3. Working voltage: 3.3–5.5V
4. Clock chip: High-precision clock chip DS3231
5. Clock accuracy: within 0-40℃, accuracy 2ppm, annual error about 1 minute
6. With 2 calendar alarm clocks
7. Programmable square wave output
8. The real-time clock generates seconds, minutes, hours, days, dates, months and years, and provides compensation for leap years valid until 2100
9. The temperature sensor inside the chip has an accuracy of ±3℃
10. Memory chip: AT24C32 (storage capacity 32K)
11. IIC bus interface, maximum transmission speed 400KHz (when working voltage is 5V)
12. Can cascade other IIC devices, 24C32 address can be modified by short circuit A0/A1/A2, the default address is 0x57
13. With battery CR2032, to ensure that the clock still runs normally after the system is powered off
14. Packing: single anti-static packaging
Wiring instructions (taking uno r3 as an example):