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 Наука
Looks amazing bro, nice tutorial👏🏻👏🏻
Thank you bro:)
Thx, amazing work!
nice tutorial👏🏻👏🏻🤩
Very nice video, 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.
Thank you for sharing your experience!
Thank you so much
if I wanted to use a bezel/shell, resizing the screen would be possible?
Thx!
Could you do a Tutorial with LVGL with Arduino IDE for esp32?
Hi
Here is a good resource if you are on Arduino IDE
github.com/Xinyuan-LilyGO/T-Display-S3
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.
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
Yep, it Has 18bit but normally 16bit are used
What about of the brighteness of the display? It is readable outdoor under a sunshield/suncover?
Maybe the brightness can be regulated/pumped up?
The brightness can be controlled by driving the backlight pin with PWM signal. I can add this feature in the future. Stay tuned:)
@@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)
@@giuliobuccini208 Nah, it can only be decreased, not increased.
on ESP32 Boards, SDA SCL was at 21 22 pinouts, here is only 21..
Where i can connect it i2c devices on this board?
ESP32 has pin signal multiplexing capability. You can change the I2C pins to the available ones.
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??
You need to make some tweaks to make it work with Arduino IDE
Can you do a video with LGVL Studio using GPIO pins with buttons? Turn something on/off.
I will be having more tutorials related to LVGL with T-HMI board. Stay tuned for that !
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.
This repo is not compatible with IDF 5.0
Use IDF 4.3 version
@@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.
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?
Hi,
After that tutorial I worked with squareline studio which makes things a lot easier.
Check out this tutorial:
ruclips.net/video/Td08fweKXwY/видео.html
Thanks! Did you manage to get the touch driver for the T-Display-S3 to work on esp-idf though?
@@lukaspetrikas6320 unfortunately the board TTL got damaged and I can’t flash the MCU with a new firmware
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.
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
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...
You aren't. This is a development board. That means it's not intended as a final product, just testing.
Where are you from ?
What is the differences betwwen this "IDF" and the other "Espresiff 32 platform" for PlatformIO? Thanks
IDF is the native SDK of ESP32
Platformio is a project done by an independent company
how to run this with a THMI 2.8" with parallel interface?
Hi,
You will need to change the LVGL library and display driver configuration to suit the new hardware.
@@usefulelectronics Successful . Thanks for this video, it was very helpful
How many IO pins are available on this board?
13 available GPIOs
@@usefulelectronics aren't they all utilized by the LCD?
unfortunately esp32 can't handle larger displays because of very slow psram and buggy memory access
am having nightmare flashbacks regarding LCD programming days 🤣
We had no experience at that time bro :) and our concern was to pas courses to get rid of them :D
@@usefulelectronics 😂🤣
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.
Well, the library needs a good RAM footprint and high speed to handle the display
I see a lot of turkish name wifi :) Where do you live
Istanbul
Compile won't work because of people that love werror. Component library won't compile. The commented options in cmakelist don't work.