SD card module (full size, SPI) with ESP32

Supply 3.3-5 V Bus SPI
GND3V35VCSMOSISCKMISOGND2

Pins and ESP32 wiring

PinRoleESP32 pinNotes
GNDGroundGND
3V3Power3V3Use 3V3 or 5V, not both
5VNot wired to the ESP32—Alternative 5 V input through the on-board regulator
CSSPI chip selectD5
MOSISPI MOSID23
SCKSPI clockD18
MISOSPI MISOD19
GND2GroundGND

Suggested wiring for the 30-pin ESP32 DevKit, avoiding flash, input-only and strapping pins. BoardPilot checks it for you as you wire.

Good to know

Sources

Try it in 3D in BoardPilot

BoardPilot Part data (JSON)

SD card module (full size, SPI) on other boards: wiring and code

Learn the basics

Related parts

Part data: CC BY 4.0, free to reuse with credit to BoardPilot.