ESP32 | LovyanGFX vs. TFT_eSPI Comparison (ft. 8-bit Parallel Interface)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
Hi guys. Welcome back to my channel. This time, let's compare the two graphical libraries in 8-bit parallel mode. In the previous video, it was tested on a 4-wire SPI interface basis. Please refer to the link above if you need it. The combination of ILI9488 and 4-wire SPI showed significantly better performance with LovyanGFX. Will it be like that again? In order to use the 8bit parallel interface, the display I have first needs some modification. Now I'm changing the jumper. Changes are being made according to the data sheet. I thought I could simply change the jumper, but I had to remove and paste the SMD resistor. I personally don't like this type because it's too small for soldering. Of course, it's necessary for commercial products, but it's not used when I do a project. Anyway, let me finish it first. The work is done. Please look at these resistors. It looks terrible. It was hard to remove it because I don't have a heating gun. Also, It was difficult to paste one 0-ohm resistor used for denoising purposes. Seems like there is no way to turn it back. I'll quickly show you how to wire for an 8-bit parallel mode. The power is used 5v and 3.3v is connected to the backlight. I'm using pin numbers that are used by TFT_eSPI and LovyanGFX by default. They have the same pin number for an 8-bit parallel interface. So I just followed them. There are eight data lines and CS/DC/RESET as usual. and additionally, there are WR for a write signal and RD for a read signal. One caveat is that using long cables causes problems with data transmission. Please use the cable as short as possible. Otherwise, the display won't function normally. Okay. All looks good. Let me connect to power. Seems like my wiring has no problem. Let's take a look at the difference between Parallel and Serial Interface quickly. We can either transmit the byte in Parallel or we can transmit the byte in Serial form. This drawing illustrates the differences between these two types of communication mechanisms. In serial mode, the bits are transmitted as a series of pulses. In parallel mode, each bit has a single wire devoted to it and all the bits are transmitted at the same time. The advantage of the Serial Interface is less Data Pins, cheaper and easy setup. And the Parallel Interface is Faster Data Transmission, High Performance but the problem is expensive than the Serial Interface. Then let's have a test from now on. This is the same source code as the previous video. And it simply changed from a 4 wire SPI interface to an 8-bit parallel interface. I can feel that the speed is really fast. Probably this is the maximum speed from the combination of ESP32 and ILI9488 can display. LovyanGFX seems to be computing about 10% faster. It's really great. Let's compare it again overall. LovyanGFX is on the left, and TFT_eSPI is on the right. It operates on an 8bit parallel and 4 wire SPI interfaces, respectively. Looking at the result, we can feel how fast the parallel mode is. The LovyanGFX is 2.85 faster than the 4-wire SPI and 2.69 faster with TFT_eSPI. The last test to be done is the performance difference in LVGL when using a different graphics library. LVGL is very light, but in ESP32, it belongs to a heavy graphic program. So I'm testing the benchmark of LVGL. During this test, the problem is that LovyanGFX is slightly faster, but there seems to be a problem with stability. There is a phenomenon in which the graphic breaks little by little. Well, I don't know where the problem comes from. Unfortunately, there seems to be nothing that can be improved right now from my end. As a result of tests so far, Personally, I think it'd be great to do a project with a combination of 4 wire SPI and LovyanGFX. If I have a chance, I'd like to compare the rendering speed of the images. I'm curious about the rendering speed of jpeg images with lovyanGFX especially. This is all for today's video. Thanks for watching. See you in the next video.
Info
Channel: That Project
Views: 12,595
Rating: undefined out of 5
Keywords: ESP32 LovyanGFX, LovyanGFX, ESP32 TFT_eSPI, ESP32 graphics library, ESP32 LovyanGFX vs TFT_eSPI, ESP32 4-wire SPI interface, ESP32 LovyanGFX LVGL, ESP32 er-tftm035-6, er-tftm035-6 8-bit parallel, er-tftm035-6 capacitive touch panel, ESP32 capacitive touch panel, ER-TFTM035-6 ILI9488, ILI9488 Arduino example, ILI9488 ESP32 example, ESP32 LovyanGFX TFT_eSPI, ESP32 LVGL FPS, EPS32 VSPI HSPI, ESP32 VSPI WIRE, ESP32 VSPI TFT_eSPI, ESP32 8-bit Parallel, ESP32 SPI vs Parallel
Id: zwuqBsBAJCw
Channel Id: undefined
Length: 6min 10sec (370 seconds)
Published: Thu May 13 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.