Blank white after using many setup

Hi all!
I am new to this forum, and my english is not my native language, so forgive me my spelling and grammatic errors.

I have a Mega 2560 board, and I bought a 3.5 tft lcd display from wish where they wrote that it compatible with UTFT library and has an ILI9486 driver.
After trying at least 5 or 6 libraries with different driver setup, all I can get is a blank white screen.

Installing MCUFRIEND library, and running the LCD_ID_readreg sketch on the Serial Monitor this is the result:

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 00 00	Manufacturer ID
reg(0x0009) 00 00 00 00 00	Status Register
reg(0x000A) 00 00	Get Power Mode
reg(0x000C) 00 00	Get Pixel Format
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 93 30 93 30	RD_DDB SSD1963
reg(0x00B0) 00 00	RGB Interface Signal Control
reg(0x00B4) 00 00	Inversion Control
reg(0x00B6) 00 02 02 3B 3B	Display Control
reg(0x00B7) 00 06	Entry Mode Set
reg(0x00BF) 00 00 00 00 00 00	ILI9481, HX8357-B
reg(0x00C0) 00 07 36 3B 0E 15 0A 57 78	Panel Control
reg(0x00C8) 00 44 44 44 44 44 44 44 44 44 44 44 44	GAMMA
reg(0x00CC) 00 00	Panel Control
reg(0x00D0) 00 00 07	Power Control
reg(0x00D2) 00 18 A3 12 02	NVM Read
reg(0x00D3) 00 06 40 00	ILI9341, ILI9488
reg(0x00D4) 00 00 00 08	Novatek ID
reg(0x00DA) 00 00	RDID1
reg(0x00DB) 00 00	RDID2
reg(0x00DC) 00 00	RDID3
reg(0x00E0) 00 07 36 3B 0E 15 0A 57 78 5F 04 01 07 36 38 0D	GAMMA-P
reg(0x00E1) 00 08 3E 21 09 1E 0B 01 1B 19 03 06 04 1E 1B 05	GAMMA-N
reg(0x00EF) 00 80 00 10 60 40	ILI9327
reg(0x00F2) 00 18 A3 12 02 B2 12 FF 10 00 00 00	Adjust Control 2
reg(0x00F6) 00 54 80 66	Interface Control

Pictures from the display and its box are attached.

Thanks for any help!

It “looks” like a good Blue 3.5 inch Shield.
The box label says ILI9486

The LCD_ID_readreg.ino report does not show the values that I expect from ILI9486.

  1. install MCUFRIEND_kbv via IDE Library Manager
  2. Plug the Shield into your MEGA2560
  3. edit graphictest_kbv.ino from Examples e.g. in setup()
void setup(void) {
    Serial.begin(9600);
    uint32_t when = millis();
    //    while (!Serial) ;   //hangs a Leonardo until you connect a Serial
    if (!Serial) delay(5000);           //allow some time for Leonardo
    Serial.println("Serial took " + String((millis() - when)) + "ms to start");
    //    tft.reset();                 //hardware reset
    uint16_t ID = tft.readID(); //
    Serial.print("ID = 0x");
    Serial.println(ID, HEX);
    if (ID == 0xD3D3) ID = 0x9481; // write-only shield
    ID = 0x9486;                        // >>>>> force ID to 0x9486 <<<<<
    tft.begin(ID);
}
  1. Build and run. See what happens.

What country are you in?

David.

This could be a hardware problem, please post your schematic, not a frizzy thing. Also include links.

gilshultz:
This could be a hardware problem, please post your schematic, not a frizzy thing. Also include links.

Hi!
I dont have any schematic, while the only thing I have done so far is to put this shield into my Mega board.
Did you think about the pin mapping ?
The product link:

Thank you!

david_prentice:
It "looks" like a good Blue 3.5 inch Shield.
The box label says ILI9486

The LCD_ID_readreg.ino report does not show the values that I expect from ILI9486.

  1. install MCUFRIEND_kbv via IDE Library Manager
  2. Plug the Shield into your MEGA2560
  3. edit graphictest_kbv.ino from Examples e.g. in setup()
  4. Build and run. See what happens.

What country are you in?

David.

Hello David!
I am glad to see you in the comment section. I was hoping that you show up while you have been solved so many problems.
I have modified the setup section with the code you have provided but nothing happened.
On the serial monitor the information is:

⸮⸮⸮took⸮Serial took 0ms to start
ID = 0x9486

I am from Hungary.

Thanks for your reply!

From #0

reg(0x00D3) 00 06 40 00	ILI9341, ILI9488

which is wrong.

