ESP32S3 Interfacing 8bit Display Using LVGL and ESP IDF

Поделиться
HTML-код
  • Опубликовано: 26 авг 2022
  • Video Sponsor is PCBWay. They are having discount on 4 & 6 layers PCBs.You can get extra free coupons using the link below:
    www.pcbway.com/setinvite.aspx...
    In this tutorial I am sharing with you guys my experiment with ESP32S3 1.9 inch TFT T-Display development board from Lyligo, where I have managed to integrate LVGL display graphic library with ESP-IDF to build my own simple user interface and share my work on GitHub repository below.
    I have also tested the board factory firmware to test the display capabilities.
    The implemented code is explained in details. You can use lv_conf.h file as a reference for LVGL library configuration.
    ESP32S3 T-Display Development board Link:
    www.lilygo.cc/products/t-disp...
    www.aliexpress.com/item/10050...
    GitHub Repository:
    github.com/UsefulElectronics/...
    Thingiverse Profile:
    www.thingiverse.com/wardzx/de...
    MCU Used pin number saving techniques playlist:
    • STM32 Used Pin Number ...
    Useful Electronics Blogs website:
    www.usefulelectronics.net
    LVGL library documentation:
    docs.lvgl.io
    #esp32 #esp32project #embedded #embedded_systems #arduino #lvgl #electronics #iotapplications #iot
  • НаукаНаука

