Comments on: ESP32: TFT LCD Touchscreen Display – 2.8 inch ILI9341 240×320 (Arduino IDE) https://randomnerdtutorials.com/esp32-tft-touchscreen-display-2-8-ili9341-arduino/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Mon, 14 Apr 2025 08:20:45 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Ezio https://randomnerdtutorials.com/esp32-tft-touchscreen-display-2-8-ili9341-arduino/#comment-1026845 Mon, 14 Apr 2025 08:20:45 +0000 https://randomnerdtutorials.com/?p=149757#comment-1026845 In reply to Sara Santos.

I have checked with a tester the continuity of the wires up to the solder joints above the ILI9341.
They are all okay.
At this point I think it is a problem with the display.
Is this possible?
Regards

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-tft-touchscreen-display-2-8-ili9341-arduino/#comment-1026122 Sat, 12 Apr 2025 10:23:08 +0000 https://randomnerdtutorials.com/?p=149757#comment-1026122 In reply to Ezio.

Hi.
Can you double-check the connections on the display?
Seems something related to the hardware.

REgards,
Sara

]]>
By: Ezio https://randomnerdtutorials.com/esp32-tft-touchscreen-display-2-8-ili9341-arduino/#comment-1025844 Fri, 11 Apr 2025 12:53:05 +0000 https://randomnerdtutorials.com/?p=149757#comment-1025844 Hello,
I have a problem with the ESP32 Dev Kit V1 and the ILI9341.
I have made the connections how to connect the GPIOs and installed the new Set_Up correctly.
Copied and installed the sketch.
I get the numbers of X, Y and Pressure on the display, but they are always the same if I press the display to different positions.
Even on the Serial Monitor the numbers are always the same.
I also tried with the “OnOff Button” sketch.
It draws me the Button on the video but it does not change if I touch or press the display.
I don’t know what to do

]]>
By: Scott https://randomnerdtutorials.com/esp32-tft-touchscreen-display-2-8-ili9341-arduino/#comment-1011595 Thu, 27 Feb 2025 15:18:07 +0000 https://randomnerdtutorials.com/?p=149757#comment-1011595 Can you confirm that the reset pin on the tft needs to be connected to the ESP’s EN pin? The ESP’s EN pin resets the ESP when pulled low, it isn’t used as an output. Can this trace be ignored altogether?

]]>
By: Raj https://randomnerdtutorials.com/esp32-tft-touchscreen-display-2-8-ili9341-arduino/#comment-996564 Thu, 02 Jan 2025 11:54:33 +0000 https://randomnerdtutorials.com/?p=149757#comment-996564 Hi Sara,

Could you explain how to add sd card feature of this screen with code and connection?

]]>
By: Marco https://randomnerdtutorials.com/esp32-tft-touchscreen-display-2-8-ili9341-arduino/#comment-985656 Sat, 23 Nov 2024 15:14:33 +0000 https://randomnerdtutorials.com/?p=149757#comment-985656 Excellent tuto de Rui SANTOS
J’ai utilisé votre programme avec un ecran tft lcd 480 x 320 ili9488 et cela fonctionne tres bien. Par contre, lorsque je veux utiliser la carte sd qui fait partie integrante de l ecran, la partie tactile de l ecran ne fonctionne plus. J utilise la bibliotheque SD.h pour le lecteur de carte. ,Merci si vous pouvez m aidre

]]>
By: Matthias Plohmann https://randomnerdtutorials.com/esp32-tft-touchscreen-display-2-8-ili9341-arduino/#comment-985013 Thu, 21 Nov 2024 19:30:33 +0000 https://randomnerdtutorials.com/?p=149757#comment-985013 Hello,
great work and a good help for me.
My X and Y coordinates are always displayed, whether I press the display or not. Pressure is always at about 40xx, X-axis jumps somewhere around 200 and Y moves at about 250. When I press on the display I can get the X-value small but never the Y. I already suspected that the display was probably faulty.
This is what the output looks like when the display is not touched.

20:25:44.464 -> X = 198 | Y = 256 | Pressure = 4040
20:25:44.603 -> X = 180 | Y = 259 | Pressure = 4026
20:25:44.728 -> X = 235 | Y = 257 | Pressure = 4029
20:25:44.867 -> X = 192 | Y = 258 | Pressure = 4030
20:25:45.007 -> X = 175 | Y = 256 | Pressure = 4039
20:25:45.097 -> X = 198 | Y = 256 | Pressure = 4029
20:25:45.270 -> X = 198 | Y = 247 | Pressure = 4028
20:25:45.410 -> X = 235 | Y = 257 | Pressure = 4018
20:25:45.499 -> X = 196 | Y = 257 | Pressure = 4034
20:25:45.673 -> X = 196 | Y = 257 | Pressure = 4034
20:25:45.812 -> X = 195 | Y = 257 | Pressure = 4033

Thank you very much for your effort and keep up the good work
Matthias

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-tft-touchscreen-display-2-8-ili9341-arduino/#comment-975877 Fri, 25 Oct 2024 09:23:32 +0000 https://randomnerdtutorials.com/?p=149757#comment-975877 In reply to Antonio Cesar de Oliveira.

Hi.
You need to change this line in the User_Setup file:
#define TFT_BL 21 // LED back-light control pin

However, you can use any pins for I2C—you don’t necessarily need to use the default ones. Check this tutorial: https://randomnerdtutorials.com/esp32-i2c-communication-arduino-ide/

Regards,
Sara

]]>
By: Antonio Cesar de Oliveira https://randomnerdtutorials.com/esp32-tft-touchscreen-display-2-8-ili9341-arduino/#comment-975773 Thu, 24 Oct 2024 21:05:11 +0000 https://randomnerdtutorials.com/?p=149757#comment-975773 In reply to Sara Santos.

Ok, because I intend to use ESP32 with 30 pins. I just have one more question.
LED is connected in GPIO21. I would like to keep free SDA and SCL to connect sensors.
So, how can I change GPIO21 ? Where Do I change this in the code or librarian?
Thank you for the attention.

Cesar

]]>
By: Sara Santos https://randomnerdtutorials.com/esp32-tft-touchscreen-display-2-8-ili9341-arduino/#comment-975713 Thu, 24 Oct 2024 14:12:02 +0000 https://randomnerdtutorials.com/?p=149757#comment-975713 In reply to Antonio Cesar de Oliveira.

No.
It’s the same.
If you need to adjust the connections, make sure to modify the code to reflect those changes.
Regards,
Sara

]]>