Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use Adafruit Adalogger FeatherWing: Examples, Pinouts, and Specs

Image of Adafruit Adalogger FeatherWing
Cirkit Designer LogoDesign with Adafruit Adalogger FeatherWing in Cirkit Designer

Introduction

The Adafruit Adalogger FeatherWing is a compact, easy-to-use data logging module designed for a wide range of applications. It is particularly useful for projects that require the logging of sensor data over time, such as environmental monitoring, weather stations, or tracking system performance. With its onboard real-time clock (RTC) and SD card slot, the Adalogger FeatherWing provides accurate timestamping and large storage capacity for your data.

Explore Projects Built with Adafruit Adalogger FeatherWing

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Solar-Powered Environmental Data Logger with Adafruit Feather M0 Express
Image of Lake Thoreau Monitoring Station: A project utilizing Adafruit Adalogger FeatherWing in a practical application
This circuit is designed for environmental data collection and logging, utilizing an Adafruit Feather M0 Express microcontroller as the central processing unit. It interfaces with a BME280 sensor for atmospheric temperature, humidity, and pressure measurements, an SGP30 sensor for monitoring air quality (eCO2 and TVOC), and a STEMMA soil sensor for detecting soil moisture and temperature. The system is powered by a solar panel and a 3.7v LiPo battery, managed by an Adafruit BQ24074 Solar-DC-USB Lipo Charger, and provides easy access to the microcontroller's connections through an Adafruit Terminal Breakout FeatherWing.
Cirkit Designer LogoOpen Project in Cirkit Designer
Multi-Sensor Health Monitoring System with Adafruit Feather M0 Adalogger
Image of health tracker: A project utilizing Adafruit Adalogger FeatherWing in a practical application
This circuit is designed to interface multiple sensors with an Adafruit Feather M0 Adalogger microcontroller for data logging purposes. The sensors include a MAX30205 temperature sensor, a body dehydration sensor, a MAX30102 pulse oximeter, an Adafruit LSM6DSOX 6-axis accelerometer and gyroscope, and an Adafruit BME680 environmental sensor. All sensors are connected to the microcontroller via an I2C bus, sharing the SDA and SCL lines for communication.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Vibration Feedback System with Quad Alphanumeric Display and ADXL343 Accelerometer
Image of EC444 - Quest 3: A project utilizing Adafruit Adalogger FeatherWing in a practical application
This circuit features an Adafruit HUZZAH32 ESP32 Feather board as the central microcontroller, which is connected to an Adafruit Quad AlphaNumeric Featherwing display and an Adafruit ADXL343 accelerometer via I2C communication (SCL and SDA lines). The ESP32 controls a vibration motor connected to one of its GPIO pins (A5_IO4) and shares a common power supply (3.3V) and ground (GND) with the other components. The purpose of this circuit is likely to read acceleration data, display information on the alphanumeric display, and provide haptic feedback through the vibration motor.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO and OLED FeatherWing Display: Battery-Powered Hello World Project
Image of ARDUINO_SSD1306: A project utilizing Adafruit Adalogger FeatherWing in a practical application
This circuit consists of an Arduino UNO connected to an Adafruit OLED FeatherWing display via I2C communication (SDA and SCL lines). The Arduino is powered through a Vcc source and provides 3.3V and GND connections to the OLED display. The Arduino runs a program to display 'Hello, World!' on the OLED screen.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Adafruit Adalogger FeatherWing

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Lake Thoreau Monitoring Station: A project utilizing Adafruit Adalogger FeatherWing in a practical application
Solar-Powered Environmental Data Logger with Adafruit Feather M0 Express
This circuit is designed for environmental data collection and logging, utilizing an Adafruit Feather M0 Express microcontroller as the central processing unit. It interfaces with a BME280 sensor for atmospheric temperature, humidity, and pressure measurements, an SGP30 sensor for monitoring air quality (eCO2 and TVOC), and a STEMMA soil sensor for detecting soil moisture and temperature. The system is powered by a solar panel and a 3.7v LiPo battery, managed by an Adafruit BQ24074 Solar-DC-USB Lipo Charger, and provides easy access to the microcontroller's connections through an Adafruit Terminal Breakout FeatherWing.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of health tracker: A project utilizing Adafruit Adalogger FeatherWing in a practical application
Multi-Sensor Health Monitoring System with Adafruit Feather M0 Adalogger
This circuit is designed to interface multiple sensors with an Adafruit Feather M0 Adalogger microcontroller for data logging purposes. The sensors include a MAX30205 temperature sensor, a body dehydration sensor, a MAX30102 pulse oximeter, an Adafruit LSM6DSOX 6-axis accelerometer and gyroscope, and an Adafruit BME680 environmental sensor. All sensors are connected to the microcontroller via an I2C bus, sharing the SDA and SCL lines for communication.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of EC444 - Quest 3: A project utilizing Adafruit Adalogger FeatherWing in a practical application
ESP32-Based Vibration Feedback System with Quad Alphanumeric Display and ADXL343 Accelerometer
This circuit features an Adafruit HUZZAH32 ESP32 Feather board as the central microcontroller, which is connected to an Adafruit Quad AlphaNumeric Featherwing display and an Adafruit ADXL343 accelerometer via I2C communication (SCL and SDA lines). The ESP32 controls a vibration motor connected to one of its GPIO pins (A5_IO4) and shares a common power supply (3.3V) and ground (GND) with the other components. The purpose of this circuit is likely to read acceleration data, display information on the alphanumeric display, and provide haptic feedback through the vibration motor.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of ARDUINO_SSD1306: A project utilizing Adafruit Adalogger FeatherWing in a practical application
Arduino UNO and OLED FeatherWing Display: Battery-Powered Hello World Project
This circuit consists of an Arduino UNO connected to an Adafruit OLED FeatherWing display via I2C communication (SDA and SCL lines). The Arduino is powered through a Vcc source and provides 3.3V and GND connections to the OLED display. The Arduino runs a program to display 'Hello, World!' on the OLED screen.
Cirkit Designer LogoOpen Project in Cirkit Designer

