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
Looks amazing bro, nice tutorial👏🏻👏🏻
@usefulelectronics
Жыл бұрын
Thank you bro:)
Thx, amazing work!
nice tutorial👏🏻👏🏻🤩
Very nice video, THX.
Thank you so much
if I wanted to use a bezel/shell, resizing the screen would be possible?
Thx!
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
Жыл бұрын
Thank you for sharing your experience!
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
Жыл бұрын
The brightness can be controlled by driving the backlight pin with PWM signal. I can add this feature in the future. Stay tuned:)
@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
3 ай бұрын
@@giuliobuccini208 Nah, it can only be decreased, not increased.
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
Жыл бұрын
You need to make some tweaks to make it work with Arduino IDE
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
Жыл бұрын
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
Жыл бұрын
Yep, it Has 18bit but normally 16bit are used
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
Жыл бұрын
ESP32 has pin signal multiplexing capability. You can change the I2C pins to the available ones.
Could you do a Tutorial with LVGL with Arduino IDE for esp32?
@usefulelectronics
Жыл бұрын
Hi Here is a good resource if you are on Arduino IDE github.com/Xinyuan-LilyGO/T-Display-S3
am having nightmare flashbacks regarding LCD programming days 🤣
@usefulelectronics
Жыл бұрын
We had no experience at that time bro :) and our concern was to pas courses to get rid of them :D
@shamelyazaw
Жыл бұрын
@@usefulelectronics 😂🤣
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
Жыл бұрын
This repo is not compatible with IDF 5.0 Use IDF 4.3 version
@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.
Can you do a video with LGVL Studio using GPIO pins with buttons? Turn something on/off.
@usefulelectronics
10 ай бұрын
I will be having more tutorials related to LVGL with T-HMI board. Stay tuned for that !
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
Жыл бұрын
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
Жыл бұрын
Thanks! Did you manage to get the touch driver for the T-Display-S3 to work on esp-idf though?
@usefulelectronics
Жыл бұрын
@@lukaspetrikas6320 unfortunately the board TTL got damaged and I can’t flash the MCU with a new firmware
Where are you from ?
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
3 ай бұрын
You aren't. This is a development board. That means it's not intended as a final product, just testing.
How many IO pins are available on this board?
@usefulelectronics
Жыл бұрын
13 available GPIOs
@MegaMotorchik
Жыл бұрын
@@usefulelectronics aren't they all utilized by the LCD?
What is the differences betwwen this "IDF" and the other "Espresiff 32 platform" for PlatformIO? Thanks
@usefulelectronics
Жыл бұрын
IDF is the native SDK of ESP32 Platformio is a project done by an independent company
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
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
unfortunately esp32 can't handle larger displays because of very slow psram and buggy memory access
I see a lot of turkish name wifi :) Where do you live
@usefulelectronics
Жыл бұрын
Istanbul
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
Жыл бұрын
Well, the library needs a good RAM footprint and high speed to handle the display
Compile won't work because of people that love werror. Component library won't compile. The commented options in cmakelist don't work.