Skip to product information
1 of 2

DS3231 RTC Module for Arduino & Raspberry Pi

DS3231 RTC Module for Arduino & Raspberry Pi

🔥 25 sold•✓ In stock
Regular price HK$29.00
Regular price Sale price HK$29.00
Sale Sold out
Shipping calculated at checkout.
Quantity

Delivery Options

  • Local delivery within Hong Kong and in-store pickup.​
  • Free shipping for orders of HK$400 or above; HK$35 shipping fee for orders below HK$400.​
  • Shipped by SF Express, usually dispatched the same day for orders confirmed before 6:00 PM (Mon–Sat).​
  • Estimated delivery time: 1–3 business days after dispatch (Hong Kong).​
  • In-store pickup details (location and time) will be confirmed by email or phone message.​
  • Delivery times are estimates and may be affected by weather or unforeseen circumstances.​

DS3231 RTC Module – High-Precision I2C Real-Time Clock

The DS3231 RTC module is a high-precision I2C real-time clock board designed for Arduino, Raspberry Pi and other microcontroller projects. It keeps track of the time and date, even when the main power supply is disconnected, provided a compatible backup battery is correctly installed.

Using a temperature-compensated crystal oscillator (TCXO), the DS3231 provides accurate timekeeping without requiring an external crystal. The module also features two programmable alarms, a digital temperature sensor and an onboard AT24C32 EEPROM for additional data storage.

Key Features

  • High-Precision Timekeeping: DS3231 RTC chip with specified accuracy of ±2ppm from 0°C to 40°C.
  • Temperature-Compensated Oscillator: Integrated TCXO and crystal help maintain stable timekeeping.
  • Backup Battery Holder: Supports timekeeping during main power interruption when used with a suitable backup cell.
  • Full Calendar Function: Tracks seconds, minutes, hours, day, date, month and year, with automatic leap-year compensation up to 2100.
  • 12/24-Hour Format: Supports both 12-hour and 24-hour time formats.
  • Dual Alarms: Two programmable time-of-day alarms for scheduled events.
  • Temperature Sensor: Integrated digital temperature sensor with approximately ±3°C accuracy.
  • AT24C32 EEPROM: Additional 32Kbit (4KB) I2C non-volatile memory.
  • I2C Interface: Two-wire serial communication with supported clock speeds up to 400kHz.
  • Square-Wave Output: Programmable square-wave output for timing and control applications.

Compatible Projects and Applications

  • Arduino clock and calendar projects
  • Raspberry Pi timekeeping and data logging
  • IoT devices and automation systems
  • Automatic watering and scheduled control systems
  • Time-stamped sensor data collection
  • Electronic clocks and digital calendars
  • Embedded systems that require real-time clock functions

Technical Specifications

Module Type DS3231 I2C RTC Module
RTC Chip DS3231
Memory Chip AT24C32 EEPROM
EEPROM Capacity 32Kbit (4KB)
Working Voltage 3.3V–5.5V (listed module specification)
Communication Interface I2C / IIC
I2C Clock Speed Up to 400kHz (subject to connected devices and bus conditions)
RTC Accuracy ±2ppm from 0°C to 40°C (DS3231 chip specification)
Temperature Sensor Accuracy Approximately ±3°C
Time Format 12-hour / 24-hour
Alarm Functions 2 programmable alarms
Backup Battery Holder Coin-cell holder; suitable battery type depends on the board's backup charging circuit
Module Dimensions Approx. 38 x 22 x 14mm

Arduino Uno R3 Wiring Example

Connect the DS3231 RTC module to an Arduino Uno R3 using the I2C interface:

DS3231 Module Arduino Uno R3
SCL A5 (SCL)
SDA A4 (SDA)
VCC 5V
GND GND

Raspberry Pi Connection Notes

The Raspberry Pi uses 3.3V GPIO logic. When connecting this RTC module, ensure that the SDA and SCL signal lines do not receive 5V. If the module's I2C pull-up resistors are connected to VCC, use a suitable 3.3V supply for the module or an appropriate logic-level shifter.

For standard Raspberry Pi 40-pin GPIO headers, I2C SDA is GPIO2 (physical pin 3) and I2C SCL is GPIO3 (physical pin 5). Check your specific Raspberry Pi model and module wiring before powering on.

Important Backup Battery Information

The module has a coin-cell battery holder for RTC backup operation. The backup battery is not included unless stated in the package details.

Important: Some DS3231 module revisions include a charging circuit for a rechargeable LIR2032 cell. A standard CR2032 is a non-rechargeable primary lithium battery and must not be charged. Check the exact PCB revision and backup charging circuit before installing a battery. Do not use a non-rechargeable CR2032 if the module's charging circuit is active.

Frequently Asked Questions

What does the DS3231 RTC module do?

It keeps track of the time and date for a microcontroller or single-board computer. With a suitable backup battery installed, it can maintain timekeeping when the main power supply is disconnected.

Can I use this DS3231 module with Arduino?

Yes. It communicates through I2C. For an Arduino Uno R3, the usual connections are SDA to A4, SCL to A5, VCC to 5V and GND to GND.

Can I use the module with Raspberry Pi?

Yes, but Raspberry Pi GPIO uses 3.3V logic and is not 5V tolerant. Check the module's I2C pull-up voltage and use a suitable 3.3V connection or logic-level shifter when necessary.

Does the module include an AT24C32 memory chip?

The module has an onboard AT24C32 EEPROM with a capacity of 32Kbit (4KB), providing additional non-volatile storage separate from the RTC timekeeping registers.

Does the module come with a CR2032 battery?

The product has a backup coin-cell holder. Battery inclusion and the correct battery chemistry should be checked against the package and exact board revision. Some module versions have a charging circuit that is not suitable for non-rechargeable CR2032 cells.


Explore more Arduino boards and modules and electronic modules for your electronics and DIY projects.

View full details