DS3231 Real-Time Clock Module - I2C RTC with Battery Backup
DS3231 Real-Time Clock Module (RTC) – Accurate I2C RTC with Battery Backup
The DS3231 is a precision real-time clock module designed for microcontrollers like Arduino and Raspberry Pi. It keeps accurate time even when the main device is powered off, thanks to a built-in temperature-compensated crystal oscillator (TCXO) and a coin cell battery backup. Ideal for data logging, timers, and any project requiring reliable timekeeping.
Key Specifications
| Specification | Value |
|---|---|
| Chip | DS3231 |
| Interface | I2C (address 0x68) |
| Supply Voltage | 3.3V to 5.5V |
| Battery Backup | CR2032 (battery not included) |
| Accuracy | ±2ppm (~1 minute/year) |
| Dimensions | ~25mm x 25mm |
What You Can Build With This
- Digital clock display on an LCD or OLED screen
- Data logger with timestamp for sensor readings
- Automated timer for home appliances or irrigation systems
- Scheduling events in IoT projects or alarms
Compatibility
Works with any microcontroller that supports I2C, including Arduino Uno, Mega, Nano, Raspberry Pi, ESP32, and STM32. Operates at both 3.3V and 5V logic levels, making it easy to interface with a wide range of boards.
Wiring Notes
Connect SDA to your board's SDA pin (A4 on Arduino Uno), SCL to SCL (A5), VCC to 5V (or 3.3V) and GND to GND. The module includes pull-up resistors, so no external ones are needed. Insert a CR2032 battery in the holder for backup timekeeping when main power is off.
Why Buy from Compoden
Every component is sourced from verified suppliers and tested for compatibility before listing. We've spent 10 years building projects for makers, schools, and institutions across India. Ships from Bengaluru in 3-5 days. If defective on arrival, replace within 7 days.
Is this compatible with Arduino Uno?
Yes, the DS3231 works seamlessly with Arduino Uno using the Wire library. Just connect the four pins and use an RTC library like RTClib.
Does it include the battery?
The module includes a battery holder but the CR2032 coin cell battery is sold separately to comply with shipping regulations.
What is the accuracy of the clock?
The DS3231 has an accuracy of ±2ppm, which translates to about ±1 minute per year, thanks to its temperature-compensated crystal oscillator.
📦 Free Setup Handoff Document Included
Every Compoden order includes a free setup handoff document — step-by-step instructions to get your component working within minutes. Download it via QR code on your package. The handoff document is also trained to help you troubleshoot the majority of problems.
What you can build with this
Shipping Information
- Prepaid Orders: ₹75 for orders up to ₹999, FREE shipping above ₹999
- COD Orders: ₹125 shipping + ₹50 COD fee = ₹175 total
- Delivery Timeline: Dispatch in 1-2 days, delivery in 2-7 days depending on location
Returns & Warranty
- 7-Day Return: Manufacturing defects only (approval required)
- Warranty: 7 days from delivery
- Non-Returnable: Batteries, consumables, cut wires, clearance items