MCUFRIEND 3.5 TFT LCD 480x320 WITH ESP32

Hello everyone,

I have a problem with physically wiring my esp32 devkit v1 to mcufriend 3.5 tft, or which library to use.I don't know which pins go where .I can't find any examples or directions for wiring.
If someone can help me with this I would be very grateful.

Thanks!

From utility/mcufriend_shield.h

//################################### ESP32 ##############################
#elif defined(ESP32)       //regular UNO shield on TTGO D1 R32 (ESP32)
#define LCD_RD  2  //LED
#define LCD_WR  4
#define LCD_RS 15  //hard-wired to A2 (GPIO35) 
#define LCD_CS 33  //hard-wired to A3 (GPIO34)
#define LCD_RST 32 //hard-wired to A4 (GPIO36)

#define LCD_D0 12
#define LCD_D1 13
#define LCD_D2 26
#define LCD_D3 25
#define LCD_D4 17
#define LCD_D5 16
#define LCD_D6 27
#define LCD_D7 14

Both myself and Bodmer recommend that you buy a TTGO R32 style board and make a small hardware mod.
The R32 board has Arduino headers. You can do the mod, plug in the shield and go.

Bodmer's TFT_eSPI library is faster than MCUFRIEND_kbv but supports less controller chips.

David.

Thank you David
But what do numbers like 17 and 25 represent here? Are they pins on esp32? Because I don't have them

#define LCD_D3 25
#define LCD_D4 17

And what is this mod?

Look at the TFT_eSPI library docs. Bodmer has graphic diagrams to show the mod.
Search Ebay for TTGO R32 or Wemos R32

LCD_D3 is printed on your shield pcb.
25 means GPIO25 pin on your ESP32 module.

David.

David I have set pins on those you wrote but it still doesn't work