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

ESP32-Based SD Card Data Logger with TFT Display

Image of ESP32-Based SD Card Data Logger with TFT Display

Circuit Documentation

Summary

The circuit in question appears to be designed for interfacing an ESP32 microcontroller with an SD card reader and a round TFT LCD display. The ESP32 serves as the central processing unit, managing data flow between the SD card reader and the display. The SD card reader is used for data storage and retrieval, while the TFT LCD display is for visual output. The circuit utilizes SPI communication for the SD card reader and I2C or parallel communication for the TFT LCD, as indicated by the connections to the ESP32's SPI and I2C/parallel GPIOs.

Component List

ESP32 (30 pin)

  • Description: A 30-pin ESP32 microcontroller module with WiFi and Bluetooth capabilities.
  • Pins: EN, VP, VN, D34, D35, D32, D33, D25, D26, D27, D14, D12, D13, GND, Vin, D23, D22, TX0, RX0, D21, D19, D18, D5, TX2, RX2, D4, D2, D15, 3V3
  • Purpose: Acts as the main controller for the circuit, handling data processing, communication with the SD card reader, and driving the TFT LCD display.

SD-CARD-READER-2PINS

  • Description: An SD card reader module with a 2-pin interface.
  • Pins: GND, 3.3V, 5V, CS, MOSI, SCK, MISO
  • Purpose: Provides data storage and retrieval capabilities to the circuit.

Round TFT LCD

  • Description: A round TFT LCD display module.
  • Pins: GND, VCC, SCL, SDA, RES, DC, CS, BLK
  • Purpose: Offers a visual interface for displaying data or graphics processed by the ESP32.

Wiring Details

ESP32 (30 pin)

  • D12 connected to SD-CARD-READER-2PINS CS
  • GND connected to Round TFT LCD GND and SD-CARD-READER-2PINS GND
  • Vin connected to Round TFT LCD VCC and SD-CARD-READER-2PINS 5V
  • D23 connected to SD-CARD-READER-2PINS MOSI
  • D22 connected to Round TFT LCD SDA
  • D19 connected to SD-CARD-READER-2PINS MISO
  • D18 connected to Round TFT LCD SCL and SD-CARD-READER-2PINS SCK
  • D4 connected to Round TFT LCD RES
  • D2 connected to Round TFT LCD DC
  • D15 connected to Round TFT LCD CS

SD-CARD-READER-2PINS

  • GND connected to ESP32 GND and Round TFT LCD GND
  • 3.3V (Not connected in the provided net list)
  • 5V connected to ESP32 Vin and Round TFT LCD VCC
  • CS connected to ESP32 D12
  • MOSI connected to ESP32 D23
  • SCK connected to ESP32 D18
  • MISO connected to ESP32 D19

Round TFT LCD

  • GND connected to ESP32 GND and SD-CARD-READER-2PINS GND
  • VCC connected to ESP32 Vin and SD-CARD-READER-2PINS 5V
  • SCL connected to ESP32 D18
  • SDA connected to ESP32 D22
  • RES connected to ESP32 D4
  • DC connected to ESP32 D2
  • CS connected to ESP32 D15
  • BLK (Not connected in the provided net list)

Documented Code

No code was provided for the microcontrollers in the circuit. For a functional circuit, embedded code would be required to initialize and control the communication protocols (SPI for the SD card reader and I2C/parallel for the TFT LCD), manage data processing, and handle user inputs and outputs. The code would typically be written in C or C++ and uploaded to the ESP32 using an IDE such as the Arduino IDE or Espressif's IDF.