Before jumping into this design, it’s important to note that this will only work with SD and uSD cards that support SPI Mode! Make sure to take a look at the datasheet of the card you are interested to check if SPI mode is supported. Otherwise buying cards can be a gamble.
The standard hookups for an SD Card. Note: none of the level-shifting is accomplished above.
All the 5V signals coming from the MCU can be put through voltage dividers apart from MISO, it needs to be stepped up using a BSS138.
Useful Footprints and Parts
This combination of Wuerth SD Footprint and Molex Flip Out MicroSD mount creates a very small outline on the PCB.