ESP32S3 Interfacing 8bit Display Using LVGL and ESP IDF

Ғылым және технология

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

Пікірлер: 52

  • @mertcelik6327
    @mertcelik6327 Жыл бұрын

    Looks amazing bro, nice tutorial👏🏻👏🏻

  • @usefulelectronics

    @usefulelectronics

    Жыл бұрын

    Thank you bro:)

  • @NordicLab
    @NordicLab Жыл бұрын

    Thx, amazing work!

  • @92msya
    @92msya7 ай бұрын

    nice tutorial👏🏻👏🏻🤩

  • @nicoladellino8124
    @nicoladellino8124 Жыл бұрын

    Very nice video, THX.

  • @alekseybezruk795
    @alekseybezruk7958 ай бұрын

    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-sl1nf10 ай бұрын

    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.

  • @usefulelectronics

    @usefulelectronics

    Жыл бұрын

    Thank you for sharing your experience!

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

    3 ай бұрын

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

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

  • @mfsax
    @mfsax Жыл бұрын

    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

    Жыл бұрын

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

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

    Жыл бұрын

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

  • @gordsh1
    @gordsh1 Жыл бұрын

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

  • @usefulelectronics

    @usefulelectronics

    Жыл бұрын

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

  • @shamelyazaw
    @shamelyazaw Жыл бұрын

    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 😂🤣

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

  • @Abc-sl1nf
    @Abc-sl1nf10 ай бұрын

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

  • @usefulelectronics

    @usefulelectronics

    10 ай бұрын

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

  • @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: kzread.info/dash/bejne/hphkmsiwla6-p7w.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

  • @blcouz
    @blcouz7 ай бұрын

    Where are you from ?

  • @RD-ni7qe
    @RD-ni7qe9 ай бұрын

    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

    3 ай бұрын

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

  • @MegaMotorchik
    @MegaMotorchik Жыл бұрын

    How many IO pins are available on this board?

  • @usefulelectronics

    @usefulelectronics

    Жыл бұрын

    13 available GPIOs

  • @MegaMotorchik

    @MegaMotorchik

    Жыл бұрын

    @@usefulelectronics aren't they all utilized by the LCD?

  • @pepedecoatza
    @pepedecoatza Жыл бұрын

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

  • @usefulelectronics

    @usefulelectronics

    Жыл бұрын

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

  • @humbertopineda364
    @humbertopineda3646 ай бұрын

    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. kzread.info/dash/bejne/eHukz8ZyYMTOodo.html

  • @browaruspierogus2182
    @browaruspierogus2182 Жыл бұрын

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

  • @kadirsrht6011
    @kadirsrht6011 Жыл бұрын

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

  • @usefulelectronics

    @usefulelectronics

    Жыл бұрын

    Istanbul

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

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

Келесі