Technical Specifications

Key Features

  • SD Card Slot: Supports standard and high capacity SD cards for data storage.
  • Real-Time Clock (RTC): With a CR1220 coin cell battery (not included), the RTC keeps time even when the power is disconnected.
  • I2C Interface: Allows for easy communication with a wide range of sensors and devices.
  • Compatibility: Designed to work with Adafruit Feather boards but can be used with other microcontrollers via the I2C interface.

Electrical Characteristics

  • Operating Voltage: 3.3V (from Feather board)
  • Logic Level: 3.3V compatible
  • Battery for RTC: CR1220 3V coin cell (not included)

Pin Configuration

Pin Number Description
1 GND (Ground)
2 3V (3.3V power from Feather)
3 SCL (I2C clock)
4 SDA (I2C data)
5 #CS (Chip Select for SD)
6 SCK (SPI clock for SD)
7 MISO (SPI MISO for SD)
8 MOSI (SPI MOSI for SD)

Usage Instructions

Connecting to a Feather Board

  1. Align the headers of the Adalogger FeatherWing with the corresponding pins on your Feather board.
  2. Solder the headers to ensure a secure and reliable connection.
  3. Insert a formatted SD card into the SD card slot.
  4. If using the RTC, insert a CR1220 coin cell battery into the battery holder.

Programming for Data Logging

To use the Adalogger FeatherWing with an Arduino UNO, you will need to include the appropriate libraries for SD card and RTC functionality. Below is a sample code snippet that initializes both the SD card and RTC and writes a simple message with a timestamp to a file:

#include <SPI.h>
#include <SD.h>
#include <Wire.h>
#include <RTClib.h>

RTC_PCF8523 rtc; // Create an RTC object
File dataFile;

void setup() {
  Serial.begin(9600);
  
  // Initialize the RTC
  if (!rtc.begin()) {
    Serial.println("Couldn't find RTC");
    while (1);
  }
  
  // Initialize the SD card
  if (!SD.begin(5)) { // Chip Select pin for the SD card is 5
    Serial.println("Initialization failed!");
    return;
  }
  
  // Create or open the data file
  dataFile = SD.open("datalog.txt", FILE_WRITE);
  
  // Check if the file opened successfully
  if (!dataFile) {
    Serial.println("Error opening datalog.txt");
    return;
  }
  
  // Write a header for our data
  dataFile.println("Date,Time,Data");
}

void loop() {
  DateTime now = rtc.now(); // Get the current date and time
  dataFile.print(now.year(), DEC);
  dataFile.print('/');
  dataFile.print(now.month(), DEC);
  dataFile.print('/');
  dataFile.print(now.day(), DEC);
  dataFile.print(',');
  dataFile.print(now.hour(), DEC);
  dataFile.print(':');
  dataFile.print(now.minute(), DEC);
  dataFile.print(':');
  dataFile.print(now.second(), DEC);
  dataFile.print(',');
  
  // Replace this with actual sensor data
  dataFile.println("Sensor Data");
  
  dataFile.close(); // Close the file to save the data
  
  // Wait for 1 second before the next loop
  delay(1000);
}

Important Considerations and Best Practices

  • Always safely eject the SD card from your computer before removing it.
  • Ensure the RTC battery is installed correctly with the positive side facing up.
  • Use a level shifter if you are interfacing with a 5V microcontroller to avoid damaging the 3.3V logic of the Adalogger FeatherWing.

Troubleshooting and FAQs

Common Issues

  • SD Card Not Recognized: Ensure the SD card is formatted correctly (FAT32) and properly inserted into the slot.
  • Incorrect Timestamps: Verify the RTC battery is installed and the RTC has been set with the correct time.
  • Data Not Logging: Check the file opening and writing code for errors, and ensure the SD card has sufficient free space.

FAQs

Q: Can I use the Adalogger FeatherWing with a 5V microcontroller? A: Yes, but you will need to use a level shifter to convert the 5V signals to 3.3V to avoid damaging the board.

Q: How do I set the time on the RTC? A: You can set the time on the RTC using the rtc.adjust(DateTime(__DATE__, __TIME__)); function in your setup code.

Q: What is the maximum size of SD card supported? A: The Adalogger FeatherWing supports SD cards up to 32GB formatted with the FAT32 file system.

For further assistance, consult the Adafruit forums or the detailed guides available on the Adafruit Learning System.