Page 1 of 1

Vemos esp32 and lolin TFT 2.4 Should be easy

Posted: 31 May 2023, 10:04
by Quart
I have a Vemos D1 ESP32 and the lolin TFT-2-4
https://fr.aliexpress.com/i/32816065152 ... pt=glo2fra
https://docs.wemos.cc/en/latest/d1_mini ... t_2_4.html
The TFT sits in the ESP as a shield
It works fine in Openhasp but I wnat to use Espeasy because I have som other esp8266 witch I like a lot.

But I can get it to work.
Can someone please supply me with the Hardware - SPI config and the Devices - TFP ILI9342 config.
I cant find how the GPIO setting shall be.

Re: Vemos esp32 and lolin TFT 2.4 Should be easy

Posted: 31 May 2023, 10:56
by Ath
Quart wrote: 31 May 2023, 10:04 Can someone please supply me with the Hardware - SPI config and the Devices - TFP ILI9342 config.
I cant find how the GPIO setting shall be.
This link you supplied does have the exact pinout of the module, and for ESP32 you should be looking at the GPIO numbers, (not the confusing Wemos/Lolin Dx numbers intended for ESP8266). That's assuming you haven't changed any of the pin assignments on the display shield.
The Hardware page shows the SPI GPIOs in the SPI selection combobox, so you should be using the HSPI selection, or you can use the custom settings, just assign the CLK/MISO/MOSI pins as indicated in that board documentation.

When navigating to https://td-er.nl/ESPEasy/latest/ you can flash the correct .bin when using the Chrome (or Edge on Windows) browsers.
You will need the Display 4M build (second one listed) to have the correct plugins for both the ILI9341 TFT and the XPT2048 touch screen.

Re: Vemos esp32 and lolin TFT 2.4 Should be easy

Posted: 31 May 2023, 11:09
by Quart
Thanks for your answer.
But I think I got them wrong then.
My config looks like this.
hardware.JPG
hardware.JPG (122.08 KiB) Viewed 1256 times
Devices.JPG
Devices.JPG (96.19 KiB) Viewed 1256 times

Re: Vemos esp32 and lolin TFT 2.4 Should be easy

Posted: 31 May 2023, 12:05
by Ath
Most likely the LED pin of the LCD is not being activated. Not sure what you have connected that to, but the shield allows to connect to GPIO 5, 4, 0 or 2. By default it is not connected, so you won't be able to see the content. You can hard-wire the LED pin to 3.3V just to see if it is working, but when connecting it to a GPIO you can control the brightness, and turn it off using commands or using the Display time-out setting.

Re: Vemos esp32 and lolin TFT 2.4 Should be easy

Posted: 31 May 2023, 12:42
by Quart
I cant make it wrong ;-)
It works with Openhasp
shield.JPG
shield.JPG (40.73 KiB) Viewed 1248 times

Re: Vemos esp32 and lolin TFT 2.4 Should be easy

Posted: 31 May 2023, 15:10
by Quart
Solved it !
hardware.JPG
hardware.JPG (67.84 KiB) Viewed 1241 times
Devices.JPG
Devices.JPG (69.66 KiB) Viewed 1241 times

Re: Vemos esp32 and lolin TFT 2.4 Should be easy

Posted: 31 May 2023, 16:40
by Ath
Great you solved it, though it's a bit confusing that you have included a photo of the shield mounted on an ESP8266 board, while you show the configuration for an ESP32. Obviously the Wemos documentation is based on the ESP8266 board, and not adapted for the double-row ESP32 'mini' board.