About this product
DS3231 I2C Real-Time Clock Module without Battery
Add a separate time-and-date clock to a microcontroller project with this DS3231 RTC module. The DS3231 combines timekeeping with a temperature-compensated crystal oscillator. The board connects over I2C and has a backup coin-cell holder, an onboard memory chip and a pin header. A backup battery is not included.
Features
Tracks seconds, minutes, hours, day, date, month and year.
Supports 12-hour or 24-hour time formats.
Temperature-compensated timekeeping, two programmable alarms and square-wave output functions.
I2C communication through SDA and SCL.
Onboard EEPROM for data storage separate from the clock registers.
Empty backup battery holder for a circuit-verified cell arrangement.
Connection and setup
Identify VCC, GND, SDA and SCL from the printed board labels. Connect the signal lines to the host's I2C pins rather than copying the physical pin order of another controller. Check the module supply, pull-up voltage and host logic limits before powering it, especially with a 3.3V controller.
For the first test, leave the battery holder empty. Use a DS3231-compatible RTC library to set the time and read it back. Set the clock when required, rather than resetting it to the program's build time on every restart. Once backup power has been checked, test that the clock continues after the main supply is removed.
Backup battery caution
Carrier-board charging circuits vary. Inspect the actual board's charging path before choosing or fitting a cell. A 2032-size holder alone does not confirm CR2032 compatibility. Never charge a non-rechargeable coin cell, and verify cell type and polarity before use. Keep coin cells away from children.
Project uses
Useful for timestamped sensor logs, clocks, timers and scheduled electronics projects. The RTC keeps time; the controller still needs its own power and application software.
Package contents
1 x DS3231 RTC module without battery. Controller, wires and backup cell are not included. SKU: RS7216.
Tracks seconds, minutes, hours, day, date, month and year.
Supports 12-hour or 24-hour time formats.
Temperature-compensated timekeeping, two programmable alarms and square-wave output functions.
I2C communication through SDA and SCL.
Onboard EEPROM for data storage separate from the clock registers.
Empty backup battery holder for a circuit-verified cell arrangement.