The SparkFun microSD Shield communicates with microSD cards via an SPI interface. The SCK, DI, and DO pins of the microSD socket are connected to the ATmega168/328's standard SPI pins (digital 11-13), and the CS pin is linked to Arduino's D8 pin. To use one of the many available open source FAT libraries, such as FAT16 or SDFat, the code will need to be modified to reflect the CS pin's location.
In most libraries, the CS pin is assumed to be connected to D10, but this will need to be changed to D8. Furthermore, to ensure the libraries function correctly, pin D8 must be set as an output in the 'setup()' section of your sketch. The shield also features a large prototyping area with a 13x12 grid of 2.54mm pitch PTHs.
The SparkFun microSD Shield comes with a microSD socket, a red power indicator LED, and a reset button. However, it does not include headers. The Arduino R3 Stackable Header Kit is recommended for this purpose.
Documents:
Brand | Sparkfun |
Model | DEV-12761 |
More info | MicroSD Shield and SD Breakout Hookup Guide - SparkFun Learn |
Length | 80 mm |
Width | 100 mm |
Height | 5 mm |
Weight | 38 g |