3.5 inch 480*320 TFT LCD Module Screen Display ILI9488 Controller To a ESP32

Hello,

I am in need of assistance on topic of connecting this display purchased from AliExpress

To an ESP 32 I haven't found any exact connecting diagram so I would ask any experts on this topic for help

Also, I would like to connect this fingerprint sensor

To summarize I need a connection diagram of this display and fingerprint sensor to esp32 if possible

Thank you very much

Here is some really good advice. Ask for advice, then make a purchase. Not the other way around.

This display is designed as a shield for Uno or Mega, which have the shield form-factor. Esp32 does not.

Yeah...

I know that i made a mistake, but I don't mind connecting a few jumper wires. In my project this display is meant to be separate from the microcontroller anyways

Install TFT_eSPI library via the IDE Library Manager.

Use one of the ready-made hardware "User_Setup" files.
e.g. Setup16_ILI9488_Parallel.h
Connect all the TFT pins appropriately.
Get the TFT working first.

David.

The fingerprint scanner uses a serial/UART port. You may see example sketches written for Uno which use software serial library to communicate with the scanner. This is only because Uno has no free/available hardware UART ports. It's always better to use hardware serial than software serial. Esp32 has 2 free/available hardware serial ports, so use one of those for the scanner. Make sure you don't use the hardware serial pins for the display, use some other pins.

It's going to be quite a large number of jumper wires. If you had asked before purchasing, the forum would probably have recommended a display which uses SPI port rather than an 8-bit parallel port. Then, far fewer jumper wires would be required.

/
// ESP32 pins used
#define TFT_CS 33 // Chip select control pin
#define TFT_DC 15 // Data Command control pin - must use a pin in the range 0-31
#define TFT_RST 32 // Reset pin

#define TFT_WR 4
#define TFT_RD 2

#define TFT_D0 12
#define TFT_D1 13
#define TFT_D2 26
#define TFT_D3 25
#define TFT_D4 17
#define TFT_D5 16
#define TFT_D6 27
#define TFT_D7 14

This is what I have found in User Setup 16... my LCD display does not have this DC pin, on PCB is only written RST, CS, RS, WR, RD and D0 to D7. what do I connect as DC (data command)pin

Will do this next time, Thanks for the advice.

Your Shield calls TFT_DC LCD_RS.

DC means DataControl. i.e. 1 for Data, 0 for Control
RS means RegisterSelect. i.e. 1 for Data, 0 for Control

It is just a different name for the same thing.

David,

Thanks. I got the LCD working but my touch is not. I have found on GitHub that I need to define a touch select pin on something like that but I do not see the T CS pin marked on my shield is maybe written differently like RS pin?

T_CS is intended for displays with SPI Touch Controller chip e.g. XPT2046.

Your Shield just has a bare Resistive Touch Panel that shares pins with the TFT. You need to use TouchScreen.h or similar.

Bodmer might even have an example for this.

David.

hello David,

I could not find this example, maybe I am looking on the wrong sites.
Could you maybe try to point me in the right direction?

No, Bodmer does not seem to have a TouchScreen.h example.

I have used TouchSreen "buttons" on an ESP32 but it is a bit unstable. i.e. with MCUFRIEND_kbv.h

David.

Hi JanHacek,

Please note that I created this one:

Maybe this can help you
In my experience the ILI9488 is a mighty hard nut to crack with the ESP32. I am using the TFT_eSPI library by Bodmer.

Success, Photoncatcher