🚚 Free Worldwide Shipping on All Orders!Shop Now
HomeStore

Breakout Board for microSD Card

Product image 1
Product image 2
Product image 3
Product image 4
Product image 5
Product image 6

Breakout Board for microSD Card

Breakout Board for microSD Card

This simple board breaks out the pins of a microSD card connector to a 0.1″ pin spacing that is compatible with standard perfboards, solderless breadboards, and 0.1" connectors.

MicroSD memory cards (originally known as TransFlash) provide a compact and inexpensive way to add gigabytes of non-volatile storage to a project. All SD cards support communication over the SPI (Serial Peripheral Interface) bus, making it straightforward to interface one of these cards with an SPI-capable microcontroller.

This carrier board makes it easy to connect to a microSD card by breaking out all of the contacts from a microSD card socket into two rows of 0.1″-spaced pins. The board measures only 0.8″ × 0.7″, and a set of breakaway 0.1″ male header strips (one 1Ɨ7 and one 1Ɨ4) is included, which can be soldered in to use the board with breadboards, perfboards, or 0.1″ female connectors. (The headers might ship as a single 1Ɨ11 piece that can be broken in two).

Using the breakout board

Since many microcontrollers have built-in SPI interfaces, most hobbyist projects communicate with Secure Digital cards in SPI bus mode. (The alternative SD bus mode is proprietary, and a license from the SD Association is required for access to the full specifications.) Where applicable, the pins on this board are labeled according to their functions in SPI mode.

All of the microSD card’s power pins and all of the signal pins necessary to interface with the card through SPI are available along the right side of the board. The left side of the board exposes duplicate power pins, along with two additional signal lines (DAT1 and DAT2) that are not needed for SPI communication but are used in 4-bit SD bus mode. The DAT1 pin also serves as an interrupt pin (IRQ) in SDIO devices. (Note that if you are using this module in a breadboard, you might want to solder header pins into both sides of the board for added stability even if you only plan to use the SPI pins.)

The following tables describe the function of each pin on the breakout board in SPI and SD mode:

Pin Description
GND
(VSS)
Power and logic ground
VDD Supply voltage (2.7Ā V to 3.6Ā V for standard microSD cards)
CD Card detect. When a card is inserted, this pin is floating; when no card is inserted, it is shorted to ground. A pull-up resistor can be used to pull the line high when a card is present.
SPI mode SD mode
Pin Description Pin Description
DI Data in (MOSI) CMD Command/response
DO Data out (MISO) DAT0 Data (bit 0)
SCLK Clock CLK Clock
CS Chip select (active low) DAT3 Data (bit 3)
—
IRQ
Reserved
Interrupt (active low; SDIO devices only)
DAT1
IRQ
Data (bit 1)
Interrupt (active low; SDIO devices only)
— Reserved DAT2 Data (bit 2)

Warning: Standard microSD cards use 3.3Ā V logic level signals, so level shifters or voltage dividers are required when connecting one to a 5Ā V system.

Communicating with a microSD card

The SD Association publishes a set of simplified specifications for SD cards containing information on interfacing with them. However, there are a number of ways to get started without understanding the specifications or writing your own code from scratch, since many microcontroller development platforms provide libraries for communicating with SD cards. For example:

  • The SD library for Arduino provides functions for accessing files and directories on an SD card.
  • The SD Card File System library for mbed allows similar filesystem access.
$1.28

Original: $3.67

-65%
Breakout Board for microSD Card—

$3.67

$1.28

Product Information

Shipping & Returns

Description

This simple board breaks out the pins of a microSD card connector to a 0.1″ pin spacing that is compatible with standard perfboards, solderless breadboards, and 0.1" connectors.

MicroSD memory cards (originally known as TransFlash) provide a compact and inexpensive way to add gigabytes of non-volatile storage to a project. All SD cards support communication over the SPI (Serial Peripheral Interface) bus, making it straightforward to interface one of these cards with an SPI-capable microcontroller.