From #4

Serial took 0ms to start
ID = 0x9486

shows that the ID is being read correctly.

From #1

    ID = 0x9486;                        // >>>>> force ID to 0x9486 <<<<<
    tft.begin(ID);

this was unnecessary because it had already read the correct ID.

Please can you run LCD_ID_readreg.ino again. There is obviously something wrong when it reads a different ID to the library readID() method.

If you have another Arduino it is worth running LCD_ID_readreg.ino and graphictest_kbv.ino on a different board.

The stupid question: have you plugged the shield into the Arduino?
Some people use random Dupont cables instead of plugging the male shield pins into female Arduino sockets.

David.

After running again the LCD_ID_readreg from Examples, this is the result:

shield⸮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 00 00	Manufacturer ID
reg(0x0009) 00 00 00 00 00	Status Register
reg(0x000A) 00 00	Get Power Mode
reg(0x000C) 00 00	Get Pixel Format
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 93 30 93 30	RD_DDB SSD1963
reg(0x00B0) 00 00	RGB Interface Signal Control
reg(0x00B4) 00 00	Inversion Control
reg(0x00B6) 00 02 02 3B 3B	Display Control
reg(0x00B7) 00 06	Entry Mode Set
reg(0x00BF) 00 00 00 00 00 00	ILI9481, HX8357-B
reg(0x00C0) 00 07 26 3B 0E 15 0A 77 6A	Panel Control
reg(0x00C8) 00 44 44 44 44 44 44 44 44 44 44 44 44	GAMMA
reg(0x00CC) 00 00	Panel Control
reg(0x00D0) 00 00 07	Power Control
reg(0x00D2) 00 18 A3 12 02	NVM Read
reg(0x00D3) 00 06 40 00	ILI9341, ILI9488
reg(0x00D4) 00 00 00 08	Novatek ID
reg(0x00DA) 00 00	RDID1
reg(0x00DB) 00 00	RDID2
reg(0x00DC) 00 00	RDID3
reg(0x00E0) 00 07 26 3B 0E 15 0A 77 6A 5F 04 01 07 36 38 0D	GAMMA-P
reg(0x00E1) 00 00 3E 21 09 1E 0B 01 1B 3B 0B 06 04 1E 1A 05	GAMMA-N
reg(0x00EF) 00 80 00 10 60 40	ILI9327
reg(0x00F2) 00 18 A3 12 02 B2 12 FF 10 00 00 00	Adjust Control 2
reg(0x00F6) 00 54 80 66	Interface Control

Unfortunately I dont have other arduino board but I was using this for other projects.

david_prentice:
The stupid question: have you plugged the shield into the Arduino?
Some people use random Dupont cables instead of plugging the male shield pins into female Arduino sockets.

Yes, I plug directly it into the Arduino. I cant explain it better, there is a picture attachment, imagine that I grab the display like on the picture, turn it upside down and plug it.
Thank you for helping !
David

I would ask for a full refund. The LCD_ID_readreg report has run twice. Both show "wrong" values for an ILI9486.

David.

Hi David!

I have claimed for a full refund, that's okay for now. But the interesting thing that is I have been trying to avake the display somehow. I downloaded random libraries and the LCDWIKI KBV library has done something.
Running colligate test resulted a flickering screen, and it seems it has a vertical mirroring effect. The result is attached as a picture.

What do you think, changing the cpp file of the library will result something in better operation?

Thanks for help:
David

Sorry, I forgot to mention that it "works" when I choose the st7735s driver option.

I downloaded random libraries and the LCDWIKI KBV library has done something.
Running colligate test resulted a flickering screen, and it seems it has a vertical mirroring effect.

Please post a link to the specific badly spelled library that you are using.
Please quote the actual name of the example sketch. e.g. the path in the ZIP file.

Sorry, I forgot to mention that it "works" when I choose the st7735s driver option.

You show "real life" photos in #0. They clearly show a pcb with a Parallel TFT. And a label that says ILI9486.

LCDWIKI is famous for its bad spelling but ST7735S refers to a Sitronix 132x162 controller with an SPI interface. Yes, it is available with a Parallel interface but screens are normally 1.44 inch 128x128 or 1.8 inch 128x160.

Since you get "unexpected" values from LCD_ID_readreg.ino I would just assume your controller is BROKEN.
An Ebay shop will normally give a full refund immediately. There is no such thing as a "partially working" screen. So a "part refund" is not applicable.

In an ideal world the shop would send a replacement. But they tend to only offer refunds.

David.

This topic was automatically closed after 44 days. New replies are no longer allowed.