TFT 2.8" shield support

FYI I have read all of the (many) related threads, see listed below the attempts to follow their advice.

I cannot get this screen to do anything other than show a blank white screen. I purchased it from Jaycar Australia, who provide instructions in a document (linked to here) which I followed, including modifying the file 'MCUFRIEND_kbv.cpp' to include 0x8230 (as per instructions), 0x9320 and 0x9325 (7575 and 9335 are not listed).

I ran the example LCD_ID_readreg with the output as follows:

reg(0x0000) 75 75 ID: ILI9320, ILI9325, ILI9335, ...
reg(0x0004) 00 00 00 00 Manufacturer ID
reg(0x0009) 3F 3F 3F 3F 3F Status Register
reg(0x000A) 00 00 Get Power Mode
reg(0x000C) 01 01 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 00 00 00 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 00 00 00 Panel Control
reg(0x00C8) 00 00 00 00 00 00 00 00 00 00 00 00 00 GAMMA
reg(0x00CC) 00 00 Panel Control
reg(0x00D0) 00 00 00 Power Control
reg(0x00D2) 00 00 00 00 00 NVM Read
reg(0x00D3) 00 00 00 00 ILI9341, ILI9488
reg(0x00D4) 00 00 00 00 Novatek ID
reg(0x00DA) 00 00 RDID1
reg(0x00DB) 00 00 RDID2
reg(0x00DC) 00 00 RDID3
reg(0x00E0) 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 GAMMA-P
reg(0x00E1) 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 GAMMA-N
reg(0x00EF) 49 49 49 49 49 49 ILI9327
reg(0x00F2) 08 08 08 08 08 08 08 08 08 08 08 08 Adjust Control 2
reg(0x00F6) 00 00 00 00 Interface Control

I also tried:

following the instructions provided in the file mcufriend_how_to,

plugging the shield into a both MEGA and an UNO,

running the graphictest_kbv example, changing the line "unit16_t ID = tft.readID()" to "unit16_t ID = 0x7575", "unit16_t ID = 0x9320", "unit16_t ID = 0x9325" and "unit16_t ID = 0x9335",

running the Adafruit TFTLCD library graphicstest example with the result: 'Unknown LCD driver chip: 5151',

running the GLUE_Demo.

Could someone please let me know if I've missed something before I ask for my money back?

Put this part of code in your void Setup:

Serial.println(F(tft.readID());

The number you get in the Serial monitor,copy it and paste it in here

tft.begin(9301);

Here mine was 9301.Your number can be different.
.
.
.
.

As you said here:

running the Adafruit TFTLCD library graphicstest example with the result: 'Unknown LCD driver chip: 5151',

Your number(Chip Id) is 5151 so you should add the code to your Void Setup:

tft.begin(9301);

Thanks for taking the time to reply @mrorange2611 . I tried using 5151 as the identifier without success.

I had the same problem. The doc for the screen is out of date, I suspect. The line you need to uncomment in MCUFRIEND_kbv.cpp is this one:

#define SUPPORT_8347D //HX8347-D, HX8347-G, HX8347-I, HX8367-A +520 bytes, 0.27s

1 Like

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