DS3231 RTC module (mini, for Raspberry Pi)
Small DS3231 board that plugs onto Pi pins 1 to 9.
FunctionRTC with backup cell
Supply voltage3.3 V
InterfaceI2C (0x68)
Logic level3.3 V
InterfacesReviewedMPN DS3231 Pi miniUsed in 1 project
In short
What is the DS3231 RTC module (mini, for Raspberry Pi) and what is it used for?
Small DS3231 board that plugs onto Pi pins 1 to 9. Makers use it for keeping time on a Pi without internet.
How it works
A temperature-compensated DS3231 clock with a backup coin cell.
Key specifications
| Interface module spec | Value |
|---|---|
| Function | RTC with backup cell |
| Supply voltage | 3.3 V |
| Interface | I2C (0x68) |
| Logic level | 3.3 V |
Pinout
Five pinsFit Pi header pins 1 3 5 7 9 (3.3 V, SDA, SCL, GPIO4, GND)
How to use it
Add dtoverlay=i2c-rtc,ds3231 to config.txt, remove fake-hwclock and the Pi keeps time without internet.
Applications
Keeping time on a Pi without internet
Builds that use it
Alternatives
- DS3231 RTC moduleFull module for any board
- Raspberry Pi 5 RTC batteryPi 5 has a built-in RTC
Common questions
What is the DS3231 RTC module (mini, for Raspberry Pi) used for?
In maker projects: keeping time on a Pi without internet.
How does the DS3231 RTC module (mini, for Raspberry Pi) work?
A temperature-compensated DS3231 clock with a backup coin cell.
What voltage does the DS3231 RTC module (mini, for Raspberry Pi) need?
3.3 V.
How do I connect the DS3231 RTC module (mini, for Raspberry Pi) to an Arduino or ESP32?
I2C (0x68). Pins: Five pins (Fit Pi header pins 1 3 5 7 9 (3.3 V, SDA, SCL, GPIO4, GND)).
What can I use instead of the DS3231 RTC module (mini, for Raspberry Pi)?
DS3231 RTC module and Raspberry Pi 5 RTC battery.
