XD-204 Data Logger Shield with DS1307 RTC & SD Card Reader for Arduino UNO is a dedicated environmental and industrial data-logging expansion shield engineered for Arduino UNO R3, Leonardo, and Mega 2560 boards. Furthermore, it integrates a full-size FAT16/FAT32 SD card slot with 3.3V logic-level shifting, a Maxim DS1307 I2C Real-Time Clock (RTC) with 32.768 kHz crystal and CR1220 coin-cell backup holder, and a central perfboard prototyping grid. Therefore, standalone battery-powered Arduino stations can record millions of accurately timestamped CSV sensor measurements even when disconnected from a PC or internet network.
Key Features:
- Integrated DS1307 Real-Time Clock (RTC): Hardware I2C clock/calendar IC tracks seconds, minutes, hours, day, date, month, and year with leap-year compensation up to 2100.
- CR1220 Coin-Cell Battery Backup Holder: Maintains accurate timekeeping for years whenever main Arduino power is interrupted or cycled.
- 3.3V Buffered SD Card Interface: Onboard 3.3V LDO regulator and 74HC125 CMOS logic-level shifter safely interface 5V Arduino SPI signals with 3.3V SD/SDHC memory cards.
- Central Solder Prototyping Perfboard Area: Plated 2.54mm through-hole grid in the center of the shield lets users solder conditioning resistors, I2C pull-ups, and sensor headers directly onto the shield.
- Pass-Through Stackable R3 Headers: Preserves full access to all Arduino digital and analog pins plus an onboard reset button and two user-assignable indicator LEDs (`L1, L2`).
Technical Specifications:
- RTC Integrated Circuit: Maxim DS1307 I2C Real-Time Clock (7-Bit I2C Address: `0x68`)
- RTC Backup Battery Type: 1 × CR1220 3V Lithium Coin Cell (Socket Onboard)
- Storage Media Support: Standard SD / SDHC Cards formatted as FAT16 or FAT32 (Up to 32GB via Arduino `SD.h` / `SdFat.h`)
- SD Card Logic Shifter: 74HC125D Quad Bus Buffer + AMS1117-3.3V Dedicated Regulator
- SPI Chip Select (CS) Pin: Digital Pin `D10` (`D11 MOSI, D12 MISO, D13 SCK`)
- I2C RTC Pins: `A4 (SDA)` and `A5 (SCL)` (plus dedicated top R3 `SDA/SCL` pins)
- Operating Supply Voltage: 5.0V DC (Drawn from Host Arduino 5V Rail)
Mechanical Specifications:
- PCB Form Factor: Standard Arduino UNO R3 Stackable Shield Footprint
- SD Socket Mechanism: Spring-Loaded Push-Push Metal Full-Size SD Card Receptacle
- Prototyping Grid: 10 × 11 Plated Through-Hole Solder Matrix (2.54mm Pitch)
Dimensions:
- Length: 68.6 mm
- Width: 53.4 mm
- Height: 19.0 mm (Including Stackable Headers)
- Weight: ≈ 22 g
Pinout and Wiring:
- SD Card SPI Bus (`D10–D13`): Uses `D10` as `CS` (Chip Select), `D11` as `MOSI`, `D12` as `MISO`, and `D13` as `SCK`.
- DS1307 RTC I2C Bus (`A4 / A5`): Communicates over `A4 (SDA)` and `A5 (SCL)` using the Adafruit `RTClib` library.
- User LEDs (`L1 / L2`) & Card Detect (`CD`): Breakout pads next to the prototyping area allow wiring `L1` and `L2` status LEDs to any free digital pin.
- Engineering Precaution: Always initialize the SPI Chip Select pin with `SD.begin(10)` in your Arduino sketch (as the XD-204 routes SD CS to `D10` rather than the Ethernet shield’s `D4`), and install a 3V CR1220 battery before setting the DS1307 time so the RTC oscillator starts running.
Datasheet Reference:
Commonly Used in:
- Unattended Weather Stations, Soil Moisture Loggers, and Solar Irradiance Recorders
- Cold-Chain Temperature Auditing & Industrial Vibration/Power Data Loggers
- Automotive & Robotics Black-Box Telemetry Recorders
Applications:
- Timestamped CSV Sensor Logging: Writes comma-separated (`YYYY-MM-DD,HH:MM:SS,Temp,Humidity`) records to an SD card ready for immediate opening in Microsoft Excel or Python Pandas.
- Time-Scheduled Automation: Triggers irrigation valves, aquarium lights, or sampling pumps at exact wall-clock hours using the DS1307 RTC alarm logic.
- Custom Sensor Daughterboard: Solders terminal blocks or sensor dividers directly onto the central perfboard grid for a rugged 1-piece field unit.
Equivalent Models:
- Standalone Micro-SD Card Module + DS3231 RTC Module: Two separate breakout boards requiring 8+ jumper wires, whereas the XD-204 combines both functions on a single plug-in UNO shield.
- W5100 Ethernet Shield with Micro-SD Slot: Adds wired LAN + Micro-SD storage, although it lacks an onboard battery-backed Real-Time Clock (RTC).
- OpenLog Serial Data Logger: Compact UART-to-microSD logger without an onboard DS1307 RTC or UNO shield headers.
Package Includes:
- 1 × XD-204 Data Logger Shield with DS1307 RTC & SD Card Reader for Arduino UNO

Reviews
No reviews yet. Be the first to share your experience!