TFT_eSPI ESP32 wroom 32 dev kit 38 pin 4" SPI touch TFT ST7796 wow thats fast

Опубликовано: 12 Июль 2026
на канале: Luberth Dijkman
2,830
15

http://Arduino.TK
TFT_eSPI ESP32 wroom 32 dev kit 38 pin 4" SPI touch TFT ST7796
wow thats fast

https://github.com/Bodmer/TFT_eSPI

UTFT_Demo form the examples
beats my 1994 486dx2 66 ;-)

Good HowTo (except pinout info = maybe done on purpuse to get more viewers minutes)
   • ILI9341 TFT LCD to ESP32 - Full HOW TO  fo...  
by XTronical

8 euro touch TFT SPI 4inch ST7796
i bought it from https://nl.aliexpress.com/item/400112...
4 euro ESP32 wroom 32 dev kit 38 pin
https://www.google.com/search?q=ESP32...

SPI TFT ST7796 touch
hope i did not mk any mistakes but i believe this is my pinout

SOMEONE SHOULD DESIGN A SHIELD/PCB for SPI_TFT/ESP32_DEVKIT ;-)
alike
WOW amazed what a nice in browser pcb designer
https://oshwlab.com/l.dijkman/esp32-d...


T_IRQ = not used
T_DO = GPIO_19
T_DIN = to SDI_(MOSI) of LCD == to GPIO_23
T_CS = GPIO_21
T_CLK = to SCK of LCD == to GPIO_18

SDO_(MISO) = not used
SDI_(MOSI) = GPIO_23
SCK = GPIO_18
CS = GPIO_15
DC/RS = GPIO_2
RESET = GPIO_4
VCC = +5VDC
GND
LED = 3.3V maybe better to GPIO PWM PIN for backlight brightness control
solve the wire nightmare
https://oshwlab.com/l.dijkman/esp32-d...
//////////////////////////////////////////////////////////////////////////////////////////////////
edit User_Setup.h in /librarys/TFT_eSPI/User_Setup.h
and comment/uncomment your hardware setup
/////////////////////////////////////////////////////////////////////////////////////////////////
looks like i have to change the touch read speed in usersetup.h
// The XPT2046 requires a lower SPI clock rate of 2.5MHz so we define that here:
#define SPI_TOUCH_FREQUENCY 2000000 // was 2500000
otherwise problems on one corner with calibration



Make your own high tech state off the ART smart wifi clock Thermostat
for Less then 20 Euro

http://Arduino.TK