sdcardio is an SPI interface SD card library in CircuitPython 6.0 that is optimized in C to be much faster than the original adafruit_sdcard library. Some much smaller/older boards don't have enough memory for this module, in which case you will have to use adafruit_sdcard

With all its built-in sensors and battery power, the Feather M4 Sense is great for data-logging projects. Stacking headers or FeatherWing Doublers need a little soldering but no custom wiring.

  • Plug the FeatherWing into the Feather.

You can also place them side by side on a FeatherWing Doubler.

Don't forget that the Adalogger FeatherWing has a Real Time Clock (RTC) so you can even timestamp your logs!

To mount the SD card, use the following code.  Remember, to put it in the file on CIRCUITPY so you can easily call it from or the REPL with import mount_sd.

import board
import busio
import sdcardio
import storage

spi = board.SPI()
cs = board.D10

sdcard = sdcardio.SDCard(spi, cs)
vfs = storage.VfsFat(sdcard)
storage.mount(vfs, "/sd")
The Adafruit Feather Bluefruit Sense takes our popular Feather nRF52840 Express and adds a smorgasbord of sensors...
Out of Stock
A Feather board without ambition is a Feather board without FeatherWings! This is the Adalogger FeatherWing: it adds both a battery-backed Real Time Clock and micro SD...
In Stock
This is the FeatherWing Doubler - a prototyping add-on and more for all Feather boards. This is similar to our
In Stock
These two Female Stacking Headers alone are, well, lonely. But pair them with any of our Feather boards and...
In Stock
These are the highest quality & capacity batteries, the same as shipped with the iCufflinks, iNecklace, Datalogging and GPS Shields, GPS HAT, etc. One battery per order...
In Stock
Add mega-storage in a jiffy using this 8 GB class 4 micro-SD card. It comes with a SD adapter so you can use it with any of our shields or adapters. Preformatted to FAT so it works out...
In Stock

This guide was first published on Jul 31, 2020. It was last updated on Jul 31, 2020.

This page (Feather Sense + Adalogger FeatherWing) was last updated on May 13, 2022.

Text editor powered by tinymce.