Page 1 of 1

ESP32 and 2.8" TFT display

Posted: Tue Jul 18, 2023 4:02 pm
by mereics
Hi! I want to connect a 2.8" TFT display with no touchscreen and my ESP32 NODEMCU32S. I have tried everything I could find on google, but I never found an example with my exact display. This is the link from the display https://www.optimusdigital.ro/ro/optoel ... 20-px.html and this is the link from the esp: https://ardushop.ro/ro/home/1449-nodemc ... results=31, so now you know the exact esp and display I am using.
The display has only 8 pins (GND, VCC,CLK,MOSI,RES,DC,BLK,MISO) and it says that it operates on 3.3V (both the alimentation and the logic), and my ESP32 is operating on 3.3V logic too, so they should work. I am trying to use the TFT_eSPI library with the example codes that they are providing.
This is my User_Setup.h config file: https://pastebin.com/V3Y3ScQr, and this is my User_Setup_Select file: https://pastebin.com/275qjj0m.
I connected the display as the configuration says: MISO ->GPIO19, MOSI->GPIO23,DC->GPIO02,RST->GPIO04, but all the pixels from the display are white (backlight), and if I ground the BLK pin, the display is fully black. I tried lots of differite libraries and configs, but it still doesn't work. Do you guys have any clue? Thanks!

Re: ESP32 and 2.8" TFT display

Posted: Sat Jul 22, 2023 6:41 pm
by pipi61
your display: Technical specifications
Driver: ILI9341
You selected in setup file the
#define ST7735_DRIVER // Define additional parameters below for this display
comment this,
and select the
// #define ILI9341_DRIVER // Generic driver for common displays
or
// #define ILI9341_2_DRIVER // Alternative ILI9341 driver, see https://github.com/Bodmer/TFT_eSPI/issues/1172
uncomment one line

Re: ESP32 and 2.8" TFT display

Posted: Fri Aug 18, 2023 10:04 pm
by Starlyn
Hi,

I have made some proyects with that display and ESP32. There is a library with some examples on arduino IDE. text me if you want some helps.