DS1302 Real Time Clock Module RTC Digital Clock Board with Backup Coin Cell Holder, 3-Wire Serial Interface, SMD Version for Arduino AVR ARM PIC Microcontroller Projects
More options
This DS1302 Real Time Clock Module is a compact RTC breakout designed to add calendar and timekeeping capability to microcontroller projects. It is commonly used with Arduino and other platforms (AVR, ARM, PIC) where you need persistent time even when the main system is powered off. The module uses the DS1302 RTC IC and exposes a simple 3-wire serial interface, making it easy to connect to GPIO pins without requiring a dedicated I2C bus. A coin cell holder on the PCB provides backup power so the RTC can continue running when VCC is removed (exact supported coin cell type and included battery vary by seller/module revision).
- Arduino-based clocks, timers, and scheduled switching
- Data loggers requiring time-stamped measurements (temperature, humidity, power usage, etc.)
- Automation controllers that must keep time during outages
- Attendance/time tracking prototypes and embedded UI clocks
- Robotics projects needing time-based events and maintenance intervals
Full description
Overview
This DS1302 Real Time Clock Module is a compact RTC breakout designed to add calendar and timekeeping capability to microcontroller projects. It is commonly used with Arduino and other platforms (AVR, ARM, PIC) where you need persistent time even when the main system is powered off. The module uses the DS1302 RTC IC and exposes a simple 3-wire serial interface, making it easy to connect to GPIO pins without requiring a dedicated I2C bus. A coin cell holder on the PCB provides backup power so the RTC can continue running when VCC is removed (exact supported coin cell type and included battery vary by seller/module revision).
Technical Details
The DS1302 communicates using a 3-wire synchronous serial protocol typically consisting of:
- RST (also called CE): chip enable / transaction framing
- CLK (SCLK): serial clock driven by the host MCU
- DAT (I/O): bidirectional data line for reads and writes
Unlike I2C, the DS1302 uses a dedicated enable line and a bidirectional data pin, which can be advantageous when you want deterministic timing and simple bit-banged control on almost any microcontroller. The module breaks out these signals as clearly labeled pins (VCC, GND, CLK, DAT, RST), reducing wiring mistakes during prototyping.
The onboard coin cell holder supplies backup power to the RTC when the main supply is absent. In typical RTC designs, the chip automatically switches to backup supply when VCC drops, preserving time and date registers. Backup retention time depends on coin cell capacity, RTC load current, and temperature; real-world results vary by module revision and battery condition.
Specifications
- RTC IC: DS1302 (SMD package on this module)
- Interface: 3-wire serial (CLK, DAT, RST/CE)
- Logic level: depends on supply voltage used; ensure MCU GPIO levels match the module’s VCC (check datasheet and your module revision)
- Power input: VCC and GND pins (exact operating voltage range varies by module revision; verify against DS1302 datasheet and board markings)
- Backup power: onboard coin cell holder (battery type varies by module revision; commonly CR2032-style holders are used—confirm by inspection)
- PCB: compact module with mounting holes (dimensions vary by module revision)
- Pin labels (as shown on typical boards): VCC, GND, CLK, DAT, RST
Applications
- Arduino-based clocks, timers, and scheduled switching
- Data loggers requiring time-stamped measurements (temperature, humidity, power usage, etc.)
- Automation controllers that must keep time during outages
- Attendance/time tracking prototypes and embedded UI clocks
- Robotics projects needing time-based events and maintenance intervals
Integration Notes
- Connect VCC and GND to your system power and ground. Use a stable supply and good grounding to reduce timekeeping errors caused by noise.
- Connect CLK, DAT, and RST to available digital GPIO pins. DAT is bidirectional; configure your MCU pin direction appropriately during read/write cycles.
- Use a DS1302-compatible library for your platform. Many Arduino libraries support DS1302 and handle register formatting for time/date.
- Install a compatible coin cell in the holder for backup operation. If your module ships with a battery, verify its voltage before use.
- If you experience unreliable communication, keep wires short, avoid breadboard contact issues, and consider adding decoupling near VCC (some boards include it; others vary by revision).
Included Components
1x DS1302 RTC Module (SMD) with coin cell holder
No reviews yet — be the first.
Honest takes from buyers who built with this part.
Write a review
No questions yet.
Ask anything — the team and other customers will reply.
Ask a question
Starter Bundle Builder
Works With
Find more compatible parts
Will update soon.
Will update soon.
Related
Will update soon.
Will update soon.