Go Down

Topic: 3.5" ILI9488/ILI9486 w ESP32 (Read 86 times) previous topic - next topic

joshferg

Hi All,

I'm trying to get this screen to work with an ESP32:

https://www.aliexpress.com/item/Smart-Electronics-3-5-inch-TFT-Touch-Screen-LCD-Module-Display-320-480-ILI9486-with-PCB/32588583847.html?spm=a2g0s.9042311.0.0.Iw57wd

So far I have not been able to find any useful documentation.

I did get the screen to display text using this library (the parallel version of TFT_eSPI):

https://github.com/konkrog/TFT_eSPI

However, the colors are off and the screen is very dim. I am thinking it might be due to this being a 16-bit screen and I only have 8-bit connected.

Is there anyway to tell if the screen is 8 or 16 bit?

I would prefer to use SPI for the connection, but again I'm not able to tell if the screen supports it.

Here are the pins it has:

T_CS
CLK
PEN
F_CS
MISO
MOSI
GND (x2
5V
VDD (x2)
BL
DB0-DB15
RST
WR
RD
CS
RS

I've been trying to get this thing to work for a week with very little success. Any help is greatly appreciated!

I have 4 others boards here as well from different suppliers. If this board is not going to work I can post details on the other boards.

Thanks!

david_prentice

#1
Sep 12, 2017, 12:31 am Last Edit: Sep 12, 2017, 12:32 am by david_prentice
Your display "looks" like 16-bit.   Your "library" is using 8-bit.

If you write a 16-bit colour to an 8-bit data bus,  you will get mostly blue/green result.    (or red/green if the BGR bit is set)

ESP8266 modules don't have enough GPIO for 8-bit parallel.
ESP32 modules have enough pins for 8080-8 but not enough for 8080-16.

I have never managed to get reliable results with MCUFRIEND_kbv as 8080-8 on a ESP32.

I suggest that you determine whether your display is 8080-8 or 8080-16.
Some have accessible IM# pins.    It is unlikely to find all three IM# signals.   You can often find IM0 which selects 8080-8 or 8080-16.

I suggest that you give up with parallel.   Buy an SPI module.   Run the original Bodmer library.

David. 

Go Up