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 (Ed: or many other Feather compatible microcontroller 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!
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.
See more on the SparkFun product page. And see Adafruit’s and SparkFun’s Feather processor boards. And read more about Feather on Awesome-Feather.