firmware icon indicating copy to clipboard operation
firmware copied to clipboard

feat: Add ESP32-S3 ILI9341/ST7789 board support with wiring guides

Open Aryann019x opened this issue 7 months ago • 0 comments

Summary

Adds complete support for ESP32-S3 boards with ILI9341 and ST7789 displays, and comprehensive wiring documentation with visual diagrams for all four board configurations (ESP32-S3 and ESP-WROOM32).

Changes

New Board Support

  • ESP32-S3 with ILI9341 (240x320 SPI TFT)
  • ESP32-S3 with ST7789 (240x320 SPI TFT)

Documentation

Each board folder includes connections.md with complete wiring guides:

  • Pin mappings for displays, touchscreen (XPT2046), radio modules (CC1101, NRF24, LoRa)
  • I2C Grove sensor configuration (GPIO 8/9 for ESP32-S3, GPIO 21/22 for ESP32)
  • LED, button, and serial port assignments
  • SPI architecture and power supply specifications
  • Visual wiring diagrams for reference

Technical Implementation

  • Dual SPI buses: HSPI for display/touch, main SPI for radio modules
  • GPIO configuration: SD card (GPIO 4 ESP32-S3, GPIO 12 ESP32)
  • USB native support on ESP32-S3, UART on ESP32
  • SPI frequencies: 40MHz display, 20MHz read, 2.5MHz touchscreen
  • Power: ~400mA typical, ~2.5A peak with NRF24

Bug Fixes

  • Completed esp32s3-st7789/pins_arduino.h (was missing display/touch configuration)

Files Added/Modified

  • boards/esp32s3-ili9341/ - Full board support (pins_arduino.h, interface.cpp, .ini, connections.md, diagrams/)
  • boards/esp32s3-st7789/ - Same structure for ST7789 variant (fixed incomplete configuration)
  • boards/esp-wroom32-ili9341/connections.md - Updated documentation
  • boards/esp-wroom32-st7789/connections.md - Updated documentation
  • boards/pinouts/pins_arduino.h - Router file (directs compiler to correct board pins)

Aryann019x avatar May 03 '26 19:05 Aryann019x