lovyan03 / LovyanGFX

SPI LCD graphics library for ESP32 (ESP-IDF/ArduinoESP32) / ESP8266 (ArduinoESP8266) / SAMD51(Seeed ArduinoSAMD51)
Other
1.03k stars 189 forks source link

Could you support ESP32-S3 for RGB panle?? #240

Closed JohnTaipei closed 1 year ago

JohnTaipei commented 1 year ago

Hello Sir: Could you support ESP32-S3 for RGB panle(4~7" LCD)??

for example: 1.esp-idf https://github.com/espressif/esp-idf/tree/master/examples/peripherals/lcd/rgb_panel

  1. Line43~52 https://github.com/moononournation/Arduino_GFX/blob/master/examples/PDQgraphicstest/PDQgraphicstest.ino

Thank you

lovyan03 commented 1 year ago

@JohnTaipei I don't know or own an RGB panel yet so I can't make it. Please let me know if you have any recommendations or online stores where I can easily purchase the product.

JohnTaipei commented 1 year ago

@lovyan03 Ok, I see But it is too expensive $80 or waiting for my PCB design Thank you https://www.aliexpress.com/item/1005004013252670.html?spm=a2g0o.detail.1000014.11.25d0714eDignr0&gps-id=pcDetailBottomMoreOtherSeller&scm=1007.14452.226710.0&scm_id=1007.14452.226710.0&scm-url=1007.14452.226710.0&pvid=7a55b207-e154-40a9-b459-e1dd64923ac0&_t=gps-id:pcDetailBottomMoreOtherSeller,scm-url:1007.14452.226710.0,pvid:7a55b207-e154-40a9-b459-e1dd64923ac0,tpp_buckets:668%232846%238115%232000&pdp_ext_f=%7B%22sku_id%22%3A%2212000027738395551%22%2C%22sceneId%22%3A%2230050%22%7D&pdp_npi=2%40dis%21USD%21%2180.0%21%21%21%21%21%402103239f16533562382435274e24e6%2112000027738395551%21rec

tobozo commented 1 year ago

@JohnTaipei found this https://github.com/W00ng/ESP32-S3-RGB-Panel

JohnTaipei commented 1 year ago

@tobozo Thank for your infomation But I can not use esp-idf I think LovyanGFX library is better

htvekov commented 1 year ago

Hi' @lovyan03

I'm adding a request to this thread, as there are now several, additional devices 'out there' using same 480x480 res. 4" panel with identical display driver and touch controller.

Eg. the GS-T3E 4" wall display device with 3 gang relay switch. This device has an ESP32-S3R8 onboard, 8MB PSRAM, 16MB external flash, 4" Capacitive 480x480 res. HD IPS LCD, ST7701S display driver and Goodix GT911 touch controller.

@fvanroie, the founder of openHASP, is currently implementing ESP32-S3 support in openHASP. LovyanGFX is already implemented. So I would really appreciate if this display could be supported in LovyanGFX as well 😍🤗

Currently the display is ,as you mention, only implemented in the esp-idf library and actually also in ArduinoGFX.

Here's a link to all our gathered info on the GS-T3E device

And a direct Alibaba purchase link as well.

Regards Henning

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 1 year ago

This issue has been automatically closed because it has not had recent activity. Thank you for your contributions.

KamilLenica commented 1 year ago

Any chance to get support for this type of panel?

JohnTaipei commented 1 year ago

@lovyan03 Hello sir: mcu: esp32-s3 RGB driver IC: ST7262 panel: 5" RGB 480x800 library: lovyangfx V1.1.5

  1. TFT_graphicstest_PDQ ok https://www.youtube.com/watch?v=es5UP9fnlqM

  2. touch test ok https://www.youtube.com/watch?v=vO155SvK4vE

  3. run LVGL benckmark jitter https://www.youtube.com/watch?v=eiCgOAcd2YI

  4. run MovingIcons jitter https://www.youtube.com/watch?v=YoGIBQPB0c0

lovyan03 commented 1 year ago

@JohnTaipei Please set freq_write low. It acts as a pixel clock. Because PSRAM is used as a buffer, if the freq_write is too high, accesses will not be made in time and glitches will occur.

JohnTaipei commented 1 year ago

@lovyan03 yes, I did it try 10,12,15MHz but still jitter

lovyan03 commented 1 year ago

umm,, please try develop branch version.

JohnTaipei commented 1 year ago

@lovyan03 Hello Sir: i tried develop version jitter is disappear https://www.youtube.com/watch?v=q4bKGo4KR5k https://www.youtube.com/watch?v=3_RdF-g1FH0 Thanks a lot

but the performance is slow fps

tobozo commented 1 year ago

@JohnTaipei ~20fps on a 800*480 at @16bpp is 15MB/s, it's possible the performances for this configuration are already nominal.

JohnTaipei commented 1 year ago

@tobozo yes , about 21fps

i tried to use ArduinoGFX ,about 29fps but still slow fps

this video is about 48fps https://www.bilibili.com/video/BV1de411G7QM/?spm_id_from=333.999.0.0&vd_source=1d45c77050dae7a74103ea87ff23afae

i tried NT35501 800*480 parallel 16-bits + LoyanGFX = 55pfs https://www.youtube.com/watch?v=uYeeqBHdWEI

lovyan03 commented 1 year ago

In RGB panel operation, all drawing processing is done to PSRAM and output processing is done by DMA transfer from PSRAM. In other words, it depends on the speed setting of PSRAM. The PSRAM speed and QIO, DIO, etc. settings at build time must be the fastest, but I don't know what settings you have made.

If you say it is slow slow we have no way to find out. If you want us to compare and find out, you need to present all the buildable code.

lovyan03 commented 1 year ago

By the way, since LVGL does differential rendering, I don't think it makes sense to compare FPS values with benchmarks that do full screen rendering.

JohnTaipei commented 1 year ago

@lovyan03 OK , i see Thanks

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 1 year ago

This issue has been automatically closed because it has not had recent activity. Thank you for your contributions.