ESP32 + 7in LCD + Fast RGB Interface

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

In this video I look at the new 7 inch LCD panel from Elecrow with a built in ESP32 and fast RGB interface.
Running a 800 x 480 pixel display from a microcontroller can lead to slow screen updates, but not with this new 16 bit parallel interface. Find out how well it works and how we can optimise the screen refresh code to complete full screen refreshes at 30 fps.
Don't forget to visit the project page at
bytesnbits.co.uk/esp32-7-inch...
All code used in this video is available at the project page link above.
Elecrow Display page
www.elecrow.com/esp32-display...
Elecrow Displays
www.elecrow.com/display/esp-h...
Elecrow New Years Celebration
www.elecrow.com/chinese-new-y...
Lovyan Library
github.com/lovyan03/LovyanGFX
0:00 Introduction
1:26 Display specs
3:48 LVGL compatibility
4:51 RGB interface
7:57 LovyanGFX library
16:20 Using a frame buffer
19:50 Optimising the driver - double buffer plus difference scanning

Пікірлер: 34

  • @jeffschroeder4805
    @jeffschroeder48055 ай бұрын

    Very well explained, have had the display for awhile and really didn't understand how to use it. Thank you!

  • @BytesNBits

    @BytesNBits

    5 ай бұрын

    Glad it helped!

  • @IronRiviera
    @IronRiviera5 ай бұрын

    Very Interesting. Sold out as of 2/2/24. I enjoy how you explain the code.

  • @BytesNBits

    @BytesNBits

    5 ай бұрын

    It's a great screen if you can get one. Thanks for the comments.

  • @BerndSchmitt-Martinique
    @BerndSchmitt-Martinique5 ай бұрын

    Masterclass of modern display handling. I have the 7 inch display with the yellow pcb from ALI but it only works until now with the Arduino GFX library....which i dont like at all. Like the majority of display users i started years ago with Bodmers tft_eSPI.... really excellent and fundamental work, but it was Lovyan who based his library on tft_eSPI and integrated the capacitive Touchscreens . Thank you very much for this content ....really appriciated. greetings from Germany

  • @BytesNBits

    @BytesNBits

    5 ай бұрын

    Thanks for your comments. Glad you enjoyed it.

  • @wktodd
    @wktodd5 ай бұрын

    Prescient Bob. I have been looking at these :-)

  • @BytesNBits

    @BytesNBits

    5 ай бұрын

    Great. It's a lovely display if you want a control panel for your project. Bit lacking on the IO side but with the WiFi and Bluetooth you can get around that.

  • @TT-it9gg
    @TT-it9gg3 ай бұрын

    Excellent! Thanks for sharing! Best~

  • @BytesNBits

    @BytesNBits

    3 ай бұрын

    No problem. I hope it was useful.

  • @fra4455
    @fra44555 ай бұрын

    Great video✌

  • @BytesNBits

    @BytesNBits

    5 ай бұрын

    Thanks for watching!

  • @fra4455

    @fra4455

    5 ай бұрын

    @@BytesNBits nice job

  • @umutkayacan7659
    @umutkayacan76595 ай бұрын

    Nice!!!

  • @BytesNBits

    @BytesNBits

    5 ай бұрын

    Great little (big) display.

  • @umutkayacan7659

    @umutkayacan7659

    5 ай бұрын

    @@BytesNBits 🤣🤣

  • @PeetHobby
    @PeetHobby5 ай бұрын

    One O/I pin is a bit sad, he can't talk to other pins, and no one to push or pull with. 😊

  • @carlarmstrong1563
    @carlarmstrong15633 ай бұрын

    Like the video, please, please do one with SquareLine Studio etc :)

  • @BytesNBits

    @BytesNBits

    3 ай бұрын

    On the list! Just got to find some time.

  • @maisys1267
    @maisys12673 ай бұрын

    Genial proyecto. ¿seria posible hacer que funcione con esp32 wroom32 ?. Gracias

  • @BytesNBits

    @BytesNBits

    3 ай бұрын

    Yes. You'll need to modify the driver setup to match your ESP32 and LCD setup though. But the basic idea will be the same.

  • @huutung-h5c
    @huutung-h5c5 күн бұрын

    cho tôi hỏi với kích thước bộ nhớ đệm màn hình lớn như vậy bạn có phải dùng psram không

  • @BytesNBits

    @BytesNBits

    4 күн бұрын

    You can do the calculations for buffer sizes, but the PSRAM makes sure you have more than enough.

  • @theimagequestphotography
    @theimagequestphotography5 ай бұрын

    Hello, is there a code download link?

  • @BytesNBits

    @BytesNBits

    5 ай бұрын

    github.com/getis/elecrow-7in-esp32-touchscreen. I tend to put them on the project page on my website.

  • @budsakorn3049
    @budsakorn304928 күн бұрын

    After I upload the first test code, why does esp32 keep rebooting?

  • @BytesNBits

    @BytesNBits

    28 күн бұрын

    I'm not sure. Can you run just a simple program that maybe just sends stuff to the serial link just to check the basic system is OK. Then expand from there to try to catch what's knocking it out. Make sure your power supply is OK.

  • @budsakorn3049

    @budsakorn3049

    25 күн бұрын

    ​@@BytesNBits I was able to solve that problem, but I have another question. I want to connect an I2C sensor, but the I2C pins are already connected to the touchscreen and can't be used again. Are there any other pins I can use for the 7" display? Thank you very much.

  • @huutung-h5c
    @huutung-h5c5 күн бұрын

    buf2 = (lv_color_t *)heap_caps_malloc(screenWidth * screenHeight * sizeof(lv_color_t), MALLOC_CAP_8BIT); tôi dùng như vậy có đúng không

  • @BytesNBits

    @BytesNBits

    4 күн бұрын

    It looks correct but be careful with the buffer size. There's only a limited amount of RAM - docs.espressif.com/projects/esp-idf/en/stable/esp32/api-guides/memory-types.html#dram

  • @eric.lopes.l
    @eric.lopes.l5 ай бұрын

    The intro music is loud as f***!

  • @user-xk2ny1vh5h
    @user-xk2ny1vh5h5 ай бұрын

    Why do you assume we know what your talking about? What is a class what is an instance? I remember you were asking for our input on programming instructional series but nothing has transpired.

  • @BytesNBits

    @BytesNBits

    5 ай бұрын

    Unfortunately some aspects of the project work require different levels of knowledge. This one needed a bit of object orientated coding to get it to work which I didn't have time to explain - it's a big topic. think of it as a pointer to topics you need to find out about. I will be covering C++ coding at some point but there are just too many projects to work with and the coding tutorials don't seem to perform as well as other topics so they tend to get pushed back a bit.

Келесі