DIYables DS3231 RTC Real Time Clock Module

Real Time Clocks
Buy on Amazon
DS3231 RTC real time clock module I2C high precision for Arduino ESP32 Click to zoom
DS3231 RTC real time clock module I2C high precision for Arduino ESP32DS3231 real time clock module with CR2032 battery holder for timekeepingRTC module DS3231 pinout showing I2C interface VCC GND SCL SDA pins

Quick Overview

This DIYables DS3231 real time clock module set includes two high-precision RTC modules with I2C interface for accurate timekeeping in microcontroller projects. The DS3231 features a temperature-compensated crystal oscillator (TCXO) that maintains accuracy of ±2 ppm (approximately ±1 minute per year).

Each module connects via I2C (SCL, SDA) and operates on 3.3V to 5.5V, making it compatible with most microcontrollers. The onboard CR2032 battery holder (battery not included) maintains time even when main power is disconnected, perfect for data loggers, clocks, and alarm systems.

The DS3231 provides seconds, minutes, hours, day, date, month, and year information with automatic leap year compensation. Compatible with Arduino, ESP32, ESP8266, Raspberry Pi, and popular RTC libraries for easy integration.

Key Features

  • Two RTC Modules Included — Complete set with 2 high-precision DS3231 modules
  • High Precision Timekeeping — TCXO accuracy of ±2 ppm (±1 minute per year)
  • I2C Interface — Simple 4-wire connection (VCC, GND, SCL, SDA)
  • Battery Backup — CR2032 holder maintains time when power is disconnected
  • Wide Voltage Range — Operates on 3.3V to 5.5V for broad compatibility
  • Complete Date/Time — Tracks seconds, minutes, hours, day, date, month, year
  • Automatic Leap Year — Built-in leap year compensation through 2100
  • Temperature Compensation — TCXO maintains accuracy across temperature changes
  • Low Power Consumption — Efficient operation suitable for battery-powered projects
  • Versatile Applications — Digital clocks, data loggers, alarm systems, and automation

SPECIFICATION

Specification Value
Product Type Real Time Clock Module
Quantity 2 modules
RTC Chip DS3231
Accuracy ±2 ppm (±1 minute per year)
Oscillator Temperature-compensated crystal (TCXO)
Interface I2C (SCL, SDA)
I2C Address 0x68 (default)
Operating Voltage 3.3V to 5.5V DC
Backup Battery CR2032 (not included)
Timekeeping Seconds, minutes, hours, day, date, month, year
Leap Year Compensation Automatic (valid through 2100)
Alarm Functions Two programmable alarms
Square Wave Output 1Hz to 32kHz (configurable)
Temperature Sensor Built-in (±3°C accuracy)

COMPATIBLE HARDWARE

  • Arduino boards (UNO, Mega, Nano, etc.) — I2C pins required
  • ESP32 development boards — I2C support
  • ESP8266 boards (NodeMCU, Wemos D1, etc.) — I2C pins
  • Raspberry Pi (all models) — I2C interface
  • Raspberry Pi Pico — I2C capability
  • Any 3.3V or 5V microcontroller with I2C support