JPEG decoding on STM32 and ST7789 or ST7735 LCD

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ก.ย. 2024
  • Sorry for the flickering on the video, in reality LCD content looks perfect
    Some pictures are overcompressed, better quality setting should be used in real projects
    The library requires about 3KB of RAM
    Loading from STM32 internal storage memory and external SD card is implemented
    Examples for ST7789 and ST7735
    The library on my GitHub:
    github.com/cbm...
    If you find it useful and you want to buy me a coffee or a beer:
    www.paypal.me/...

ความคิดเห็น • 43

  • @iHayri1
    @iHayri1 4 ปีที่แล้ว +1

    Another great example of your abilities, thank you for sharing it.

  • @monkeyssj5
    @monkeyssj5 4 ปีที่แล้ว

    Bruh! Thank you. Been waiting for a while for this video.

  • @bansheedearg
    @bansheedearg 4 ปีที่แล้ว

    Very cool, the days of the green LED are fading.

  • @RDCST
    @RDCST 4 ปีที่แล้ว +1

    Watching this makes me wonder why the PC programs use GBs of RAM to run, must be very unoptimized. Good job dude!

  • @GPWAWA197504
    @GPWAWA197504 4 ปีที่แล้ว

    Super. Gratuluję. Mój projekt nie chodzi tak szybko, chyba za dużo czujników włożyłem.

  • @bekirefe5728
    @bekirefe5728 ปีที่แล้ว +1

    Sir, there any way to load jpeg or png files from sd card to screen?

  • @faelpinho
    @faelpinho 4 ปีที่แล้ว

    I love STM32F103 😍

  • @encepnurdin993
    @encepnurdin993 4 ปีที่แล้ว +1

    Very good, Thank you for sharing your knowledge. Do you have a Tutorial on how to store data in the STM32 internal memory that you are using and how to create eeprom emulation in stm32f103c8t6

  • @josephdallinplania7536
    @josephdallinplania7536 ปีที่แล้ว

    i ended with this error 'DATA_SIZE_16BIT' was not declared in this scope' after many previous errors that I encountered.. please give the correct version of the libraries, thanks

  • @miniaturascastillo-minic6564
    @miniaturascastillo-minic6564 6 หลายเดือนก่อน

    COMO CONVIERTES LAS IMAGENES A CODIGO PARA PRODUCIRLAS EN LA PANTALLA ????

  • @qsdrfghgujfddyffguff
    @qsdrfghgujfddyffguff ปีที่แล้ว

    Very nice expariment

  • @augustoraris3561
    @augustoraris3561 3 ปีที่แล้ว

    Hi, could you please show an axample for the function drawImage() from pgm memory ? Thank you
    Very Much !!

  • @paulkirchhof9546
    @paulkirchhof9546 3 ปีที่แล้ว

    Good work. Is it a problem to take another display with the STM? Are there libraries for resolution 480x320 and higher?
    If slides came from SD-Card and have 300 kB or more are 128 kB enough for decoding?

    • @cbm80amiga
      @cbm80amiga  3 ปีที่แล้ว

      This library is independent from LCD and GFX library.

  • @nareshchaudhari7598
    @nareshchaudhari7598 4 ปีที่แล้ว

    every time when I run your example file in Arduino it show "error compiling for board generic stm32f103c series". please can you provide solution on this

    • @cbm80amiga
      @cbm80amiga  4 ปีที่แล้ว +1

      I use Arduino IDE 1.6.5. and Roger's stm32duino.

  • @saeed6993
    @saeed6993 4 ปีที่แล้ว

    awesome , how did u put Jpeg in internal memory ? i am using an F4 with NAND and SDRAM and LTDC 7" LCD , i did put a picture from NAND to LCD using SDRAM but when picture gets big like 800X480 i cant use HEX anymore,100Kb Jpeg turns into 2MG hex array , i cant find how i can turn picture into array but with Jpeg comperetion.
    PS : in your examples seems that u used the HEX file which are quite big(like beach.h which is 45KB) ,are u using BIN too ?

    • @cbm80amiga
      @cbm80amiga  4 ปีที่แล้ว +1

      All jpegs in demo slideshow are regular C arrays. There are 12 240x240 images in one sketch. I doubt it is possible to use direct bin files in Arduino IDE.

    • @saeed6993
      @saeed6993 4 ปีที่แล้ว

      ​@@cbm80amiga TNX for your Reply , STM32 has hardware Jpegcodec its even in the CUBEMX , if you want to use that do you have to use it with just jpegs inside SDcart then ?

  • @kroome8
    @kroome8 4 ปีที่แล้ว

    nice!!! salamat amigo!!

  • @bodzio_stawski187
    @bodzio_stawski187 4 ปีที่แล้ว

    Hello, how to connect SD card (pinout) to STM32 and to the display at the same time?:)

  • @generalleitenant42
    @generalleitenant42 4 ปีที่แล้ว

    Здравствуйте. Прошу вас пожалуйста добавьте к вашим исходным файлам все используемые библиотеки, очень трудно все выискивать, и проекты неработают

    • @cbm80amiga
      @cbm80amiga  4 ปีที่แล้ว

      I compiles at Arduino IDE 1.6.5 and Roger's stm32duino. For ST7789 you need github.com/cbm80amiga/Arduino_ST7789_STM

  • @fredrahmani6670
    @fredrahmani6670 3 ปีที่แล้ว

    Can you display a Jpeg file from a SD card by using ESP8266

  • @ital2474
    @ital2474 4 ปีที่แล้ว

    is it possible to do this project on multiple screens running simultaneously but without onboard sd card?

    • @cbm80amiga
      @cbm80amiga  4 ปีที่แล้ว

      Yes, it is

    • @ital2474
      @ital2474 4 ปีที่แล้ว

      @@cbm80amiga how can i get more information about this?

    • @cbm80amiga
      @cbm80amiga  4 ปีที่แล้ว

      @@ital2474 Look at my other video and the code where I connect 4x ST7735 LCD to STM32. In case of this cheap ST7789 it will not be that easy because CS pin is not available without some soldering.

  • @ChristopherWilliam-mo6bf
    @ChristopherWilliam-mo6bf ปีที่แล้ว

    can i use this on Arduino Uno?

  • @jedandecko5585
    @jedandecko5585 4 ปีที่แล้ว

    Can you show this on ESP32.
    Great video, thank you for sharing :)

    • @cbm80amiga
      @cbm80amiga  4 ปีที่แล้ว +3

      There are at least 2 JPEG libs for ESP family but I couldn't find any for STM32 so I decided to prepare it myself

  • @christophe8569
    @christophe8569 4 ปีที่แล้ว

    Doesn't work for me, I keep getting the "expected '}' at end of input" error.

  • @alexroman6246
    @alexroman6246 4 ปีที่แล้ว

    source?

  • @SolehAlYunus
    @SolehAlYunus 4 ปีที่แล้ว

    First! 😍

    • @cbm80amiga
      @cbm80amiga  4 ปีที่แล้ว +2

      I was first :)

    • @SolehAlYunus
      @SolehAlYunus 4 ปีที่แล้ว

      @@cbm80amiga Yes, because you uploaded it. 😅

    • @Al.Sy.
      @Al.Sy. 4 ปีที่แล้ว

      Pervonakh?