Комментарии • 55

  • @mertcelik6327
    @mertcelik6327 Год назад +5

    Looks amazing bro, nice tutorial👏🏻👏🏻

  • @NordicLab
    @NordicLab Год назад

    Thx, amazing work!

  • @92msya
    @92msya 8 месяцев назад

    nice tutorial👏🏻👏🏻🤩

  • @nicoladellino8124
    @nicoladellino8124 Год назад

    Very nice video, THX.

  • @tomashubelbauer
    @tomashubelbauer Год назад

    FYI I have a recent version of the board and the clock that comes on after using the EspTouch app now seems to configure its time zone automatically. At first it showed 12:34 (which was not local time in China, just the 1-2-3-4 digits) and then it switched over to my local time. Also the EspTouch app reported an error and said no device was found, but the board still picked up the wi-fi network credentials and configured itself successfully after a few tries. The process doesn't seem exactly reliable but with a little patience I was able to get it to work eventually.

  • @alekseybezruk795
    @alekseybezruk795 8 месяцев назад

    Thank you so much

  • @Eli-os5lx
    @Eli-os5lx Год назад

    if I wanted to use a bezel/shell, resizing the screen would be possible?

  • @Abc-sl1nf
    @Abc-sl1nf 11 месяцев назад

    Thx!

  • @gordsh1
    @gordsh1 Год назад +4

    Could you do a Tutorial with LVGL with Arduino IDE for esp32?

    • @usefulelectronics
      @usefulelectronics  Год назад +1

      Hi
      Here is a good resource if you are on Arduino IDE
      github.com/Xinyuan-LilyGO/T-Display-S3

  • @mfsax
    @mfsax Год назад +3

    Nice presentation, but why you tell we can show 256 colors (video at 2:17) ? 8bit is the communications interface, not the color depth. Indeed, in your example you set the colors as 24bit RGB value.

    • @usefulelectronics
      @usefulelectronics  Год назад

      Well yes it I should have explained that part in more details.
      As far as I know ST7789V display controller does not support 24bit pixel

    • @AB-uk4pd
      @AB-uk4pd Год назад +1

      Yep, it Has 18bit but normally 16bit are used

  • @giuliobuccini208
    @giuliobuccini208 Год назад

    What about of the brighteness of the display? It is readable outdoor under a sunshield/suncover?
    Maybe the brightness can be regulated/pumped up?

    • @usefulelectronics
      @usefulelectronics  Год назад

      The brightness can be controlled by driving the backlight pin with PWM signal. I can add this feature in the future. Stay tuned:)

    • @giuliobuccini208
      @giuliobuccini208 Год назад

      @@usefulelectronics Interesting... do you mean the pin #38 labeled as "LCD_BL", yes?
      Do you think it can pumped-up with something like "analogWrite(255)"? (I have no experience on ESP32, only on Arduino, sorry)

    • @alejandroperez5368
      @alejandroperez5368 4 месяца назад +1

      @@giuliobuccini208 Nah, it can only be decreased, not increased.

  • @YO2LDK
    @YO2LDK Год назад

    on ESP32 Boards, SDA SCL was at 21 22 pinouts, here is only 21..
    Where i can connect it i2c devices on this board?

    • @usefulelectronics
      @usefulelectronics  Год назад +1

      ESP32 has pin signal multiplexing capability. You can change the I2C pins to the available ones.

  • @JimmyBaevsky
    @JimmyBaevsky Год назад

    Please tell is it possible to program color lcd to output graphic of full blood?? Where would be posdible to take libraries to use with Arduino IDE??

    • @usefulelectronics
      @usefulelectronics  Год назад

      You need to make some tweaks to make it work with Arduino IDE

  • @Abc-sl1nf
    @Abc-sl1nf 11 месяцев назад

    Can you do a video with LGVL Studio using GPIO pins with buttons? Turn something on/off.

    • @usefulelectronics
      @usefulelectronics  11 месяцев назад

      I will be having more tutorials related to LVGL with T-HMI board. Stay tuned for that !

  • @demianzenkov
    @demianzenkov Год назад

    Binary from repo runs fine. But after successfully rebuilding project in my workspace (idf 5.0.0), display not showing anything. Backlight is ok, tasks are running, output log same as in readme, but no picture. Please provide idf version you used for the binary in your repo build folder.

    • @usefulelectronics
      @usefulelectronics  Год назад

      This repo is not compatible with IDF 5.0
      Use IDF 4.3 version

    • @demianzenkov
      @demianzenkov Год назад

      @@usefulelectronics Thanks for the reply. I will try 4.3. And do you know what are the issues with v5? Everything compiles and seems working, but display doesn’t show anything.

  • @lukaspetrikas6320
    @lukaspetrikas6320 Год назад

    Very good and helpful video. Just one thing I do not understand about displaying a simple image using lvgl:
    Every image must have a .png and .c component. Lets say I download a .png format image from google. How can I create the .c part for that image? For example, in your project you have ue_logo.c and ue_logo.png. How did you create ue_logo.c?

    • @usefulelectronics
      @usefulelectronics  Год назад

      Hi,
      After that tutorial I worked with squareline studio which makes things a lot easier.
      Check out this tutorial:
      ruclips.net/video/Td08fweKXwY/видео.html

    • @lukaspetrikas6320
      @lukaspetrikas6320 Год назад

      Thanks! Did you manage to get the touch driver for the T-Display-S3 to work on esp-idf though?

    • @usefulelectronics
      @usefulelectronics  Год назад

      @@lukaspetrikas6320 unfortunately the board TTL got damaged and I can’t flash the MCU with a new firmware

  • @humbertopineda364
    @humbertopineda364 6 месяцев назад

    Hola disculpa amigo, quería saber si puedes hacer un video enseñando desde cero como configurar SquareLine_Studio para esta placa ya que no esta bien claro como se configura el proyecto y como exportarlo. podría ser algo simple pero se agradecería mucho.

    • @usefulelectronics
      @usefulelectronics  6 месяцев назад

      Hi,
      thank you for the feedback. I already have a complete playlist about LVGL and squareline. Stay sharp for the upcoming tutorials.
      ruclips.net/video/FGpmd90ahqw/видео.html

  • @RD-ni7qe
    @RD-ni7qe 10 месяцев назад

    How are you supposed to mount the display to anything if it doesn't have 4 x mounting holes at each corner?
    I'll never understand why display manufacturers don't think about this...

    • @alejandroperez5368
      @alejandroperez5368 4 месяца назад

      You aren't. This is a development board. That means it's not intended as a final product, just testing.

  • @blcouz
    @blcouz 8 месяцев назад

    Where are you from ?

  • @pepedecoatza
    @pepedecoatza Год назад

    What is the differences betwwen this "IDF" and the other "Espresiff 32 platform" for PlatformIO? Thanks

    • @usefulelectronics
      @usefulelectronics  Год назад +2

      IDF is the native SDK of ESP32
      Platformio is a project done by an independent company

  • @Zuubiik
    @Zuubiik 6 дней назад

    how to run this with a THMI 2.8" with parallel interface?

    • @usefulelectronics
      @usefulelectronics  5 дней назад +1

      Hi,
      You will need to change the LVGL library and display driver configuration to suit the new hardware.

    • @Zuubiik
      @Zuubiik 5 дней назад

      @@usefulelectronics Successful . Thanks for this video, it was very helpful

  • @MegaMotorchik
    @MegaMotorchik Год назад

    How many IO pins are available on this board?

  • @browaruspierogus2182
    @browaruspierogus2182 Год назад +1

    unfortunately esp32 can't handle larger displays because of very slow psram and buggy memory access

  • @shamelyazaw
    @shamelyazaw Год назад +1

    am having nightmare flashbacks regarding LCD programming days 🤣

    • @usefulelectronics
      @usefulelectronics  Год назад

      We had no experience at that time bro :) and our concern was to pas courses to get rid of them :D

    • @shamelyazaw
      @shamelyazaw Год назад

      @@usefulelectronics 😂🤣

  • @Alan96555
    @Alan96555 Год назад

    Muy groso amigo, lo voy a ver. Yo queria usar esa libreria con los stm32 cortex m3 pero me parece que solo es compatible con los m4. Saludos buen video.

    • @usefulelectronics
      @usefulelectronics  Год назад

      Well, the library needs a good RAM footprint and high speed to handle the display

  • @kadirsrht6011
    @kadirsrht6011 Год назад

    I see a lot of turkish name wifi :) Where do you live

  • @christelting1359
    @christelting1359 Год назад

    Compile won't work because of people that love werror. Component library won't compile. The commented options in cmakelist don't work.