Need Help? +44 (0) 123 4567
You can add your content here.

Date & Time Modules

Filters
Featured
Popularity
Date
Set Ascending Direction
View as Grid List
20 Items
24
36
48
60

An rtc module keeps real date and time through power loss with battery backup. The main differences are interface, voltage fit, and drift tolerance, not just the chip name. DS3231 is the accuracy-first option at ±2 ppm, about 1 minute per year; DS1307 is the budget family but commonly drifts 20–60 seconds per month; DS1302 is not I2C and uses a 3-wire interface.

  1. 141234
    Timer Module TRM01
    SAVE
    As low as $1.9500
  2. 141234
    Kitten Alarm Clock Module DIY Kit
    SAVE
    As low as $4.7500
24
36
48
60

Do you need an RTC module at all?

Need Best-fit approach Why Relevant product example
Always-online device with reliable Wi-Fi NTP only Wi-Fi/NTP sync gives effectively perfect time and removes RTC drift concerns entirely The WiFi Network Digital Clock syncs hourly over the network and suits always-powered clock use
Offline or unreliable network RTC with battery backup If power loss resets the host clock and the project needs actual date/time, this is the right category For offline timekeeping, see a DS3231 setup for projects that must keep time without a network
Needs correct time immediately at boot before Wi-Fi connects RTC + periodic NTP discipline This hybrid pattern gives correct timestamps at boot, then uses NTP to trim long-term drift on boards such as ESP32
Relative timing only Internal timers or millis() If you only need elapsed time, delays, or intervals, you do not need a real time clock module —
Arduino project with time-stamped storage RTC + SD logging shield Logging needs persistent timestamps, not just a running counter The Arduino Data Logging Shield with RTC combines RTC hardware with SD logging

Internal microcontroller RTCs are much less accurate, often around ±50–500 ppm, and they drift without network sync. External RTC hardware matters most when the device must keep correct date and time across power loss, know the time before Wi-Fi connects, or stay offline for long periods.

Quick chooser: DS3231 vs DS1307 vs DS1302

Family Interface Accuracy in plain language Voltage fit Best for Main trade-off Product example
DS3231 I2C, address 0x68 TCXO-based and rated at ±2 ppm, roughly 1 minute per year; in real use typically under 0.3 ppm, under 0.026 sec/day, across -40°C to +85°C 3.3–5.5V fit, with 2.3–5.5V native operation also commonly specified Accurate long-term clocks, unattended logging, deep-sleep alarms, and 3.3V hosts such as ESP8266 and ESP32 Higher cost than basic RTC families; no battery-backed SRAM —
DS1307 I2C, address 0x68 Commonly drifts 20–60 sec/month and can drift 5 minutes per month or more in practice because it lacks temperature compensation 4.5–5.5V for reliable operation; 5V-native Low-cost 5V Arduino builds where drift is acceptable, or projects that specifically want 56 bytes of battery-backed SRAM Poor fit for 3.3V systems and accuracy-critical builds WeMos D1 Mini DS1307 RTC Shield
DS1302 3-wire serial with CLK, DAT, and RST Basic RTC performance, but this family is usually chosen for interface compatibility rather than accuracy Depends on module design; not the default choice for mixed-voltage I2C systems Legacy designs, tutorials, and simple builds that already expect DS1302 libraries Not I2C, less interchangeable with common RTC code, and less convenient on shared sensor buses DS1302 RTC Module
PCF8563 I2C, address 0x51 Lower accuracy than DS3231; typically chosen for address or low-power reasons, not precision 3.3V-friendly family Alternative when 0x68 is already occupied or when you specifically want a different I2C address Not represented by a product here, and not an accuracy-first option —

DS1307 has one strong reason to be chosen on purpose: 56 bytes of battery-backed SRAM. DS3231 does not include SRAM, but it adds alarms and a temperature sensor. That makes it the right rtc clock module for logging, unattended deployments, and wake-from-sleep designs.

If you want the 3-wire route, the DS1302 board with 31 bytes of scratchpad RAM and 12/24-hour modes is the concrete example here, and wiring a 3-wire DS1302 in place of an I2C RTC covers the next step.

For Arduino logging rather than standalone timekeeping, the Arduino Data Logging Shield with RTC is the better fit because it is built around persistent, time-stamped SD storage.

Compatibility checklist for RTC modules: 3.3V, I2C pull-ups, backup batteries, and wake pins

  • For ESP32, ESP8266, RP2040, and Raspberry Pi boards, DS3231 is the safer default because it runs natively at 3.3–5.5V.
  • DS1307 is 5V-native and may need a level shifter, or a 5V supply with 3.3V I2C pull-ups, when used with 3.3V microcontrollers.
  • If you are shopping for an i2c rtc module, DS1302 is not one. The DS1302 RTC Module uses a serial interface with three control pins and includes CR2032 battery backup.
  • Most RTC breakout boards include pull-up resistors, but ESP32 and ESP8266 setups often communicate more reliably with external 3.3k–4.7k pull-ups.
  • INT/SQW is an open-drain pin, so it needs a pull-up resistor to your MCU voltage, typically 4.7k–10k, if you want alarm interrupt or deep-sleep wake behavior.
  • Battery backup mode keeps the oscillator alive on VBAT, but I2C is inactive while the module is running on battery only.
  • CR2032 is a non-rechargeable 3V coin cell. LIR2032 is a rechargeable 3.6V coin cell.
  • Typical CR2032 backup life is about 2–3 years when the module is powered less than 30% of the time, so battery access still matters in the enclosure.
  • The WeMos D1 Mini DS1307 RTC Shield is built for WeMos D1 Mini systems and uses a CR1220 backup battery slot at address 0x68.
  • The Arduino Data Logging Shield with RTC includes CR1220 backup and 3.3V level shifting for SD-card safety, which makes it a better real time clock battery module choice when logging is the real goal.
  • If you knowingly want a DS1307-based board, DS1307 wiring and setup basics covers the usual integration steps.

