Tft 3,5'' Screen shield with esp32s White screen

Hello everyone!... I have a problem getting a 3.5 tft screen to work on an esp32

I have this 3.5'' screen tft shield: 3.5'' 480x320 TFT Full Color Module LCD for Arduino UNO Mega2560 w/ Touch Screen | eBay

and this esp32s: ESP32 ESP-WROOM-32 ESP-32S Development Board 2.4GHz WiFi & Bluetooth for Arduino | eBay

I had no problem getting it to work on an arduino uno, but I can't get it to work on an esp32, and tried to install countless libraries and many connections, but the screen goes blank...

One of the libraries I used had these connections...

#define USER_SETUP_ID 16
#define ESP32_PARALLEL
#define ILI9488_DRIVER
#define TFT_D0 12
#define TFT_D1 13
#define TFT_D2 26
#define TFT_D3 25
#define TFT_D4 17
#define TFT_D5 16
#define TFT_D6 27
#define TFT_D7 14
#define LCD_CS 33
#define LCD_CD 15
#define LCD_WR 4
#define LCD_RD 2
#define LCD_RESET 32

I also tried several others but nothing worked.

Does anyone know what library I can use together with some test code?

Post a drawing of your project connections and your sketch. These will help in finding the solution.

You may have read on the www about white screen problems were due to soldering and bad board from reseller.

1 Like

I have been looking for answers, and I found the answer in this video:

People in the comments had this same white screen problem.
I haven't seen the whole picture before facing the problem. you can fix it as follows.
The man in the video kindly answered many questions from users and after reading a few it became clear to me.

  1. you must download the TFT_eSPI library from the arduino IDE or from github.
  2. Then you open the folder of the downloaded library and look for the file called "User_Setup_Select", where you have to comment the following line "#include <User_Setup.h> ".
  3. depending on your tft screen you must uncomment the line corresponding to your screen, for example in my case I have an ILI9488 module, therefore I have to uncomment the following "//#include <User_Setups/Setup16_ILI9488_Parallel.h>".
  4. Then you must enter the folder called "User_Setups" and choose the corresponding setup... in my case it is 16 due to the line that I uncommented in the previous step.
  5. Once everything is done, you should see that the connection of the pins is correct, and you will be able to use the screen

Sorry all for opening this query without having investigated further.

Thank you

1 Like

Excellent find!

2 Likes

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.