Components / Interface and audio modules / DS3231 RTC module (mini, for Raspberry Pi)

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
DS3231
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 specValue
FunctionRTC with backup cell
Supply voltage3.3 V
InterfaceI2C (0x68)
Logic level3.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

Alternatives

Buy at

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.