Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Project Documentation

ESP32-Based SD Card Data Logger

Image of ESP32-Based SD Card Data Logger

Circuit Documentation

Summary of the Circuit

This circuit integrates an ESP32 Wroom Dev Kit with a Micro SD Card Module, allowing the ESP32 to interface with a microSD card for data storage and retrieval. The ESP32 serves as the main microcontroller, providing the necessary SPI (Serial Peripheral Interface) pins to communicate with the SD card module. A separate Vcc component is included to supply power to the Micro SD Card Module.

Component List

ESP 32 Wroom Dev Kit

  • Description: A development board based on the ESP32 microcontroller, which is a powerful, generic Wi-Fi+BT+BLE MCU module that targets a wide variety of applications.
  • Pins: 3V3, EN, VP, VN, GPIO 34, GPIO 35, GPIO 32, GPIO 33, GPIO 25, GPIO 26, GPIO 27, GPIO 14, GND, GPIO 13, SD2, SD3, CMD, V5, GPIO 23, GPIO 22, TXD, RXD, GPIO 21, GPIO 19, GPIO 18, GPIO 5, GPIO 17, GPIO 16, GPIO 4, GPIO 0, GPIO 2, GPIO 15, SD1, SD0, CLK

Micro SD Card Module

  • Description: A module that allows microcontrollers to interface with a microSD card, using SPI for communication.
  • Pins: cs, sck, mosi, miso, vcc, gnd

Vcc

  • Description: A power supply component used to provide a constant voltage to the circuit.
  • Pins: Vcc

Wiring Details

ESP 32 Wroom Dev Kit

  • GND is connected to the Micro SD Card Module's GND pin.
  • GPIO 23 (MOSI) is connected to the Micro SD Card Module's MOSI pin.
  • GPIO 19 (MISO) is connected to the Micro SD Card Module's MISO pin.
  • GPIO 18 (SCK) is connected to the Micro SD Card Module's SCK pin.
  • GPIO 5 (CS) is connected to the Micro SD Card Module's CS pin.

Micro SD Card Module

  • GND is connected to the ESP 32 Wroom Dev Kit's GND pin.
  • MOSI is connected to the ESP 32 Wroom Dev Kit's GPIO 23 pin.
  • MISO is connected to the ESP 32 Wroom Dev Kit's GPIO 19 pin.
  • SCK is connected to the ESP 32 Wroom Dev Kit's GPIO 18 pin.
  • CS is connected to the ESP 32 Wroom Dev Kit's GPIO 5 pin.
  • VCC is connected to the Vcc component's Vcc pin.

Vcc

  • Vcc is connected to the Micro SD Card Module's VCC pin.

Documented Code

There is no code provided for the microcontrollers in the circuit. The ESP32 Wroom Dev Kit would typically be programmed to initialize and communicate with the Micro SD Card Module using the SPI protocol. The code would handle tasks such as setting up the SPI interface, sending commands to the SD card, and handling data read/write operations. Since no code is provided, this section cannot be documented further.