DS3231 RTC Module

A peripheral for use with the Kookaberry

The DS3231 Real Time Clock (RTC) is a highly accurate but very inexpensive module used for keeping devices such as microcontrollers synchronised with real time. Because they have a battery, once they have been manually set, they continue to act as a time reference for a connected device even when that device is switched off and then back on again.


  • RTC counts seconds, minutes, hours and year
  • Accuracy: +2ppm to -2ppm for 0ºC to +40ºC , +3.5ppm to -3.5ppm for -40ºC to +85ºC
  • Digital temperature sensor with ±3ºC accuracy
  • Two Time-of-day alarms
  • Programmable square wave output
  • Register for Aging trim
  • 400Khz I2C interface
  • Low power consumption
  • Automatic power failure battery switch circuitry
  • CR2032 battery backup with two to three year life
  • Operating  voltage of  DS3231 MODULE: 2.3V – 5.5V
  • Can operate on LOW voltages
  • Consumes 500 micro amps on battery backup
  • Maximum voltage at SDA , SCL : VCC + 0.3V
  • Operating temperature: -45ºC to +80ºC
How it works

[This explanation is taken from an OSOYOO Arduino lesson]

Most RTC’s use an external 32kHz timing crystal that is used to keep time with low current draw. And that’s all well and good, but those crystals have slight drift, particularly when the temperature changes (the temperature changes the oscillation frequency very very very slightly but it does add up!) This RTC is in a beefy package because the crystal is inside the chip! And right next to the integrated crystal is a temperature sensor. That sensor compensates for the frequency changes by adding or removing clock ticks so that the timekeeping stays on schedule.

Apps that use this sensor



Output Type: Digital

Supply Voltage:3.3 to 5v


View the wiki
Product page


Issues resolved in the support forum:

12 out of 16
View support forum