Components / Interface and audio modules / MicroSD Card Module

MicroSD Card Module

Provides access to removable memory using a module-dependent interface.

FunctionmicroSD card socket with level shifting
Supply voltage5 V (onboard 3.3 V regulator); some versions 3.3 V only
InterfaceSPI
RatingFAT16 or FAT32 cards, up to 32 GB works best
InterfacesReviewedMPN microSD SPI moduleUsed in 110 projects
MICROS
In short

What is the MicroSD Card Module and what is it used for?

Provides access to removable memory using a module-dependent interface. Makers use it for record temperature readings.

In the real world

Data logging

How it works

Interface modules bridge data or electrical signaling; verify individual module schematic and signal levels.

Key specifications

Interface module specValue
FunctionmicroSD card socket with level shifting
Supply voltage5 V (onboard 3.3 V regulator); some versions 3.3 V only
InterfaceSPI
RatingFAT16 or FAT32 cards, up to 32 GB works best
Logic level5 V tolerant via onboard buffer on most 5 V modules

Pinout

VCC / GNDPower
MISO / MOSI / SCKSPI
CSChip select (pin 10 on Uno, 5 on ESP32 examples)

How to use it

Format the card FAT32. Close or flush the file regularly, or a power cut can lose the last readings. Some cards share the SPI bus badly with other devices; add a 10 kΩ pull-up on CS.

#include <SD.h>
void setup() { Serial.begin(115200); if (!SD.begin(10)) Serial.println("no card"); }
void loop() { File f = SD.open("log.csv", FILE_WRITE); f.println(millis()); f.close(); delay(5000); }

Applications

Buy at

Common questions

What is the MicroSD Card Module used for?

In products: data logging. In maker projects: record temperature readings.

How does the MicroSD Card Module work?

Interface modules bridge data or electrical signaling; verify individual module schematic and signal levels.

What voltage does the MicroSD Card Module need?

5 V (onboard 3.3 V regulator); some versions 3.3 V only.

How do I connect the MicroSD Card Module to an Arduino or ESP32?

SPI. Pins: VCC / GND (Power), MISO / MOSI / SCK (SPI), CS (Chip select (pin 10 on Uno, 5 on ESP32 examples)).