SparkFun Thing Plus Dual-Port Logging Shield

We carry several data logging products which have microSD sockets on them: OpenLog Artemis and the Qwiic OpenLog to name but two. They're great for logging data to a microSD card, but when it comes to reading the logged data quickly you usually have to pop out the microSD card and plug it into your computer. But what if you're developing an embedded system and you don't want to or aren't able to eject the microSD card. Enter the SparkFun Thing Plus Dual-Port Logging Shield!

The SparkFun Dual-Port Logging Shield is a Thing Plus/Feather-compatible board which allows you to access your microSD card over both SPI and USB-C. It is designed to be mounted on or under one of our Thing Plus boards. You can log data to and read data from your microSD card over SPI as usual, using your favorite Arduino SD library. But you can also connect it to your computer via USB-C and read and write files at up to 35 MBytes/second! The write speed is card-dependent but, in our tests, we've routinely seen write speeds around 20MB/s.

The SparkFun Dual-Port Logging Shield has an ATtiny841 microcontroller on it to act as an arbiter: If you power up your Thing Plus, the ATtiny841 will automatically put the Dual-Port Logging Shield into SPI mode, so your Arduino code can access the microSD card as normal If you power the Shield from your computer by connecting it via USB-C, the ATtiny841 will put the Shield into SDIO "thumb drive" mode. Your computer can then read and write data really quickly! Finally, if you have both your Thing Plus powered up - and have your computer connected - then you can switch between the two modes by giving the ATtiny841 some very simple commands over I2C!

You can configure the ATtiny to automatically default to SPI mode or SDIO "thumb drive" mode if both power sources are powered up simultaneously. It's your choice!

Note: The USB2241, which provides the USB interface, supports FAT32, exFAT and NTFS on cards up to and including 32GB. Cards larger than 32GB are not supported.

  • Thing Plus / Feather-compatible footprint and breakout pins
  • ATtiny841 microcontroller
    • The ATtiny841 acts as an arbiter and can put the shield into either SPI or SDIO ("thumb drive") mode
  • USB2241 Ultra Fast USB 2.0 Media Controller
    • Supports cards up to 32GB
    • Supports FAT32, exFAT and NTFS
    • Read and write speed: up to 35 MBytes/second (card-dependent)
    • The board includes solder pads for an optional 24C04 I2C EEPROM
  • Push-push microSD socket
  • Simple I2C command set to switch modes and set the default mode
  • Can be powered by:
    • Thing Plus / Feather 3.3V
    • USB-C 5V
    • Or both!
  • Full power control
    • Sleep current (PWR LED disabled): 300 µA
  • Power source voltage sensing
  • Activity LED (for SDIO "thumb drive" mode)
  • Power LED (configurable)

SparkFun Thing Plus Dual-Port Logging Shield Product Help and Resources

New!

Thing Plus Dual-Port Logging Shield Hookup Guide

June 16, 2022

This tutorial shows you how to hook up and use the SparkFun Thing Plus Dual-Port Logging Shield.

Core Skill: Soldering

This skill defines how difficult the soldering is on a particular product. It might be a couple simple solder joints, or require special reflow tools.

1 Soldering

Skill Level: Noob - Some basic soldering is required, but it is limited to a just a few pins, basic through-hole soldering, and couple (if any) polarized components. A basic soldering iron is all you should need.
See all skill levels


Core Skill: Programming

If a board needs code or communicates somehow, you're going to need to know how to program or interface with it. The programming skill is all about communication and code.

2 Programming

Skill Level: Rookie - You will need a better fundamental understand of what code is, and how it works. You will be using beginner-level software and development tools like Arduino. You will be dealing directly with code, but numerous examples and libraries are available. Sensors or shields will communicate with serial or TTL.
See all skill levels


Core Skill: Electrical Prototyping

If it requires power, you need to know how much, what all the pins do, and how to hook it up. You may need to reference datasheets, schematics, and know the ins and outs of electronics.

2 Electrical Prototyping

Skill Level: Rookie - You may be required to know a bit more about the component, such as orientation, or how to hook it up, in addition to power requirements. You will need to understand polarized components.
See all skill levels


Comments

Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

Customer Reviews

No reviews yet.