Тёмный
No video :(

Interface ST7920 GLCD with STM32 || Serial Mode || F103 || CubeMX || HAL 

ControllersTech
Подписаться 40 тыс.
Просмотров 20 тыс.
50% 1

Purchase the Products shown in this video from :: controllerstec...
________________________________________________________________________________________
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/cont...
******Join the Membership******
/ @controllerstech
Join the Discord Server / discord
Join the Telegram Group t.me/controlle...
Follow me on Instagram / controllerstech
For more info, visit www.controller...

Опубликовано:

 

24 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 62   
@ashishkushwaha3812
@ashishkushwaha3812 2 года назад
Thanks a lot. How amazing it is that you are sharing your work for free. Nice background music BTW
@NoName-tn8rq
@NoName-tn8rq 11 месяцев назад
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.
@viktorhugo8252
@viktorhugo8252 Год назад
Good work but I prefer the 3 lines to send bytes to the display and use it for some saving current sensitive projects.
@guilhermecavalheri199
@guilhermecavalheri199 4 года назад
Good Night, can you leave a graphic and words together? Thanks for listening
@manofmesopotamia7602
@manofmesopotamia7602 5 лет назад
That was so informative!!!!
@chetan10jr
@chetan10jr Месяц назад
hi, I was working with JHD12864E LCD Board with STM32G0 Micro-Controller. The method which you have shared is not working with this mode JHD12864E . The Serial Mode I'm taking about. Can you guide me how can I interface it. Thank you for your response....😇
@mohamedyasser2068
@mohamedyasser2068 Месяц назад
how can I adjust the font size ?
@NA-ms8rl
@NA-ms8rl 8 месяцев назад
can we display unicode characters. I need to display language other than English on display
@mohamedyasser2068
@mohamedyasser2068 Месяц назад
Hey, I found a small mistake in your SetPixel function in the ST7920_SERIAL.c file this section: uint8_t *p = image2 + ((y * (numCols/8)) + (x/8)); *p |= 0x80u >> (x%8); *image2 = *p; some how this is making a random pixel to appear on the screen when you try to draw circles, lines etc.. check the video at 17:48 , you will see a weird pixel on top of the triangle. ... after some experiments I replaced it with this and some how the problem disapeared, for a reason I don't know image2[x/8 + y*(numCols/8)]|= 0x80u >> (x%8);
@ngwinch1299
@ngwinch1299 2 года назад
Why not using HW SPI. The STM32 is full of on chip peripherals to unburden the CPU. Bit banging is not the way.
@branko556
@branko556 3 года назад
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.
@ControllersTech
@ControllersTech 3 года назад
contact me on telegram @controllerstech. I want to test it first
@mohamedyasser2068
@mohamedyasser2068 Месяц назад
I followed the exact instructions but no matter how I change the contrast, the text displayed is either so dark barely seen or not displayed at all, any suggestion guys?
@ControllersTech
@ControllersTech Месяц назад
Use potentiometer on the VO pin to adjust the contrast.
@mohamedyasser2068
@mohamedyasser2068 Месяц назад
@@ControllersTech I used it and tried many values, still the same issue, it's either not appearing at all or barely seen
@mohamedyasser2068
@mohamedyasser2068 Месяц назад
@@ControllersTech alright I fixed it by the following first the stm32 turned out to never output 5v as long as it's connected to the stlink from the 3v3 pin, so I switched it to the 5v in the stlink and boom it worked, but the stm32 program wasn't recognising it, so I had to switch back to 3v3 and I powered the monitor from another source by 5v, also I had another monitor with a broken potentiometer, it worked by connecting the VO to 5v and I used 1k ohm to adjust the contrast and it worked 😇
@jibui5826
@jibui5826 3 года назад
My error : " can't open source input file "sys/stat.h", how can i fix it ?
@KomikvidyolarS
@KomikvidyolarS 7 месяцев назад
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
@KomikvidyolarS
@KomikvidyolarS 7 месяцев назад
I would be very happy if you answer
@ControllersTech
@ControllersTech 7 месяцев назад
Yes. I am going to release another video on it soon using the SPI.
@KomikvidyolarS
@KomikvidyolarS 7 месяцев назад
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
@ControllersTech
@ControllersTech 7 месяцев назад
The output pins are generating the SPI signals. So in a way SPI is still being used.
@yordietimmerman8606
@yordietimmerman8606 4 года назад
how fast is this display? for sending data, in example: encoder data distance 1 to the distance 2
@PraveenKumar-pr9hk
@PraveenKumar-pr9hk 3 года назад
for me, the only white screen appeared can u help me?
@user-nz1jw9en1y
@user-nz1jw9en1y Год назад
please create a video for interface mfrc522 with stm32 || SPI || UART, thank you
@user-xk4xb6to9g
@user-xk4xb6to9g 9 месяцев назад
hello, where can I find the library used in this video?
@ControllersTech
@ControllersTech 9 месяцев назад
In the description
@egar1956
@egar1956 3 года назад
Thanks for sharing. Why did you said that "SPI doesn't always works" (05:09 )?
@ControllersTech
@ControllersTech 3 года назад
SPI have some issues when it comes to the displays. I personally have always found SPI unreliable somehow... personal opinion though
@antonioescamez4549
@antonioescamez4549 3 года назад
Hello, could work with text and image at the same time?
@danialheydarimoghadam8279
@danialheydarimoghadam8279 4 года назад
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
@ControllersTech
@ControllersTech 4 года назад
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.
@danialheydarimoghadam8279
@danialheydarimoghadam8279 4 года назад
@@ControllersTech i couldn't same code for custom font. Could you please help me? I need this code for a project. Thanks my senior
@ControllersTech
@ControllersTech 4 года назад
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.
@alibarakat1056
@alibarakat1056 4 года назад
Thanks a lot, but I have a question ... how to write on lcd with smaller font ?
@ControllersTech
@ControllersTech 4 года назад
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..
@cupidonihack
@cupidonihack 2 года назад
So nice! I juste cant get chinese font to work, what would be the mod to be done for it to work?
@mow3890
@mow3890 5 лет назад
What is the music you are using called? Very relaxing.
@ControllersTech
@ControllersTech 5 лет назад
There are few... Where I am from Beds and breakfast
@rajeshn2600
@rajeshn2600 2 года назад
What size display did you use? Can we use a bigger display with the same method that you mentioned?
@ControllersTech
@ControllersTech 2 года назад
if using same chip and resolution, then yes
@PraveenKumar-pr9hk
@PraveenKumar-pr9hk 3 года назад
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.
@ControllersTech
@ControllersTech 3 года назад
It's ST7920 lik the video title says
@Hammad5113189
@Hammad5113189 2 года назад
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?
@ControllersTech
@ControllersTech 2 года назад
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
@Hammad5113189
@Hammad5113189 2 года назад
@@ControllersTech Thankyou, I messaged.
3 года назад
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 ?
@ahsendogan3203
@ahsendogan3203 3 года назад
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 :)
3 года назад
@@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.
@adnanzirek3860
@adnanzirek3860 4 года назад
hi celcius degree symbol how can we do so i tried but i couldnt i would be glad if you help
@ControllersTech
@ControllersTech 4 года назад
The ascii value for it is 176. Just send 176 to lcd as data. It will print the symbol
@adnanzirek3860
@adnanzirek3860 4 года назад
@@ControllersTech thank you very much
@mow3890
@mow3890 5 лет назад
Also what software are you using to draw the circuit
@ControllersTech
@ControllersTech 5 лет назад
It's very common one.. called fritzing
@Atri315
@Atri315 3 года назад
Does the code written for arduino work for stm32....plz reply
@ControllersTech
@ControllersTech 3 года назад
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
@lehuunhiem9866
@lehuunhiem9866 Год назад
hi sir , can you share code with us ?
@ControllersTech
@ControllersTech Год назад
Read description
@TA1FMY
@TA1FMY 4 года назад
can we print float or integer?
@ControllersTech
@ControllersTech 4 года назад
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.
@vladilion90
@vladilion90 Год назад
Эххх( если бы все это на русском...
Далее
🤪Школьники ОЦЕНЯТ🔥
00:30
Просмотров 109 тыс.
STM32 + LCD TFT = Display Any Data
17:28
Просмотров 13 тыс.
SSD1306 OLED and STM32 || 128x64 || SW4STM || CubeMX
14:22
LCD via I2C in STM32 || CUBEIDE || PCF8574
12:22
Просмотров 79 тыс.
The RS-232 protocol
26:10
Просмотров 833 тыс.
How to set up TouchGFX with SPI Displays || ILI9341
20:33