Product examples for RTC modules by project type

Project type Best-fit product example Why it fits Main trade-off
Arduino data logging Arduino Data Logging Shield with RTC Adds SD card support with FAT16/32, CR1220 battery backup, and an onboard prototyping area, so it suits time-stamped storage better than a bare RTC add-on. It is the natural match when you are pairing an RTC with Arduino boards. ADK giant R2 is not supported or has low support
Compact WeMos add-on WeMos D1 Mini DS1307 RTC Shield Designed for WeMos D1 Mini, uses I2C address 0x68, and provides a CR1220 backup slot, so the shield format is the reason to choose it It is still a DS1307-based board, so voltage and drift limits remain
3-wire legacy or learning build DS1302 RTC Module Uses a serial I/O interface with three control pins and includes 31 bytes of internal scratchpad RAM, so it fits only when the project expects DS1302 or 3-wire support Wrong choice for standard I2C RTC code and shared I2C buses
DIY clock kit Kitten DIY Alarm Clock Kit Includes DS1302 timekeeping, a 4-digit 7-segment display with 60 LEDs, a temperature thermistor, and a photoresistor, so it is more complete for learning and clock-building than for embedded logging Requires full assembly
Finished network clock WiFi Network Digital Clock Uses hourly automatic network time synchronization, a 0.8-inch display, and 8 brightness levels with automatic day/night dimming, so it is better for a finished display clock than MCU integration It synchronizes specifically with Beijing time, so it is not the right pick when you need arbitrary timezone control

If you are building a simple Arduino clock and want a beginner-friendly route after choosing the hardware, setting and using a basic RTC in an Arduino clock project is the practical next step.

FAQs on Date & Time Modules

Is DS3231 or DS1307 the better choice?

DS3231 is the more accurate choice at ±2 ppm, about 1 minute per year, while DS1307 is a budget option that commonly drifts 20–60 seconds per month or more. Choose DS3231 when timestamps, clock accuracy, or unattended runtime matter; choose DS1307 only when cost or its small battery-backed SRAM is the deciding factor.

What is the difference between CR2032 and LIR2032?

CR2032 is a non-rechargeable 3V coin cell, while LIR2032 is a rechargeable 3.6V cell; charging-style RTC boards are the reason the difference matters. If a board is designed to charge the backup cell, using the wrong chemistry can shorten battery life or damage the cell.

Will DS1307 work with ESP32?

DS1307 is 5V-native and may need a level shifter or 5V supply with 3.3V I2C pull-ups, while DS3231 works natively from 3.3–5.5V. For an RTC for ESP32, DS3231 is the simpler and safer fit because it avoids the voltage mismatch.

What I2C address do these RTCs use?

DS1307 and DS3231 use I2C address 0x68, PCF8563 uses 0x51, and DS1302 is not I2C at all. That matters when you are picking libraries, sharing a bus with other sensors, or avoiding an address conflict before you buy.

Can DS3231 wake a microcontroller from deep sleep?

DS3231 can wake a microcontroller through the INT/SQW pin, which must be connected to an interrupt-capable GPIO and used with alarm flags cleared after wake. This is the feature to look for when the RTC is part of a scheduled wake design rather than just timestamp retention.

What does battery backup actually keep running?

Battery backup keeps the oscillator running on VBAT, but I2C communication is inactive while the module is on battery only. In practice, the RTC preserves time during power loss, then becomes readable again when main power returns.

How long does the backup battery usually last?

A CR2032 backup battery typically lasts about 2–3 years when the module is powered less than 30% of the time, and included batteries are often low quality. If the project will be sealed into an enclosure, plan for battery access instead of assuming the first cell will last the life of the build.

Glossary

TCXO
A temperature-compensated crystal oscillator that keeps an RTC much closer to true time across temperature changes, which is why DS3231 is more accurate than DS1307.
PPM
Parts per million, the accuracy unit that translates into real drift such as about 1 minute per year at 2 ppm.
CR2032 vs LIR2032
CR2032 is a non-rechargeable 3V coin cell, while LIR2032 is a rechargeable 3.6V version, and choosing the wrong one can create charging and safety problems.
INT/SQW pin
The RTC pin used either for square-wave output or alarm interrupt, and the one that matters for wake-from-sleep designs.
VBAT
The backup-battery supply input that keeps the clock running when main power is off.
Level shifter
A circuit used to safely connect 5V logic, such as a DS1307 setup, to a 3.3V microcontroller.
To Top
Help
Shop
Account
0 Cart