TFT_eSPI icon indicating copy to clipboard operation
TFT_eSPI copied to clipboard

Hi Bodmer

Open vikraj-ai opened this issue 2 years ago • 5 comments

I need your help to connect my ILI9488 TFT SPI 3.5 480*320 resolution display with ESP32 . I need wiring diagram and user setup file for my project. Also I am not confirm about my display driver chup name at first the vendor told me it ILI9486 then he confirmed from his vendor and told it is ILI9488 . I don't know what to do. If you need any information please tell me this project is very important for me please help

Your small effort will be a great help for me

Thank you,

vikraj-ai avatar Mar 29 '24 03:03 vikraj-ai

If you need any pictures then tell me

vikraj-ai avatar Mar 29 '24 03:03 vikraj-ai

Is User_Setups/Setup21_ILI9488.h not good for you? Please make minimal effort yourself, and search the project readme, code & issues before asking.

AgainPsychoX avatar Mar 29 '24 21:03 AgainPsychoX

For ESP32 you might want use HSPI pins:

#define TFT_MISO 12
#define TFT_MOSI 13
#define TFT_SCLK 14

or VSPI pins, usually:

#define TFT_MISO 19 // (leave TFT SDO disconnected if other SPI devices share MISO)
#define TFT_MOSI 23
#define TFT_SCLK 18

Other pins can use whatever GPIO you want I guess:

#define TFT_CS    15  // Chip select control pin
#define TFT_DC    2  // Data Command control pin
#define TFT_RST   4  // Reset pin (could connect to RST pin)

AgainPsychoX avatar Mar 29 '24 21:03 AgainPsychoX

No it worked finally but I don't know how to use the touch function of the screen can you guide me to do that it would be a great help for me

vikraj-ai avatar Apr 01 '24 12:04 vikraj-ai

The library supports XPT2046 touch chipset. You didn't provide picture or link to datasheet of your display board so it's hard to say how to wire it up exactly, but the outline is:

Set one of pins as chip select in the user setup:

#define TOUCH_CS 8

and share the SPI bus (MISO/MOSI/CLK pins) with the touch controller.

~~BTW, if the issue is solved for you don't forget to close it.~~

AgainPsychoX avatar Apr 02 '24 16:04 AgainPsychoX