DISCONNECTED
Command
Interface
SD CARD

A microSD card module exposes the SPI interface (MOSI, MISO, SCK, CS) to interface with standard SD/SDHC cards. FAT32 formatting allows cross-platform file access. Typical use is data logging — writing sensor readings to timestamped CSV files.

Specifications
InterfaceSPI (Mode 0)
Voltage3.3V (with 5V adapter)
Max speed~2 MB/s (SPI)
FormatFAT32
Card supportSD / SDHC / SDXC
CS pinActive-low chip select
How It Works

Initialisation negotiates SPI clock speed and card capacity. Writes use FAT32 cluster chains — each write finds a free cluster, updates the FAT, and writes the data sector. Buffering writes (flush every N records) dramatically improves throughput and reduces wear.

Typical Use Cases
Sensor data logging Config file storage Firmware update storage Audio/image storage Black box recording Offline data collection
Limitations

FAT32 has 4GB file size limit. SPI mode is slower than SDIO. Frequent small writes cause file system fragmentation. Sudden power loss can corrupt the FAT — always unmount before removing. SD cards have finite write endurance (~100k P/E cycles per cell).

Commands Out
System
Q & A

Sign in to chat with Claude about this component.

Settings

Lag Simulation

The dashed ghost shows the commanded target. The solid state shows the physical actual state, which lags behind due to motor inertia and mechanical response time.

Sign in