Interface ST7920 GLCD with STM32 || Serial Mode || F103 || CubeMX || HAL
Вставка
- Опубліковано 14 сер 2019
- Purchase the Products shown in this video from :: controllerstech.store
________________________________________________________________________________________
Delay in microseconds using timer • How to create delay in...
To download the code, goto :- controllerstech.com/glcd-128x64-st7920-interfacing-with-stm32/
Check out more VIDEOS on MODULES/SENSORS with STM32 • STM32 and SENSORS/MODULES
________________________________________________________________________________________
****** SUPPORT US BY DONATING*****
paypal.me/controllertech
******Join the Membership******
/ @controllerstech
Join the Discord Server / discord
Join the Telegram Group t.me/controllerstechdiscuss
Follow me on Instagram / controllerstech
For more info, visit www.controllerstech.com - Наука та технологія
Thanks a lot. How amazing it is that you are sharing your work for free. Nice background music BTW
That was so informative!!!!
Good work but I prefer the 3 lines to send bytes to the display and use it for some saving current sensitive projects.
I had a problem where during compilation with stm32cubeide there was "multiple definitions of 'image' " error. Solved by moving "uint8_t image[(128 * 64)/8];" from "ST7920_SERIAL.h" to "ST7920_SERIAL.c". Now it works fine in proteus 8. IDK about the cause though. I checked for repeating definitions and as far as i know "ST7920_SERIAL.h" wasn't being #included multiple times.
how fast is this display? for sending data, in example: encoder data distance 1 to the distance 2
Good Night, can you leave a graphic and words together? Thanks for listening
Hello, could work with text and image at the same time?
So nice! I juste cant get chinese font to work, what would be the mod to be done for it to work?
Thanks for sharing. Why did you said that "SPI doesn't always works" (05:09 )?
SPI have some issues when it comes to the displays.
I personally have always found SPI unreliable somehow... personal opinion though
What is the music you are using called? Very relaxing.
There are few...
Where I am from
Beds and breakfast
for me, the only white screen appeared can u help me?
Why not using HW SPI. The STM32 is full of on chip peripherals to unburden the CPU. Bit banging is not the way.
What size display did you use? Can we use a bigger display with the same method that you mentioned?
if using same chip and resolution, then yes
Thanks a lot, but I have a question ... how to write on lcd with smaller font ?
By default, the custom fonts are not supported. If u still want to change the font, u have to use the graphic mode and control each line somehow. Not impossible, but kinda hard..
can we display unicode characters. I need to display language other than English on display
My error : " can't open source input file "sys/stat.h", how can i fix it ?
Also what software are you using to draw the circuit
It's very common one.. called fritzing
hello, where can I find the library used in this video?
In the description
Hello sir, I know that probability to get response is almost 0, but I still want to ask about one very important thing. I wanna display bitmap image which size is 87x32 pixels (const char size is 348, not 1024), and wanna that image be shown from x=50, y=10 coordinates on display. How can I modify your ST7920_DrawBitmap function to achieve this? In my opinion it's the most important thing, because when we do some real project we would rarely want to display whole 128x64 bitmap, we need to be able to display some smaller symbol in the specific place on display.
contact me on telegram @controllerstech. I want to test it first
please create a video for interface mfrc522 with stm32 || SPI || UART, thank you
In this video, you didn't have custom font and this is my need that i use custom font in this project.
Please explain about custom font.
Thank you
Haven't really thought about it. Check the datasheet, it should be mentioned in that or look for some examples and see what register to use for the custom fionts.
@@ControllersTech i couldn't same code for custom font.
Could you please help me?
I need this code for a project.
Thanks my senior
Looks like st7920 doesn't support custom fonts directly. If u want to use them, you have to use the graphic mode. And control all the pixels individually. That's a lot of work.
Hello,
I'm planning to buy a Graphical LCD 12864E Can u please send me the Front and back photo of the GLCD. So that I can conclude which pin set and datasheet. And what is the rate of single piece.
It's ST7920 lik the video title says
Hello sir,
I am trying to implement this on hardware, but I am confused because the labels of the pins on ST7920 are different from the schematic you showed at 4:08
Please help?
Need to see the real picture of the module. the pins might be named differently, but the functions remains same. You can open a thread in community on the website, or contact via telegram/ discord
@@ControllersTech Thankyou, I messaged.
Hi. I am trying with F07RB and I have taken "GLCDTutorial\GLCDTutorial.axf: Error: L6200E: Symbol image multiply defined (by main.o and st7920_serial.o)." error message.I didn't write any code at all. Any solution ?
Merhaba Bahadır abi ST7920_SERİAL.h dosyası içinde bulunan uint8_t image değişkenini static olarak tanımlayarak sorunu çözebilirsin. Başarılarının devamını diliyorum daha fazla video çekersen sevinirim iyi çalışmalar :)
@@ahsendogan3203 Çok teşekkür ederim Ahsen cevabın için. image değişkenini .c dosyasına alarak çözmüşüm ben de. bu arada uyarını dikkate alıp daha fazla video çekmeye gayret göstereceğim :). İyi çalışmalar.
hi celcius degree symbol how can we do so i tried but i couldnt i would be glad if you help
The ascii value for it is 176. Just send 176 to lcd as data. It will print the symbol
@@ControllersTech thank you very much
can we print float or integer?
Yes we can. Integer can directly be converted to characters using sprintf.
To convert floating values into characters, you need to add few things in your IDE. Google that for the IDE you are using.
You did not do the SPI structuring in the code, did you only perform the operations with the output pins? There is no SPI_init configuration in main.c file
I would be very happy if you answer
Yes.
I am going to release another video on it soon using the SPI.
Then, we can control the ST7920 using 4 GPIO output pins as in this video without using SPI, right? Also, there will be a cable length of 2 meters between the microprocessor and the ST7920. Do you think it will be a problem for communication? After all, you control it directly with the output pins?@@ControllersTech
The output pins are generating the SPI signals. So in a way SPI is still being used.
Does the code written for arduino work for stm32....plz reply
It works, if you use stm32 as arduino. There is a video about it on the channel. But don't expect everything to work.. better buy Arduino for that
hi sir , can you share code with us ?
Read description
Эххх( если бы все это на русском...