ESP32 - SD Card
This is a compact build guide. The full tutorial, with the wiring diagram and a line-by-line walkthrough of the code, is here: https://esp32io.com/tutorials/esp32-sd-card
In this guide, we'll explore how to use a Micro SD Card with the ESP32. We'll delve into the following topics:
Supplies
Everything below is what the build uses. The links go to the parts we make and test.
- 38-pin ESP32 ESP-WROOM-32 Dev Module - Narrow
- 38-pin ESP32 ESP-WROOM-32 Dev Module - Wide
- 30-pin ESP32 ESP-WROOM-32 Dev Module - Wide
- ESP32 Uno-form board
- ESP32 S3 Uno-form board
- USB Cable Type-A to Type-C (for USB-A PC)
- USB Cable Type-C to Type-C (for USB-C PC)
- Micro SD Card
- Micro SD Card Module
- Jumper Wires
- Breadboard
- MicroSD to SD Memory Card Adapter
- Screw Terminal Expansion Board for ESP32
- Breakout Expansion Board for ESP32
- Power Splitter for ESP32
- DIYables ESP32 Starter Kit (ESP32 included)
- DIYables ESP32 S3 Starter Kit (ESP32 S3 included)
- DIYables Sensor Kit (18 sensors/displays)
What It Is
The Micro SD Card Module can interface with ESP32 and it can carry a Micro SD Card. In another word, the Micro SD Card Module is a bridge between ESP32 and Micro SD Card
Wiring
Micro SD Card Module includes 6 pins:
VCC pin: connect to the ESP32's 5V pin.
GND pin: connect this pin to the ESP32's GND.
MISO pin: (Master In Slave Out) connect this pin to the ESP32's MISO pin.
Code
esp32-sd-card.ino - the sketch from the tutorial, unchanged.
Full Tutorial
The complete tutorial, wiring diagram and code explanation: https://esp32io.com/tutorials/esp32-sd-card