I just got into micro controllers. I bought an ILI9341 TFT display on AliExpress to get familiar with the ESP32 micro controller family. I am trying to print a simple text on the LCD, but it does not show a full screen. I don't know what I did wrong.
I tried using a simulator to see if the LCD i got was the issue, but even the ILI9341 on the simulator is not rendering a full screen of display. Please help.
Here are the pictures of the issue: ESP32 Real Board and Display:
@obblit Tried both of your examples with an ESP32 wired as per your ESP32 (Simulator/Real Board) sketch cs-5 rst-4 dc-2 mosi - 23 sck - 18 miso -19. and they both worked fine.
The only difference I can see is that I powered my tft with 3.3v. Hard to see the pin numbers of the ESP32 in your simulation.
I drew two horizontal lines one at 0,1 and one at 0,318 just to see if the height looked right. They both looked good. My display has a wider black border along the side that has the connector and that is normal.
Your picture does not look good, possibly loose connections or bad display.
Turns out I made a mistake. The display is an ST7789 instead of an ILI9341. I used the TFT_eSPI library for the ILI9341, but it didn't work, so I changed the pins connection to match that of the ST7789 and changed the User_Setup.h configuration to match that of the ST7789.
It worked perfectly.
Thank you so much.
Thank you so much.
This helped me a lot.
Turns out I made a mistake. The display is an ST7789 instead of an ILI9341. I found that out by trying the TFT_eSPI library.
I change the configuration and pin connection that of the ST7789 and it worked.
So sorry guys. It was a mistake on my part. The display is an ST7789 not an ILI9341.
I used the TFT_eSPI library and set the configuration on the 'User_Setup.h' file to that of the ST7789, which I learnt from the video on this link tutorial video.
The display works well.
As for the simulator, I did not know that a black border at the bottom of the screen is a normal thing.
just one hour ago on an other topic opened by yourself I recommended you Displays from AliExpress. It seemed like you have no idea what they are and where to buy. I wonder if you already bought one and tried it to say they are bad.
actually I buy all my stuff on AliExpress and never had major problems with it.