White screen TFT ILI9488

Thread Starter

Dabi_aljv

Joined Dec 11, 2024
2
Good day everyone.


So, I'm working on a project of an automatic irrigation system using Arduino Mega 2560 and RTC DS3231, using an ILI9488 TFT 4 wire SPI communication screen for the interface. So far, everything works perfectly when simulating with Proteus 8 (but since there's no ILI9488, I had to use the ILI9341). The real problem is the physically assembly. Everything's connected, but when I upload the code to the Arduino, all I get is a white screen. I've attached what it actually should display on the screen (from the simulation, of course), and you can also check the connections made:
1735673377571.png
1735673387155.png


I will also attach the code in a .txt file (it's very long, and it's in Spanish, so if you don't know Spanish, use the translator, sorry for that).

The weird thing is, sometimes when uploading the code, it shows something on the screen for a brief moment, then immediately goes white. It displays what it should, but incompletely, as if it didn't load properly. Sometimes it just shows a weird gray band in different parts of the screen. And other times it shows everything perfectly for a short moment and then goes white. I can't show you this specific problem because it only happens once in a while when uploading the code to the Arduino, and it's only for a few seconds, as I said before.

I tried very simple code examples (the graphictest that comes with the ILI9488 library and one where I paint it blue) and got the same results, white screen.


By the way, the code is made for the screen to only work if the RTC is connected, I forgot to mention that. But the RTC is working fine.
 

Attachments

Last edited by a moderator:

ericgibbs

Joined Jan 29, 2010
21,390
hi Dabi,
Welcome to AAC.

My method for locating a bug in a long program, is to write a short TFT driver debug program.

In your case, I would suggest you write a Sketch that simply displays a simple message, for example 'Ready', this should highlight any wiring problems.

If that works, load a simple TFT demo program and get that working.

E
BTW: You can upload to the Forum using an .ino extension, I have converted your Sketch.
 
Top