ESP32 + 7in LCD + Fast RGB Interface

Поділитися
Вставка
  • Опубліковано 22 гру 2024

КОМЕНТАРІ • 43

  • @jeffschroeder4805
    @jeffschroeder4805 10 місяців тому +4

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

  • @IronRiviera
    @IronRiviera 10 місяців тому +1

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

    • @BytesNBits
      @BytesNBits  10 місяців тому +1

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

  • @wktodd
    @wktodd 10 місяців тому +1

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

    • @BytesNBits
      @BytesNBits  10 місяців тому +1

      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-it9gg 8 місяців тому +1

    Excellent! Thanks for sharing! Best~

    • @BytesNBits
      @BytesNBits  8 місяців тому +1

      No problem. I hope it was useful.

  • @BerndSchmitt-Martinique
    @BerndSchmitt-Martinique 10 місяців тому +1

    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  10 місяців тому +1

      Thanks for your comments. Glad you enjoyed it.

  • @PeetHobby
    @PeetHobby 10 місяців тому +5

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

  • @SianaGearz
    @SianaGearz 5 місяців тому +3

    Things that i don't like and that i feel they should ideally fix:
    No access to i2c. I2c would provide easy connection to sensors and easy IO extension. The i2c bus is used internally for the display touch panel connection, which means the pins aren't repurposed and can support numerous additional devices in parallel on the same bus!
    No access to native USB. So i can't even implement a custom USB device on the ESP32. What i'd like is a set of solder jumpers to be able to switch USB from UART to native USB. And also an actual second UART connector for the one capable of programming. Alternatively, i want two USB ports and maybe a solder jumper or at least a couple diodes to select where the processor will be powered from.
    Another improvement would be an SPI connector. A second SPI device can be multiplexed in via IO38. I also suggest connecting 0-2 pins of each colour channel to the highest bits of the same channel, old trick. A sensible compromise could be to also delete G2 from the display and repurpose it as an IO pin. I'm also not sure what DE is good for, whether it should be driven by the micro, or maybe fold it together with LCD_BL_CTR.
    "Persistence of vision". No. The system is simply not vblank-synchronised or double buffered and ends up scanning out intermediate state of the display, which looks broken, because the image must be scanned out whether ready or not, so through part of the scanout, it scans out the result of blanking operation, and through part, the result of particle draws. If you have to work with something like that, you'll make it much easier on your eyes by never clearing the whole screen, partitioning it into tiles, and issuing all drawing commands for one tile at a time, and you'll have to clip the individual draws. This is actually how object based drawing works in LVGL, it already runs in tiles, and you're bypassing this mechanism by issuing draw commands via LovyanGFX (essentially Adafruit GFX like library) manually.

    • @BytesNBits
      @BytesNBits  5 місяців тому +1

      Thanks for the tips.

    • @SianaGearz
      @SianaGearz 5 місяців тому +1

      @@BytesNBits Oops i'm dumb, there is no USB because the pins have been occupied with i2c bus. There will be no USB unless two sufficiently capable pins can be liberated somehow and i2c moved.

  • @fra4455
    @fra4455 10 місяців тому +1

    Great video✌

    • @BytesNBits
      @BytesNBits  10 місяців тому +2

      Thanks for watching!

    • @fra4455
      @fra4455 10 місяців тому +1

      @@BytesNBits nice job

  • @maisys1267
    @maisys1267 8 місяців тому +1

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

    • @BytesNBits
      @BytesNBits  8 місяців тому +2

      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.

  • @johnglielmi6428
    @johnglielmi6428 4 місяці тому

    Well the way you are describing the frame updates, it sounds as if it's exactly the same as how a progressive LCD TV works.

    • @BytesNBits
      @BytesNBits  4 місяці тому

      Very probably. I guess there's only a limited number of ways to easily reduce the data bandwidth.

  • @onoseiichi7446
    @onoseiichi7446 Місяць тому

    7inch uses a lot of current because it has a lot of backlight LEDs.
    For this purpose, sufficient power is required.
    RGB Display does not have a buffer because it does not have a built-in driver.
    PSRAM is used for that purpose. PSRAM is slow.
    WebRadio, which requires high speed, will not work as it will interfere with reception.
    It is necessary to use it with speed in mind.

  • @budsakorn3049
    @budsakorn3049 6 місяців тому +1

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

    • @BytesNBits
      @BytesNBits  6 місяців тому +1

      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 6 місяців тому +1

      ​@@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-h5c 5 місяців тому +1

    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  5 місяців тому +1

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

  • @umutkayacan7659
    @umutkayacan7659 10 місяців тому +1

    Nice!!!

  • @EkaAni-c4b
    @EkaAni-c4b 28 днів тому

    Dimana anda membeli lcd nya, beritahu saya

    • @BytesNBits
      @BytesNBits  28 днів тому

      There should be a link in the video description.

  • @carlarmstrong1563
    @carlarmstrong1563 9 місяців тому +1

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

    • @BytesNBits
      @BytesNBits  9 місяців тому +1

      On the list! Just got to find some time.

  • @theimagequestphotography
    @theimagequestphotography 10 місяців тому +1

    Hello, is there a code download link?

    • @BytesNBits
      @BytesNBits  10 місяців тому +1

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

  • @huutung-h5c
    @huutung-h5c 5 місяців тому

    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  5 місяців тому +1

      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.l 10 місяців тому +4

    The intro music is loud as f***!

  • @Matt-d5z
    @Matt-d5z 10 місяців тому

    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  10 місяців тому +2

      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.