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