ILI9488 3.5" TFT 320x480 with touch (SPI) with ESP32
Supply 3.3-5 V
Bus SPI
Pins and ESP32 wiring
| Pin | Role | ESP32 pin | Notes |
|---|---|---|---|
| VCC | Power | 3V3 | On-board 3.3 V regulator: 3V3 or 5 V both work on most boards |
| GND | Ground | GND | |
| CS | SPI chip select | D5 | |
| RESET | Input (the ESP32 drives it) | D25 | Reset |
| DC/RS | Input (the ESP32 drives it) | D26 | Data / command select |
| SDI(MOSI) | SPI MOSI | D23 | |
| SCK | SPI clock | D18 | |
| LED | Not wired to the ESP32 | — | Backlight: to 3V3 (always on) or through a transistor for dimming |
| SDO(MISO) | SPI MISO | D19 | Leave unconnected if touch or SD misbehave: some ILI9488 boards never release this line |
| T_CLK | SPI clock | D27 | Touch controller clock (XPT2046), shares the SPI bus |
| T_CS | SPI chip select | D32 | Touch controller chip select |
| T_DIN | SPI MOSI | D33 | Touch controller data in |
| T_DO | SPI MISO | D4 | Touch controller data out |
| T_IRQ | Interrupt | D35 | LOW while the screen is touched |
Suggested wiring for the 30-pin ESP32 DevKit, avoiding flash, input-only and strapping pins. BoardPilot checks it for you as you wire.
Sources
- ILITEK ILI9488 datasheet, 4-line serial interface: 18-bit color only (3 bytes per pixel)
- LCDwiki 3.5inch SPI Module ILI9488 (MSP3520) user manual, Pin description
Try it in 3D in BoardPilot
Related parts
APA102 / SK9822 LED strip (clock + data)E-paper 1.54" 200x200 (SPI)E-paper 2.13" 250x122 (SPI)E-paper 2.9" 296x128 (SPI)E-paper 4.2" 400x300 (SPI)GC9A01 1.28" round IPS 240x240 (SPI)
Part data: CC BY 4.0, free to reuse with credit to BoardPilot.