High Accuracy RTC (DS3231) for Raspberry Pi


The High Accuracy Pi RTC is based on the clock chip DS3231 providing you with seconds, minutes, hours, day, date, month and year information for your projects.  

In stock
  • 10+: $6.45
  • 20+: $6.30
  • More
  • 50+: $5.95
  • Less
attention icon


This product is fully compatible with Raspberry Pi 4 (1GB, 2GB,4GB) and hopes you enjoy hacking with Pi 4 and all of other Pi 4 accessories.

attention icon


Also want an RTC module to play with Arduino boards? Please check our Grove – RTC, Grove – High Precision RTC and Arduino Tutorial: Using DS1307 RTC with Arduino

Real-Time Clock (RTC) module is based on the clock chip DS1307. The DS3231 is a low-cost, extremely accurate I2C RTC. It can RTC for Raspberry Pi via the I2C interface. With the clock source from the TCXO(temperature compensated crystal oscillator), the RTC provides seconds, minutes, hours, day, date, month, and year information.
The date at the end of the month is automatically adjusted for months with fewer than 31 days, including corrections for leap year.The clock operates in either the 24-hour or 12-hour format with an AM/PM indicator.
The clock provides two programmable time-of-day alarms and a programmable square-wave output. The INT/SQW pin either generates an interrupt due to alarm condition or outputs a square-wave signal and the selection is controlled by the bit INTCN.
If you want to keep this module timing when the Raspberry Pi is powered off, you need to put a 3-Volt CR1225 lithium cell in the battery-holder.


  • Support Raspberry Pi 2/ 3 B/B+ Zero/4

  • Suport seconds,minuutes,hours,day of week,month, year

  • Support 24-hour or 12-hour format with AM/PM indicator

  • Low-Power Consumption

  • Two Time-of-Day Alarms

  • Fast (400kHz) I2C Interface

Typical Applications

  • Any applications need Real Time on Raspberry.

Pin Out

Technical details

Dimensions 25mm x25mm x15mm
Weight G.W 13.9g
Battery Exclude

Part List

High Accuracy Pi RTC (DS3231) 1
2pin Header 1


HSCODE 8473309000
UPC 841454121831

High Accuracy Pi (RTC-DS3231)

This is the wiki page for this product, which will show you how to use the product, as well as details about the software and hardware.

Write Your Own Review
Only registered users can write reviews. Please Sign in or create an account

Product Faqs

Sort by   
  • I am building a Stratum 1 Time Server with my RBPi Zero WH, will this RTC module not interfere with Ublox NEO-M8N that needs Pins 1, 6, 8, 10, 13.
    Question by: electrogoodie on 2019-04-07 13:11:37

    Sorry, I can't edit my question. It's Pin 12 and not 13. Thank you.

    Answer by: electrogoodie on 2019-04-07 09:15:30
  • This says it supports raspberry pi only, but would it be possible to connect the pins to an arduino and use the generic ds3231 libraries? Looking at your schematic, the only differences I notice is more resistors than arduino chips using the ds3231.
    Question by: George Gagaris on 2019-03-26 09:43:27

    Hi George, It should work, we will test it tomorrow, and will feedback to you as soon as we get the result. Have a nice day.

    Answer by: admin on 2019-03-26 06:41:59

    Hi George, We have tested it, it will work with Arduino, you can use this library: ### https://www.arduinolibraries.info/libraries/ds3231 ###. If you have any questions, please feel free to contact us. techsupport@seeed.cc

    Answer by: admin on 2019-03-27 10:55:42