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

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ก.พ. 2023
  • 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
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 13

  • @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!

  • @mtnwildernessfamily
    @mtnwildernessfamily ปีที่แล้ว +1

    Awesome video, loving PlatformIO!

  • @ezrakoper
    @ezrakoper 11 วันที่ผ่านมา

    Cool how modules become smthing useful in so relatively low complexity

  • @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.

  • @noeroure5836
    @noeroure5836 ปีที่แล้ว

    Really helpful, thanks a lot

  • @karlopetrinic6623
    @karlopetrinic6623 2 หลายเดือนก่อน

    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?

  • @hennero.3826
    @hennero.3826 4 หลายเดือนก่อน

    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.

  • @redhaboukhari4229
    @redhaboukhari4229 9 หลายเดือนก่อน

    hello i have aprobleme whene i input the nuber it getting repeted as if i hold the key , can you help me

  • @JCWren
    @JCWren ปีที่แล้ว +1

    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.