Using a 2.8in SPI LCD Touchscreen ILI9341 with an ESP32 on Platformio @rubin-tech
Using a 2.8in SPI LCD Touchscreen ILI9341 with an ESP32 on Platformio  @rubin-tech
Uploaded February 2023 | Updated September 2026, 2 weeks ago
Today well be interfacing the 2.8 inch SPI LCD Touchscreen with the ILI9341 chipset to an ESP32 using the current release of Platformio, taking advantage of both display and touchscreen features, though well skip the SD card as its just an addon to the board not directly connected to these systems. I have a separate video for SD card interfacing. Out setup will not be powered through the ESP32 so I'm setting up an HW-131, a well known cheap DC power supply for this task.

HiLetgo ILI9341 2.8" SPI TFT LCD Display Touch Panel 240X320 with PCB 5V/3.3V STM32
amzn.to/3LtJIh8

First I'll make sure that TDT_ESPI library is installed into this example project. Ive updated platformio.ini to set the monitor speed.

Following library installation, within the project pio and libdeps folder some library configurations will be made in support of out device. In particular, setup 42 will be addressed in a few files. Once these changes are made the physical wiring will be made between the two devices as demonstrated in the video.

In PlatformIO, I first attempt an easy example, copying from examples into the source folder from under the 320x240 sub folder to ensure correct operation and wiring of the device, the example is working correctly. Following this, a touchscreen example is loaded for testing, we can see that it does not compile, but I show why Arduino IDE examples do not always work out of the box, once modified for platformio, it proves to also work correctly, completing this demonstration.

As an Amazon Associate I earn from qualifying purchases. If you choose to purchase any of these items the links above provide a small commission that I use towards the making of these videos at no additional cost to you.

#esp32 #platformio #arduino
Using a 2.8in SPI LCD Touchscreen ILI9341 with an ESP32 on PlatformioHayward Maxflo VS Pool Pump Motor Drive Unit Repair - Part 2LG 49in Widescreen Monitor Unboxed , Configured and Reviewed with PIP and PBP functionsChevy Cobalt Detailed Fuel Pump Replacement in the DrivewayChevy Cobalt Front Speaker UpgradeAnker C1000 Solix Portable Power Unboxed and TestedGalaxy Watch - Pool Water Damage - Are they Swimming Pool Safe, Can it Be FixedMike and Toby snack timeAnother job replaced by a robot. #artificialintelligence #robotics1969 VW Motorola Sapphire IX AM Radio Restoration 9SMV - Part 1Antique Car Stereo Bluetooth Audio Retrofit with ESP32 - Part 3 of 4Yamaha VSTAR 1100 Maxair Predator Pro Pod Kit Installation and Maintenance
Rubintech |

Using a 2.8in SPI LCD Touchscreen ILI9341 with an ESP32 on Platformio

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER