DS3231 real-time clock module - I2C, ±2 ppm, for Raspberry Pi
This goes with it
incl. VAT, plus shipping
Description
Product overview
- Real-time clock (RTC module) with precision quartz oscillator for Raspberry Pi
- Temperature measurement range -40 to +85 °C, timekeeping accuracy ±2 ppm
- I2C interface, requires two GPIO pins (SDA, SCL)
- CR2032 button cell backup maintains system time during power outages
- Small board (approx. 30 * 25 mm) with pin headers for direct installation
- Integrated temperature compensation for consistent accuracy
Product description
A real-time clock module with a DS3231 chip provides accurate system time even when the Raspberry Pi is turned off or has no internet connection. The I2C bus requires only two data lines and shares them with other modules that also use I2C, keeping the number of pins needed low.
The module works independently of the internet and maintains the time using an integrated battery controlled by the quartz oscillator. The current time does not need to be entered again after power outages, which is especially useful for projects without network access or in remote applications. The internal temperature sensor also allows you to read the current ambient temperature via the same I2C interface.
Applications range from data loggers that store timestamps offline to IoT devices designed to operate without external time synchronization. Automation projects with time-controlled processes also benefit from ensuring that a scheduled action is not skipped if the network is interrupted. Simple weather stations also use the module to timestamp their readings accurately.
The quartz oscillator keeps time to within a maximum deviation of two millionths of a second per second, which under real-world conditions amounts to an error of about two seconds per million seconds of operating time. The CR2032 battery typically lasts several years before it needs to be replaced. Connection is via four wires: 5 V, GND, SDA, and SCL; the module supports both 3.3 V and 5 V logic levels and can be connected directly to Raspberry Pi GPIO.
Safety notice
This module is intended exclusively for building prototypes and for testing and development purposes. The CR2032 battery must not be punctured, soldered, or damaged. Do not install it in household electrical wiring.
Package contents
- 1* DS3231 clock module for Raspberry Pi