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
======================================
New Video about 3D printed Parts and LEDs control :)❗
ruclips.net/video/OgjVUAcjiTk/видео.html
This is insanely useful, thank you
You are welcome :)
Lovely explained thanks for giving insight so deep
You are welcome :)
Thank you ! for this tutorials.😉
You are welcome :)
Wow! How does this only have 364 views?! I feel like this is gonna blow up before you know it!
Hahah, thank you very much :) I hope so
Awesome Video!!
Thanks ;)
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)
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 :)
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?
Hey nick can you make a video on C1101. Im trying to work on radio frequency but its pretty hard.
Hello. I am definitely planning to work with some RF modules probably to control drones or other robots, but not in the nearest future 😅
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.
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
Does this work for any size ST7735 display?
Yes it should
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.
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
@@NickElectronics thank you for your rapid reply 😊
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?
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.
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 :/
@@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
@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.
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 ??????
wow you sounds like great Scott lol
I mean your voice Is similar
Maybe :) Similar voice-type 😅