Description: Running out of memory space in your Arduino project? The SparkFun microSD Shield equips your Arduino with mass-storage capability, so you can use it for data-logging or other related projects.
Communication with microSD cards is achieved over an SPI interface. The SCK, DI, and DO pins of the microSD socket are broken out to the ATmega168/328’s standard SPI pins (digital 11-13), while the CS pin is broken out to Arduino’s D8 pin. If you decide to use one of the many open source FAT libraries (like FAT16 or SDFat) make sure to change the code to reflect the location of the CS pin.
Most libraries assume the CS pin is connected to D10; this will have to be changed to D8. Also for the libraries to work pin D8 will have to be set as an output in the ‘setup()’ section of your sketch. The shield also includes a large prototyping area with a 13x12 grid of 0.1" pitch PTHs.
This shield comes populated with a microSD socket, red power indicator LED, and a reset button; but it does not come with headers installed. We recommend the Arduino R3 Stackable Header Kit.
Based on 6 ratings:
4 of 4 found this helpful:
Using the stackable header kit, the micro SD shield does not seat correctly on the UNO-R3. The back of the unit (roughly where the Sparkfun logo is shown on the shield) hits the back of the USB port. I used a dremmel tool to cut a 1/8" notch on the board to accommodate the USB port, but the other side (where the work “Power” appears) hit the power port for the barrel power plug. I ended up setting the whole unit about 1/8" higher to get it to sit straight. This creates a stability problem since I have mounted an accelerometer on the shield so it needs to be stable and sit straight to function properly.
This Arduino shield lacks the standard Arduino mounting holes. Drilling the holes to match a UNO requires cutting a pin off of the Reset switch and patching some traces. There is plenty of space on the board so I don’t see why these holes we left off.
Hi, We don’t include mounting holes with most of our shields. Sorry if that is a feature that you need.
The Arduino Due does not use pins 11-13 as SPI pins, so the shield won’t work if you connect them. Instead, you have to connect the ICSP header, that is the Due’s only SPI breakout, and leave pins 11-13 unconnected.
Having sorted that out, the shield works great!
Nice, handy shield, but it has one limitation: The CS pin is hardwired to pin 8. Normally, if I had a conflict with another shield I could (reluctantly) cut a trace and tack on a wire if necessary, but the trace on this is extremely small. This scenario is not uncommon, but totally frustrating. It would be nice if the PCB had a row of “solder-bridge jumper” pads, where any one of several pins could be used, and it wouldn’t cost a single penny extra to manufacture. All shields should have this type of option, to the extent practical.
Hi, Thanks for the suggestion. It would be really a cool feature for shields to include a jumper for relocation of pins. There is a hardware option that can also help you with this. It’s the go between shield and it lets you easily adapt the pinouts of your shield to change things up.
The MicroSD shield worked fine on an Arduino Uno but did not work as delivered with the recommended header set on the Arduino Mega2560. I had to order the six pin female SPI header and it then worked on the Mega. Here should have been documentation stating what was needed for it to operate with the mega type boards.