STM32 + LCD TFT = Display Any Data

Поделиться
HTML-код
  • Опубликовано: 6 июл 2024
  • In this video i will tell you how to use 128x128 1.44 inch LCD TFT display with STM32 microcontroller to display any data you want. In the project Nucleo Board and STM32CUBEIDE are used, but arduino usage also possible.
    Enjoy!
    email: niko.lukianov@gmail.com
    OLED STM 32 Video: • STM32 + OLED = Display...
    How To Fix Debugger Problems: • STM32 Nucleo Board Tut...
    ======================================
    LINKS:
    Nucleo Board: www.st.com/en/evaluation-tool...
    STM32CUBEIDE: www.st.com/en/development-too...
    SPLIT GIF: ezgif.com/split
    ST7735 library: github.com/afiskon/stm32-st77...
    LCD TFT Display: www.adafruit.com/product/2088
    LCD Image Converter: lcd-image-converter.riuson.co...
    ======================================
    00:00 - Intro
    00:37 - Display Overview
    02:14 - SPI connection
    02:52 - Connection Scheme
    03:45 - Programming Tools
    04:46 - STM32CubeIDE Setup
    07:34 - ST7735 library installation
    09:35 - ST7735 library functions
    13:20 - How to Display an Image with ST7735
    15:20 - How to Display a GIF with ST7735
    ======================================
    If you like this video, check out other videos in playlists:
    Electronic crafts:
    • Crafts
    What is inside?
    • What is inside?
    Tutorials:
    • Electronics Tutorials
    ======================================
    Social Networks:
    Instagram: / ncklukianov
    Twitter: / nikolailukianov
    Facebook: profile.php?...
    ======================================
    #electronics #electrical #engineering #electromagnetic
    ======================================

Комментарии • 33

  • @NickElectronics
    @NickElectronics  8 месяцев назад +3

    New Video about 3D printed Parts and LEDs control :)❗
    ruclips.net/video/OgjVUAcjiTk/видео.html

  • @VileVictour
    @VileVictour 8 месяцев назад +1

    This is insanely useful, thank you

  • @Bestcuriosity_1
    @Bestcuriosity_1 3 месяца назад +1

    Lovely explained thanks for giving insight so deep

  • @vsosacordeev
    @vsosacordeev 7 месяцев назад +1

    Thank you ! for this tutorials.😉

  • @harry1010
    @harry1010 8 месяцев назад +1

    Wow! How does this only have 364 views?! I feel like this is gonna blow up before you know it!

    • @NickElectronics
      @NickElectronics  8 месяцев назад

      Hahah, thank you very much :) I hope so

  • @user-cy8dk7jh5s
    @user-cy8dk7jh5s 3 месяца назад +1

    Awesome Video!!

  • @germangomez1673
    @germangomez1673 8 месяцев назад +1

    Thanks so much, ...if you want to use the integrated SD Card, how to do it? (for example to storage in SD Card some map pictures to shown at the display)

    • @NickElectronics
      @NickElectronics  8 месяцев назад +1

      Hi. Unfortunately, the library from the video has command only for the display. To use SD card you have you add on more library which supports SD card + STM32 communication via SPI. Cause communication with an SD card in the module i show is also established via SPI. On the board itself there is a pin - Card CS (CCS) and TFT_CS, which allows to switch between TFT and SD :)

  • @urichaplin1424
    @urichaplin1424 8 дней назад

    Hi !It's very impressive work you did !I want to make it but I have a different board (STM32F411E_Discovery).How to import it for the chip (100pin STM32F411VETX) I have?

  • @hollyizza3672
    @hollyizza3672 6 месяцев назад +1

    Hey nick can you make a video on C1101. Im trying to work on radio frequency but its pretty hard.

    • @NickElectronics
      @NickElectronics  6 месяцев назад

      Hello. I am definitely planning to work with some RF modules probably to control drones or other robots, but not in the nearest future 😅

  • @the_conman6635
    @the_conman6635 6 месяцев назад +1

    Is there a way you can replicate this on a bigger display? I am using a 320x240 pixel display and am not having much luck. My current setup is a NucleoU575ZI-Q and a DFR0664 2.0" 320x240 IPS TFT LCD Display.

    • @NickElectronics
      @NickElectronics  6 месяцев назад

      Unfortunately the controller this board has does not support screens with such high resolution. For your display you should have a look at Ilitek ILI9341 controller :) Have not checked personally but the control should be similar, via SPI. LCD image converter also will work. Libraries will not. So you will have to find new ones. Probably there are some on the git) Good luck

  • @kaiqueferreirabragasilva4792
    @kaiqueferreirabragasilva4792 7 месяцев назад

    Does this work for any size ST7735 display?

  • @NoumanAli
    @NoumanAli 4 месяца назад

    How can we use custom Fonts with this library? There are only 3 fonts provided with this library. If you could kindly tell me how those fonts were created, I might be able to create my own.

    • @NickElectronics
      @NickElectronics  4 месяца назад +1

      Simplest option is to download libraries with fonts. There are a lot on github. Also, check out dafont website as well. They have got plenty of fonts :) Good luck

    • @NoumanAli
      @NoumanAli 4 месяца назад +1

      @@NickElectronics thank you for your rapid reply 😊

  • @Atom224
    @Atom224 4 месяца назад +1

    Sadly it doesn't seem to work for me. I have a STM32H7 Nucleo Board. No errors in code but nothing shows up on the display. Can you tell me haow you connected the CS, RES and DC pins? Which pins did you use and how does the library make use of those pins?

    • @NickElectronics
      @NickElectronics  4 месяца назад +1

      Hmm. The problem could be in anything because there are a lot of steps. There is a connection diagram in the video where you can see how I connected all the pins for the display. In the library, you can find the pins configuration in the "st7735.h" file. In the video, you can see it in pieces of code at 09:13 minutes.

    • @Atom224
      @Atom224 4 месяца назад

      Well, I did connect the RST to PC7, CS to PB6 and PA9 to DC, but as I said, the display doesn't react at all. The display itself shouldn't be the problem since it works perfectly fine with an Arduino Uno. I even lowered the SPI clock to only 5 MHz. But still nothing :/

    • @NickElectronics
      @NickElectronics  4 месяца назад

      @@Atom224 Hm. I believe you do not have a logic analyzer or an oscilloscope to check the signals. Did you set up all the pins as outputs? My suggestion is to check everything step by step again. It must be some loose wire or wrong bit somewhere

    • @Atom224
      @Atom224 4 месяца назад +1

      @NickElectronics I do have access to some pretty advanced logic analyzers and oscilloscopes. Though I'm still a novice 😅, so not much experience using them. I'll see what I can do tomorrow and maybe write back if I'm still stuck.
      P.S.:
      I did set the PC7,PB6, and PA9 as GPIO_Output in CubeMX.

    • @al3sss549
      @al3sss549 День назад

      i have the exact same problem, it look like all is good but nothing works. i also needed to add a malloc function. Someone know how to solve ??????

  • @cerealtech4138
    @cerealtech4138 3 месяца назад +1

    wow you sounds like great Scott lol