The latest development version of this page may be more current than this released 3.7.0 version.

Adafruit Data Logger Shield

Overview

The Adafruit Data Logger Shield rev. B features an NXP PCF8523 Real-Time Clock/Calendar with Battery Backup, an SD card interface, two user LEDs, and a prototyping area.

Adafruit Data Logger Shield

Adafruit Data Logger Shield (Credit: Adafruit)

Note

The older revision A of the Adafruit Data Logger Shield is not supported.

Pin Assignments

Shield Connector Pin

Function

D3

User LED1 (green) [1]

D4

User LED2 (red) [1]

D7

PCF8523 RTC INT1 [2]

D10

SD card SPI CS

D11

SD card SPI MOSI

D12

SD card SPI MISO

D13

SD card SPI SCK

SDA

PCF8523 RTC I2C SDA

SCL

PCF8523 RTC I2C SCL

Requirements

This shield can only be used with a board which provides a configuration for Arduino connectors and defines node aliases for SPI and GPIO interfaces (see Shields for more details).

Programming

Set --shield adafruit_data_logger when you invoke west build. For example:

# From the root of the zephyr repository
west build -b frdm_k64f --shield adafruit_data_logger tests/drivers/rtc/rtc_api