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

  Рет қаралды 10,136

Retro Tech & Electronics

Retro Tech & Electronics

Күн бұрын

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.
#esp32 #platformio #arduino

Пікірлер: 15
@metivakili6355
@metivakili6355 7 күн бұрын
I watched 6 ads for only 12 min video .. GREAT! WELL DONE!
@glebetech6943
@glebetech6943 Жыл бұрын
A superb video, very clearly spoken, very informative. I have used PIO for a couple of years but I learnt some new techniques from your video. I shall look forward to more videos. Very happy to subscribe. I really like platformIO too!
@retrotechandelectronics
@retrotechandelectronics Жыл бұрын
Great to hear!
@mtnwildernessfamily
@mtnwildernessfamily Жыл бұрын
Awesome video, loving PlatformIO!
@retrotechandelectronics
@retrotechandelectronics Жыл бұрын
Glad you enjoy it!
@hennero.3826
@hennero.3826 8 ай бұрын
Thank you. Indeed this was enjoyable, entertaining and informative and I am happy to subscribe, too. 🙂 I do not have an ESP32 yet, merely ESP8266, therefore I have one question: Seems like you are using 2 adjacent breadboards for a reason. Are these ESP32 development boards so wide that there is no additional row left for connection at their sides when placed in the center of this type of breadboard? 🤔 Seems like.
@retrotechandelectronics
@retrotechandelectronics 8 ай бұрын
Yes this is the exact reason I use two breadboards.
@emanuelrebak6077
@emanuelrebak6077 2 ай бұрын
Genial, muchas gracias por compartir esto, incluso con los errores que puedan ocurrir en el momento, me ayudó mucho luego de varias horas perdidas. Saludos, like and sub.
@BerndSchmitt-Martinique
@BerndSchmitt-Martinique Жыл бұрын
You could explain in a next video, how to define the user_config parameters completely in the INI.file . Bodmer is very active and his library is updated often , in which case you always loose your user_setup modifications. This is especially bad in the Arduino IDE 2.xx . I helped myself, with a universal very long user_setup for connecting the TFT to all my different boards like Teensy ESP32 and the PI PICO. ,where I can comment out all the boards not in use and activate the connected one. Very good video--- I am looking forward to the next one perhaps using sprites, DMA-transfer ...AND....touch function. Greetings from Germany. And - don't forget the SD-Card . I never could make it work, with all the other functions together.
@ezrakoper
@ezrakoper 3 ай бұрын
Cool how modules become smthing useful in so relatively low complexity
@karlopetrinic6623
@karlopetrinic6623 5 ай бұрын
Thanks You for the vid! But I seem to have a problem, I use NodeMCU-32 and the screen is the same as Yours, but when I put starfield on the screen is just white and black, there is nothing showing on it. Can You help?
@noeroure5836
@noeroure5836 Жыл бұрын
Really helpful, thanks a lot
@retrotechandelectronics
@retrotechandelectronics Жыл бұрын
You're welcome.
@JCWren
@JCWren Жыл бұрын
I've never liked the Arduino IDE (disclaimer: The original one, I haven't looked at the new one), for three main reasons. The editor was horrible, the compiler suppresses far too many warnings, and it recompiles EVERYTHING seemingly every time. The editor wasn't much better than using Windows Notepad. The suppressed warnings leads to programming errors -- If you're program doesn't compile without warnings, you're doing something wrong. And the constant recompilation even after not making any changes is slows the development progress. I will say PlatformIO suffers from this, to a less degree. There's no need for it recompile (or more aptly, relink) when opening the monitor just after you've finished uploading it to the board.
@redhaboukhari4229
@redhaboukhari4229 Жыл бұрын
hello i have aprobleme whene i input the nuber it getting repeted as if i hold the key , can you help me
طردت النملة من المنزل😡 ماذا فعل؟🥲
00:25
Cool Tool SHORTS Arabic
Рет қаралды 24 МЛН
艾莎撒娇得到王子的原谅#艾莎
00:24
在逃的公主
Рет қаралды 54 МЛН
Happy birthday to you by Tsuriki Show
00:12
Tsuriki Show
Рет қаралды 12 МЛН
Before VS during the CONCERT 🔥 "Aliby" | Andra Gogan
00:13
Andra Gogan
Рет қаралды 10 МЛН
Using a 2.8in SPI LCD Touchscreen ILI9341 with an ESP32 on the new Arduino IDE 2
10:34
Cheap and Easy to Use ESP32 Screen!
8:21
Brian Lough
Рет қаралды 134 М.
Nerdminer with 8-bit parallel LCD
1:25
DigiLand
Рет қаралды 2 М.
Try these 16 Brilliant ESP32 projects!!!
11:18
ToP Projects Compilation
Рет қаралды 570 М.
PlatformIO: All you need to know in 10 Minutes!
10:56
J's e-shack
Рет қаралды 306 М.
Developing Embedded GUI with SquareLine Studio [2/2]
30:00
That Project
Рет қаралды 60 М.
Simple ILI9341 LCD Display With ESP32 Dev Module Step By Step
10:11
Arduino Touchscreen Display - Using a Resistive Touchscreen
38:51
DroneBot Workshop
Рет қаралды 406 М.
Google Pixel 9/Pro Review: Gimmick or Good?
24:05
Marques Brownlee
Рет қаралды 3,5 МЛН
Тест Ryzen AI 9 HX 370 и графики 890m
27:29
PRO Hi-Tech
Рет қаралды 98 М.
iPhone 15 Plus на Изгибе
0:59
Sergey Delaisy
Рет қаралды 224 М.
В ЧЕМ СЕКРЕТ ЗВУКОВ APPLE? | РАЗБОР
21:05