Using a 2.8in SPI LCD Touchscreen ILI9341 with an ESP32 on the new Arduino IDE 2

Поділитися
Вставка
  • Опубліковано 23 лис 2024

КОМЕНТАРІ • 81

  • @konero8537
    @konero8537 День тому +1

    why my screen cant full screen??? we have same component and i follow ur tutorials

  • @psyience3213
    @psyience3213 10 місяців тому +1

    I recently bought the "UNO R3 2.8 Inches TFT Touch Screen with SD Card Socket" and one major problem was that the header files took up over 50% of the program memory. That left just less than 16k bytes, and I wanted to program up 4 or 5 simple games for it so it REALLY was not a lot of memory left. Sure it's got an sd card slot which is cool for adding sprites and stuff but there isn't a simple way around the lack of program space left over.

  • @maxmuster9819
    @maxmuster9819 11 місяців тому

    Well done. Thanks. I use the 3.3V from the ESP32 for the power supply of the display (v1.2), and it works without any issues.

  • @billglass5160
    @billglass5160 5 місяців тому +2

    This video deserves a 5-star rating. I have been trying to function an ESP32 program using the Adafruit_GFX.h, Adafruit_ILI9341.h, and XP2046.h librarys with little success. (The librarys seem to be targeted for the Teensy microcontroller). The Adafruit graphicstest.ino was running at turtle-speed and I had no success for the 320x240 tft display touch function. I then used the tft_espi library to find a working touch function and an extremely fast graphicstest. Very minor modifications to my program were necessary. Very valuable information in this video!!!!!

  • @billybbob18
    @billybbob18 Рік тому

    You can get a 40mhz clock on that display by modding a few lines in the TFT _eSPI library. That combination can give you crazy frame rates.

  • @sakisv4138
    @sakisv4138 Рік тому

    Bingo, it worked at once, thanks again man you saved a lot of time!

  • @abrown2637
    @abrown2637 5 місяців тому

    You are awesome for putting this info out there, thanks

  • @guntherberger493
    @guntherberger493 Рік тому

    Your explanation is fantastic, thanks 1000x from Austria/Europe ! br Günther

  • @NicholasRadina
    @NicholasRadina Рік тому

    Thank you!! I was stuck until I found your help. Cheers!

    • @retrotechandelectronics
      @retrotechandelectronics  Рік тому

      Glad to help

    • @NicholasRadina
      @NicholasRadina Рік тому

      Curious if you know what of the LCD pins to GPIO pin designations are able to be changed to other GPIO pins. Thanks for any help!

  • @KekoElectronic
    @KekoElectronic 10 місяців тому

    Excellent, thanks for the detailed post

  • @billcheung5326
    @billcheung5326 Рік тому

    Great video with good help! Thanks. Can you advise how you decided with wiring of the pinout? Thanks again!

  • @-Fritz-
    @-Fritz- Рік тому

    Exceptionally well done. Thanks.

  • @billfield8300
    @billfield8300 Рік тому

    Good demonstration and explanation. You mentioned that the device uses quite a bit of power.. Do you have a value for that? Do you know how much current it draws? That would be helpful for me. I have a datasheet but it is quite lacking in electrical information. Thanks.

  • @jorgezambrano6993
    @jorgezambrano6993 11 місяців тому

    Hola.. te cuento, tengo la pantalla tft 2.8 y el esp32. pero no logro que funcione el touch. he realizado todo tal cual lo muestras en tu video.
    1. #include .
    2. #define TOUCH_CS 5 // Chip select pin (T_CS) of touch screen.
    tal cual quedan abilitado.
    en cuanto a la pantalla si genera las imagenes correctamente. pero al incluir el programa para la KEYPAD no funcina el touch
    en el monitor serie solo muestra:
    13:42:44.963 -> 8�����1��V(���1�р�.
    el cableado esta tal cual el video

  • @markuspfaff5504
    @markuspfaff5504 Рік тому

    good and interesting video, thank you. Is there a way in the parameters that the displayed text on the button can be centered vertically? At the moment it looks like the text is slightly vertically shifted upwards.

  • @luckylazer3938
    @luckylazer3938 Рік тому +1

    I’m kinda stuck on a white screen. I followed every step along the way but no luck. I am using a custom pcb with a WROOM-32E

  • @Imufur
    @Imufur Місяць тому

    the not ideal thing you say, to fix that you should have ran the LED from the power supply instead of the 3V3?

  • @nathanneisan5697
    @nathanneisan5697 5 місяців тому

    nice vids thanks, btw could you help me, mine was having only 3/4 of the screen 1/4 blank i dont know why, when i change the rotation from 1 to 3 it change from left to right what should i do ?

  • @siewkiawTan
    @siewkiawTan 4 місяці тому +1

    Hello...i like your video ... i try on a ESP32 WROOM, but e ILI9341 only able to show half screen....i try all TFT_eSPI example all display half screen... do you know how to resolved this?

  • @santhoshv6284
    @santhoshv6284 Рік тому +1

    Isn't VCC 3.3V? Supplying 5V can possibly damage circuits in the display

    • @pbart9821
      @pbart9821 Рік тому

      This one has resistors to protect it

  • @jinsoku1911
    @jinsoku1911 Рік тому

    ​@retrotechandelectronics when you show the star field a capacitor suddenly shows up on the breadboard. What was that for?

    • @retrotechandelectronics
      @retrotechandelectronics  Рік тому

      Cap is added on certan esp32 boards to help with brownout condition that may occur across ground and vin. not part of actual project.

  •  10 місяців тому

    Olá tudo bem não consegui fazer funcionar se poderia fazer mais um vídeo recente

  • @teohjingyang3082
    @teohjingyang3082 6 місяців тому

    What if my tft display is a 3.5" 480x320? Are the steps the same? especially those in User_Select_.h files

    • @retrotechandelectronics
      @retrotechandelectronics  6 місяців тому

      You would need to select the line in the config for the appropriate display.

  • @mpimomimo640
    @mpimomimo640 8 місяців тому

    Please assist i Have a esp32 DA Module with 38 pins and a TFT 240mmx320mm touchscreen , i followed the respective steps on your video, and my screen is just white

  • @mrblack3020
    @mrblack3020 Рік тому +1

    I have a blank white screen when i connect my t_clk to pin 18. The screen works with it not pluged in but then i have no touch screen any ideas?

    • @titouangautier5359
      @titouangautier5359 25 днів тому

      Hi, I have the same problem, did you resolved it ?

    • @jumbo999614
      @jumbo999614 21 день тому

      @@titouangautier5359
      vcc 3.3v
      gnd ground
      cs 15
      rst 4
      dc 2
      mosi 23
      csk 18
      led 3.3v
      miso (not connect)
      t_slk 18
      t_cs 21
      t_din 23
      t_do 19
      some of them are shared connection which mean they use the same pin from ESP32.

  • @lohikarhu734
    @lohikarhu734 6 місяців тому

    I just wondered if you have the project software Listed? Haven't had time to watch the whole video (quite ill, at the moment), sorry if you point to it in the video...

  • @JCWren
    @JCWren 2 роки тому

    Good video, be interested to see what you end up using the touchpad for. One of THE most irritating things about the Arduino/PlatformIO environment is the unnecessary recompilations. 2nd to that is suppressing useful warnings in the name of "ease of use".

    • @tookitogo
      @tookitogo 2 роки тому +2

      The looniest thing is the Arduino IDE 2.0’s way of implementing code auto-completion and error detection: it’s constantly recompiling in the background. So it’s always lagging behind, and it basically can’t keep up with me. (And I am hardly some programming whiz.)
      I’ve moved completely to PlatformIO.

    • @JCWren
      @JCWren 2 роки тому +2

      @@tookitogo I haven't looked at 2.0 yet, and it looks like I won't bother to. 2.0 is built on Eclipse, which I've never cared for (buried configuration options, difficult to move projects between machines, etc). I'm a command line kinda guy, and PlatformIO suits me much better. I'll stick with what keeps me productive.

    • @tookitogo
      @tookitogo 2 роки тому

      @@JCWren Do you use PlatformIO within Visual Studio Code like most people, or do you run the pure CLI version? (Just curious.)

    • @JCWren
      @JCWren 2 роки тому +1

      @@tookitogo Pure CLI. I use vim for it's cross-platform portability. Copy my .vimrc file from a Linux, Windows, or Mac machine, and it behaves the same everywhere.

    • @retrotechandelectronics
      @retrotechandelectronics  Рік тому +2

      I was going to use it for the sprinkler project but ended up using the lcd screen and an encoder wheel.

  • @סיניגרבי
    @סיניגרבי 10 місяців тому

    hi.
    thank for the movie.
    i do like you. but the display show 80% display.
    can i help me with that?

    • @retrotechandelectronics
      @retrotechandelectronics  10 місяців тому

      דוגמה עבור צג [320x240], עליך לזכור לבחור מספר 42 ב- 'user.setup.select.h' [240x320].

  • @j-baz6454
    @j-baz6454 2 роки тому

    Great Video, Thanks!

  • @alhasan838
    @alhasan838 Рік тому

    How can I create an interface with an image matrix

  • @herrkronen9694
    @herrkronen9694 8 місяців тому +1

    What was that shitty thing with "python" ?? Do I need python in my computer to use the library ?

  • @GLOWUPP
    @GLOWUPP Рік тому +2

    The code plz !!

    • @pramagetable
      @pramagetable 9 місяців тому

      The code is available when you choose files>examples>tft-espi> and you choose the program you want it opens up and you just have to compile it to make it run😊

    • @GLOWUPP
      @GLOWUPP 9 місяців тому +1

      @@pramagetable bro i graduate 7 months ago 🤣 i needed that for my thesis but it's okay 😅

  • @Vagubando
    @Vagubando Рік тому +1

    I have letters inverted vertically on such a display. I have tried many libraries, but there is no result. Advise me where to dig ?????

    • @retrotechandelectronics
      @retrotechandelectronics  Рік тому +2

      tft.setRotation(1);

    • @Vagubando
      @Vagubando Рік тому

      @@retrotechandelectronics Эта команда переворачивает ВЕСЬ экран, а мне надо ТОЛЬКО буквы в тексте.
      This command turns the WHOLE screen, and I ONLY need letters in the text.

  • @DmytroSaliy
    @DmytroSaliy 10 місяців тому

    Дякую. Відео дуже допомогло.

  • @InvisiblePinkSoylent
    @InvisiblePinkSoylent Рік тому

    Jenny don't change your number!

  • @tdmckee-mm8wn
    @tdmckee-mm8wn 2 роки тому

    Libary? Where did the “r” go? Library.

  • @Vagubando
    @Vagubando Рік тому

    Where is the code ?

  • @appdronemap9475
    @appdronemap9475 Рік тому

    tks

  • @dbjindian
    @dbjindian Рік тому

    No code no use