Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

White screen TFT ILI9488

Dabi_Aljv

New Member
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:

1735676361270.png


1735676374905.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

  • Programador_de_Riego_ATmega328p_con_ILI9341.txt
    50.8 KB · Views: 16
What speed is your SPI? Breadboard doesn't like fast.. Max I get is 4Mhz on breadboard..

Most ILI screens init the same.. ( except power ) but I think the clock is causing an issue.
 
I use one of those displays in a project - I have a nine wire ribbon cable to the nine lower pins (as you have it oriented in the photo).

I'm using the "TFT_eSPI" library by Bodmer to work with it; it's in the Arduino libraries, you just need to install it & select an appropriate configuration.

It works fine in this setup.
 

New Articles From Microcontroller Tips

Back
Top