Hy everyone from Germany
My Hardware:
1x ESP32 38Pins
1x TFT-Touch-Display XPT2046 (this one with a row of pins on each long side)
My Problem is, i can’t get it to work… with the wiring right now, the display is just white…
The second Problem is, i can’t find a wiring diagram in WWW which is working…
I just found a wiring here (ILI9341 + ESP32 (Parallel)), but there is a 30pin ESP32 used… so, i write the wiring down, take a printout of a 38pin ESP32 and tried to wire it… but it doesnt work…
Display → ESP32 30pin (from www) → ESP32 38pin (my)
LCD_D0 → U2_RXD / GPIO16 → RXD2 / GPIO16
LCD_D1 → ADC2_0 / GPIO4 → ADC2_0 / GPIO4
LCD_D2 → MOSI / GPIO23 → MOSI / GPIO23
LCD_D3 → SCL / GPIO22 → SCL / GPIO22
LCD_D4 → SDA / GPIO21 → SDA / GPIO21
LCD_D5 → MISO / GPIO19 → MISO / GPIO19
LCD_D6 → SCK / GPIO18 → SCK / GPIO18
LCD_D7 → U2_TXD / GPIO17 → TXD2 / GPIO17
LCD_RST → ADC2_9 / GPIO26 → ADC2_9 / GPIO26
LCD_CS → ADC2_7 / GPIO27 → ADC2_7 / GPIO27
LCD_RS → ADC2_6 / GPIO14 → ADC2_6 / GPIO14
LCD_WR → ADC2_5 / GPIO12 → ADC2_5 / GPIO12
LCD_RD → ADC2_4 / GPIO13 → ADC2_4 / GPIO13
3V3 → 3V3 → 3V3
5V → 5V → 5V
GND → GND → GND
The code out of my yaml:
spi:
clk_pin: GPIO18
mosi_pin: GPIO23
miso_pin: GPIO19
display:
- platform: ili9xxx
model: ili9341
cs_pin: GPIO27
dc_pin: GPIO14
reset_pin: GPIO26
But it doesnt work… the display is only white… when i disconnect the 5V-wire, it turns to black…
I hope, someone here could help me…?
And i hope, i write all informations for help…
Greetz
Günni