Vemos esp32 and lolin TFT 2.4 Should be easy

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Quart
Normal user
Posts: 45
Joined: 16 Jul 2019, 10:08
Location: Sweden
Contact:

Vemos esp32 and lolin TFT 2.4 Should be easy

#1 Post by Quart » 31 May 2023, 10:04

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.

User avatar
Ath
Normal user
Posts: 3702
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Vemos esp32 and lolin TFT 2.4 Should be easy

#2 Post by Ath » 31 May 2023, 10:56

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.
/Ton (PayPal.me)

Quart
Normal user
Posts: 45
Joined: 16 Jul 2019, 10:08
Location: Sweden
Contact:

Re: Vemos esp32 and lolin TFT 2.4 Should be easy

#3 Post by Quart » 31 May 2023, 11:09

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 1391 times
Devices.JPG
Devices.JPG (96.19 KiB) Viewed 1391 times

User avatar
Ath
Normal user
Posts: 3702
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Vemos esp32 and lolin TFT 2.4 Should be easy

#4 Post by Ath » 31 May 2023, 12:05

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.
/Ton (PayPal.me)

Quart
Normal user
Posts: 45
Joined: 16 Jul 2019, 10:08
Location: Sweden
Contact:

Re: Vemos esp32 and lolin TFT 2.4 Should be easy

#5 Post by Quart » 31 May 2023, 12:42

I cant make it wrong ;-)
It works with Openhasp
shield.JPG
shield.JPG (40.73 KiB) Viewed 1383 times

Quart
Normal user
Posts: 45
Joined: 16 Jul 2019, 10:08
Location: Sweden
Contact:

Re: Vemos esp32 and lolin TFT 2.4 Should be easy

#6 Post by Quart » 31 May 2023, 15:10

Solved it !
hardware.JPG
hardware.JPG (67.84 KiB) Viewed 1376 times
Devices.JPG
Devices.JPG (69.66 KiB) Viewed 1376 times

User avatar
Ath
Normal user
Posts: 3702
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Vemos esp32 and lolin TFT 2.4 Should be easy

#7 Post by Ath » 31 May 2023, 16:40

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.
/Ton (PayPal.me)

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests