Arduino R4 Wifi and 3,5 inch TFT white screen

Hello,

I am trying to use a 3,5 inch tft screen with my arduino R4 Wifi, sadly I am only getting a white screen.
I ran LCD_ID_readreg.ino and got the following result:

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 0E 0E 0E 0E 0E 0E 0E 0E Panel Control
reg(0x00C8) 00 00 00 00 00 00 00 00 00 00 00 00 00 GAMMA
reg(0x00CC) 00 04 Panel Control
reg(0x00D0) 00 00 00 Power Control
reg(0x00D2) 00 00 00 00 00 NVM Read
reg(0x00D3) 00 00 94 86 ILI9341, ILI9488
reg(0x00D4) 00 00 00 00 Novatek ID
reg(0x00DA) 00 54 RDID1
reg(0x00DB) 00 80 RDID2
reg(0x00DC) 00 66 RDID3
reg(0x00E0) 00 0D 1D 14 04 1A 0C 6E 5E 04 0E 16 06 36 23 09 GAMMA-P
reg(0x00E1) 00 0F 07 25 0F 0B 0B 0C 8F 7C 0D 17 04 2D 2F 0F 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

I uncommented the following lines in the MCUFRIEND_kbv.cpp file
#define SUPPORT_8347D
#define SUPPORT_8347A
#define SUPPORT_8357D_GAMMA //monster 34 byte

Stil a white screen.

I tested the screen on arduino R3 and it worked. What am i doing wrong?

Tnx in advance

Sjak

You use a library that doesn't support UNO R4.
Take a look around here: https://forum.arduino.cc/c/hardware/uno-r4/185 and see e.g.:
https://forum.arduino.cc/t/uno-r4-wifi-3-5-tft-lcd-shield-white-screen/1195026/18

Tnx for the quick response. Could you point me to the correct library? Im using Arduino_gfx by @moononournation which should be the latest according to @ZinggJM in this post: UNO R4 WIFI : 3.5" TFT LCD Shield white screen - #2 by ZinggJM

Arduino_GFX available in Library Manager as GFX Library for Arduino .

And it doesn't work for you?
Please provide a link to your display. Is it an Arduino UNO shield? What controller does it have? Check controller ID with MCUFRIEND_kbv on Arduino UNO R3.
If it doesn't work, report the constructors you used.
See also https://forum.arduino.cc/t/uno-r4-wifi-3-5-tft-lcd-shield-white-screen/1195026/17,
if needed, copy the new driver class from my fork.
-jz-

Hello,
I actually did try to copy those files already. Sadly that did not work.
This is where I bought the screen:

Running MCUFRIEND_kbv (diagnose tft support) results in
tft.readID() finds: ID = 0x9486

Tnx in advance

I am too busy to play ping-pong!

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