TFT 2.4 ", white screen, impossible to make it work ...

Hi, I have two TFT 2.4 "as the photo, I have tried many drivers and libraries but do not work, always white screen is the best library that works is the SPFD5408 (ILI9341) and yes detected programs example of the library but I always have white screen. I'm trying to Arduino UNO.

Can somebody help me?

Thanks and regards.

I have to say that I have also tested with Arduino NANO ATmega328 and the results are the same, always using the communication lines LCD_CS (in A3), LCD_CD (in A2), LCD_WR (in A1), LCD_RD (in A0), LCD_RESET (in A4) ...


Look at the code in your sketch. Whether you intended or not, I can see that you say

identifier = tft.readID();
if (identifier == 0x0101)
      identifier = 0x9341;

In other words, you read the ID and then immediately decide that it is an ILI9L341 if it gets the non-valid 0x0101.

Run the LCD_ID_readreg.ino sketch from the MCUFRIEND_kbv library examples.
Post the results here.

Popular controllers are supported by many different libraries.
The less common controllers may or may not be supported by MCUFRIEND_kbv library.


Hi David, thanks again for your help.

I've tried what you tell me and these are the results:

... I clarify one thing, the above results are Arduino Nano, which are now put Arduino UNO ...

First off. It is better to copy-paste output than to post an enormous screen picture.

Your picture in message #3 is from a Nano.
Your picture in message #4 is from a Uno.

Neither look correct. If you wire things wrong on a Nano, you will damage the display.
If you do plug the shield into the Uno properly, you will NOT damage the shield.

If a Nano is wired correctly, you will get the SAME output as from a Uno.

Since neither output makes any sense, I do not recognise any controller at all. Your display might be damaged.

I suggest that you plug it into a different good Uno. It should mate as nature intended. Try again.
You could plug it into a Mega and try again.


Hello David, the connections are correct Arduino Nano 100% safe and correct, now I get results with an Arduino Mega ...

Read Registers on MCUFRIEND UNO shield
controllers either read as single 16-bit
e.g. the ID is at readReg(0)
or as a sequence of 8-bit values
in special locations (first is dummy)

reg(0x0000) 00 00 ID: ILI9320, ILI9325, ILI9335, ...
reg(0x0004) 00 00 93 02 Manufacturer ID
reg(0x0009) 00 00 61 00 00 Status Register
reg(0x0061) 00 00 RDID1 HX8347-G
reg(0x0062) 00 00 RDID2 HX8347-G
reg(0x0063) 00 00 RDID3 HX8347-G
reg(0x0064) 00 00 RDID1 HX8347-A
reg(0x0065) 00 00 RDID2 HX8347-A
reg(0x0066) 00 00 RDID3 HX8347-A
reg(0x0067) 00 00 RDID Himax HX8347-A
reg(0x0070) 00 00 Panel Himax HX8347-A
reg(0x00A1) 00 FF 00 FF 00 RD_DDB SSD1963
reg(0x00B0) 00 00 RGB Interface Signal Control
reg(0x00B4) 00 00 Inversion Control
reg(0x00B6) 00 00 00 00 00 Display Control
reg(0x00B7) 00 00 Entry Mode Set
reg(0x00BF) 00 00 00 00 00 00 ILI9481, HX8357-B
reg(0x00C0) 00 00 00 00 00 00 Panel Control
reg(0x00CC) 00 00 Panel Control
reg(0x00D0) 40 40 01 Power Control
reg(0x00D2) 40 40 01 40 40 NVM Read
reg(0x00D3) 00 00 93 02 ILI9341, ILI9488
reg(0x00DA) 00 00 RDID1
reg(0x00DB) 93 93 RDID2
reg(0x00DC) 02 02 RDID3
reg(0x00EF) 00 00 00 00 00 00 ILI9327
reg(0x00F2) 00 00 00 00 00 00 00 00 00 00 00 00 Adjust Control 2
reg(0x00F6) 00 00 00 00 Interface Control

Well, the MEGA2560 should have given exactly the same output as UNO, Leonardo, Due, ...

You have managed to get 3 different outputs. Something is wrong.

It looks as if you have an ILI9302 but Google does not recognise this part number.

You could try tft.begin(0x9329) with the MEGA2560 and see what happens. Edit the graphictest_kbv.ino sketch to force this ID.

Meanwhile, I would buy or borrow a new good Uno.


BRAVO WITH 0x9329 !!!

But out all the text in mirror ...

That is easy to solve. However, I am more worried about your Uno and Nano.

Meanwhile, run the graphictest_kbv sketch and observe the text. With the USB cable coming out of the top, Is the text at the top of the screen? Is it horizontal mirror?

Do you see vertical scrolling?
Do you see software scrolling?


Yes, it looks displacement, text twists, all colors and graphics, all well but always mirror the text, all tested with Mega, now I'll try UNO ...

You have a PM.


Arduino UNO does not work, tell me the IDE low memory when compiling and can destabilize the system and resets the PC ... :frowning:

I tried the readpixel_kbv.ino program in the Arduino UNO that is smaller and does not work, only blank screen, but Arduino MEGA does work but with text in mirror ... There are problems with UNO ...