ESP32 with ILI9488 White screen #2309
-
I'm having trouble getting anything to display and I could really use some help! None of the examples work. All I get is the LCD backlight turns on. No graphics.
User_Setup.h #define ILI9488_DRIVER // WARNING: Do not connect ILI9488 display SDO to MISO if other devices share the SPI bus (TFT SDO does NOT tristate when CS is high)
//ESP32
#define TFT_BL 32 // LED back-light control pin
#define TFT_BACKLIGHT_ON HIGH // Level to turn ON back-light (HIGH or LOW)
#define TFT_MISO 19 //MISO
#define TFT_MOSI 23 //MOSI
#define TFT_SCLK 18 //SCK
#define TFT_CS 15 // Chip select control pin
#define TFT_DC 2 // Data Command control pin
#define TFT_RST 4 // Reset pin (could connect to RST pin)
#define TOUCH_CS 21 // Chip select pin (T_CS) of touch screen
#define LOAD_GLCD // Font 1. Original Adafruit 8 pixel font needs ~1820 bytes in FLASH
#define LOAD_FONT2 // Font 2. Small 16 pixel high font, needs ~3534 bytes in FLASH, 96 characters
#define LOAD_FONT4 // Font 4. Medium 26 pixel high font, needs ~5848 bytes in FLASH, 96 characters
#define LOAD_FONT6 // Font 6. Large 48 pixel font, needs ~2666 bytes in FLASH, only characters 1234567890:-.apm
#define LOAD_FONT7 // Font 7. 7 segment 48 pixel font, needs ~2438 bytes in FLASH, only characters 1234567890:-.
#define LOAD_FONT8 // Font 8. Large 75 pixel font needs ~3256 bytes in FLASH, only characters 1234567890:-.
#define LOAD_GFXFF // FreeFonts. Include access to the 48 Adafruit_GFX free fonts FF1 to FF48 and custom fonts
#define SMOOTH_FONT
#define SPI_FREQUENCY 27000000
#define SPI_READ_FREQUENCY 16000000
#define SPI_TOUCH_FREQUENCY 2500000 I'm sure I've got the wiring correct, but here's some pics just in-case: |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 4 replies
-
Run the Read_User_Setup example and look at the serial monitor output. Check the correct setup information is being picked up by the compiler. That display + processor combination has been tested and should work. The soldering on the header of the display looks a bit dodgey so it would be correcting that. |
Beta Was this translation helpful? Give feedback.
-
Read_User_Setup output is correct. I applied extra solder to all the pin heads and tested continuity from the pin base to ICs/pads and all are working. I would also add that the touch screen is working so there's that. Is it possible this isn't ILI9488? I would have thought if it was mis-labelled, I'd at least get some junk pixel flashing going on. |
Beta Was this translation helpful? Give feedback.
-
I can't see anything wrong. I suggest you try different drivers to see if it is mislabelled. ILI9486_DRIVER and ILI9481_DRIVER would be good to try. |
Beta Was this translation helpful? Give feedback.
-
Nothing from either of those. :-/ |
Beta Was this translation helpful? Give feedback.
-
What versions are you using of ESP32 board package, Arduino IDE and TFT_eSPI? |
Beta Was this translation helpful? Give feedback.
-
Interestingly in this post a user has bought the same display part number from amazon and it did not behave like a normal ILI9488 screen. This suggests it is a different controller or a Chinese clone chip perhaps. Maybe try a lower SPI clock rate? Typically an ILI9488 will run up to 80MHz but if it is a different chip it may have a lower maximum clock rate. |
Beta Was this translation helpful? Give feedback.
-
No difference :( I've contacted the Amazon seller asking them to link me to a lib that they know is 100% working. I'll post back here when they get back to me and let you know what happens either way. |
Beta Was this translation helpful? Give feedback.
-
They got back to me and said they're giving me a refund.. Didn't even bother trying to link to a library! I guess it's a cheap knock-off and they have zero confidence in it? I'm sorry for taking up your time on this as it was a dead end, but I really aprecheate your effort to resolve this! |
Beta Was this translation helpful? Give feedback.
They got back to me and said they're giving me a refund.. Didn't even bother trying to link to a library! I guess it's a cheap knock-off and they have zero confidence in it? I'm sorry for taking up your time on this as it was a dead end, but I really aprecheate your effort to resolve this!