This carrier board makes it easy to connect to a microSD card by breaking out all of the contacts from a microSD card socket into two rows of 0.1″-spaced pins. The board measures only 0.8″ × 0.7″, and a set of breakaway 0.1″ male header strips (one 1Ɨ7 and one 1Ɨ4) is included, which can be soldered in to use the board with breadboards, perfboards, or 0.1″ female connectors. (The headers might ship as a single 1Ɨ11 piece that can be broken in two).

Using the breakout board

Since many microcontrollers have built-in SPI interfaces, most hobbyist projects communicate with Secure Digital cards in SPI bus mode. (The alternative SD bus mode is proprietary, and a license from the SD Association is required for access to the full specifications.) Where applicable, the pins on this board are labeled according to their functions in SPI mode.

All of the microSD card’s power pins and all of the signal pins necessary to interface with the card through SPI are available along the right side of the board. The left side of the board exposes duplicate power pins, along with two additional signal lines (DAT1 and DAT2) that are not needed for SPI communication but are used in 4-bit SD bus mode. The DAT1 pin also serves as an interrupt pin (IRQ) in SDIO devices. (Note that if you are using this module in a breadboard, you might want to solder header pins into both sides of the board for added stability even if you only plan to use the SPI pins.)

The following tables describe the function of each pin on the breakout board in SPI and SD mode:

Pin Description
GND
(VSS)
Power and logic ground
VDD Supply voltage (2.7Ā V to 3.6Ā V for standard microSD cards)
CD Card detect. When a card is inserted, this pin is floating; when no card is inserted, it is shorted to ground. A pull-up resistor can be used to pull the line high when a card is present.
SPI mode SD mode
Pin Description Pin Description
DI Data in (MOSI) CMD Command/response
DO Data out (MISO) DAT0 Data (bit 0)
SCLK Clock CLK Clock
CS Chip select (active low) DAT3 Data (bit 3)
—
IRQ
Reserved
Interrupt (active low; SDIO devices only)
DAT1
IRQ
Data (bit 1)
Interrupt (active low; SDIO devices only)
— Reserved DAT2 Data (bit 2)

Warning: Standard microSD cards use 3.3Ā V logic level signals, so level shifters or voltage dividers are required when connecting one to a 5Ā V system.

Communicating with a microSD card

The SD Association publishes a set of simplified specifications for SD cards containing information on interfacing with them. However, there are a number of ways to get started without understanding the specifications or writing your own code from scratch, since many microcontroller development platforms provide libraries for communicating with SD cards. For example:

  • The SD library for Arduino provides functions for accessing files and directories on an SD card.
  • The SD Card File System library for mbed allows similar filesystem access.

You may also like

-65%NEW
Thumbnail 1Thumbnail 2

Pololu A4988 Stepper Motor Driver Carrier, Black Edition

$18.34

$6.42

-65%NEW
Thumbnail 1Thumbnail 2

SparkFun Opto-Isolator Breakout

$6.33

$2.22

NEW
Thumbnail 1Thumbnail 2

Pulse Sensor Amped

$23.34

-65%NEW
Thumbnail 1Thumbnail 2

Skywriter: 3D Gesture Sensing Breakout

$27.67

$9.68

-65%NEW
Thumbnail 1Thumbnail 2

ESP8266 SMT Module - ESP-12

$10.00

$3.50

-65%NEW
Thumbnail 1Thumbnail 2

Graphic LCD 84x48 - Nokia 5110

$11.00

$3.85

NEW
Thumbnail 1Thumbnail 2

SparkFun microB USB Breakout

$3.33

NEW
Thumbnail 1Thumbnail 2

SparkFun USB Mini-B Breakout

$3.33

NEW
Thumbnail 1Thumbnail 2

SparkFun Analog/Digital MUX Breakout - CD74HC4067

$7.00

NEW
Thumbnail 1Thumbnail 2

LilyPad Accelerometer ADXL335

$20.34

NEW
Thumbnail 1Thumbnail 2

SparkFun Logic Level Converter - Bi-Directional

$3.67

-65%NEW
Thumbnail 1Thumbnail 2

SparkFun Rotary Encoder Breakout - Illuminated

$4.00

$1.40

Breakout Board for microSD Card | Pimoroni