i made it yesterday with little change in your code for software spi and set on any pin in pico rpi2040. Working in text mode now, but later will make and graphical. Now i need to show hardware fonts to can use it for text mod, when i make a graphical mode will make all fonts that i found in internet for this lcd. best regarss for your work, the best lib for this lcd ever :)
Really really fantastic Library, in my case using arduino nano I have to use RS to D10, R/W to D11 and E to D13 and works great, my congrats , excelent job to use arduino with this LCD driver ST7920
This is a great driver, but I'm going to have to fork your driver and re-code it for use specifically the ATMega2560, as I am running timing critical routines and the current setup is too slow! Need to squeeze, every bit of speed out of my current project, as I am using 2 screens displaying information, but the draw routines are run on a timer, so has be within strict timing intervals
hi, i try to use this lib but need to set different pins for SCK, MOSI, CS, WITH RASPBERRY PICO BOARD RPI2040. but nowhere in software i can not find to set my pins for proper communication. i am using rpi pico with arduino ide, found a text font file and example HELLO world compile fine, but can not set my pin connection to software. what i need to do ???
Hello. First of all, thanks for the video. I have an 18-pin "AV Display" LCD, I want to drive it with an arduino, but I couldn't find a datasheet about its pins. It says "HY-12864Z-801R" on the label. Do you know this model? Can you help me how to drive or what are the pins?
The library is cool! When connected to Arduino Uno D10 / D11 / D13, everything works. But when connected to Arduino MEGA D10 / D11 / D13, the display does not work. Maybe use other pins for mega?
Hello, great job here. In the same project I need to use your example here but also an nrf24l01 transceiver module. Both are using D10/CS, D11/MOSI and D13/SCK. Any idea how can work together?
sick library dude! really impressive!a question on speed: would these displays be useful for displaying rapidly changing numbers? because from what I've seen in this video the pixel response time (clear to black) seems to be about 300ms, which, compared to say OLED, is quite long.
@@cbm80amiga Hi I have a same problem. If I compile your code for esp32 it says that you doesnt have a alternative for avr/pgmspace.h library for esp32. Because avr/pgmspace.h library is aparently only for avr platforms only.
@@cbm80amiga I combine rre font and digi font, how can I combine 2 types of fonts without declaration conflict in arduino IDE? DigiFont font(customLineH,customLineV,customRect); RREFont font; ERROR report : "conflicting declaration 'RREFont font"
Great job, I bought this display months back but have not got time to drive it. your library is just handy. please let me ask question on the 2 functions where you are sending data and command. The section appears you are doing 4-bits mode transfer, is there reason for this? See the 2 lines commend I added. If the display can take 8bits which is supported by most SPI, then see my suggestion. void ST7920_SPI::sendData(byte b) { SPI.beginTransaction(SPISettings(SPI_SPEED, MSBFIRST, SPI_MODE3)); digitalWrite(csPin, HIGH); SPI.transfer(0xFA); SPI.transfer(b & 0xF0); //sending High 4bits SPI.transfer(b
i made it yesterday with little change in your code for software spi and set on any pin in pico rpi2040. Working in text mode now, but later will make and graphical. Now i need to show hardware fonts to can use it for text mod, when i make a graphical mode will make all fonts that i found in internet for this lcd. best regarss for your work, the best lib for this lcd ever :)
Thank you man. There is no library better than this!!!
@Kaysen Griffin for example, I don't care, you scammer
best regards for your work, the best lib for this lcd ever :)
Really really fantastic Library, in my case using arduino nano I have to use RS to D10, R/W to D11 and E to D13 and works great, my congrats , excelent job to use arduino with this LCD driver ST7920
Carlos, pins were switched in the description, indeed. Thank you for noticing that :)
As long as the CLS command works I will be one happy camper Thanks
Hello can you help me to control the screen without microcontroller
or with arduino but without library
Thank you for this work and sharing !
Excellent. I'm going to get a couple of these to play around with!!
This is a great driver, but I'm going to have to fork your driver and re-code it for use specifically the ATMega2560, as I am running timing critical routines and the current setup is too slow! Need to squeeze, every bit of speed out of my current project, as I am using 2 screens displaying information, but the draw routines are run on a timer, so has be within strict timing intervals
esa librería se puede aplicar en pic c Compiler. si es así , pondrías solo un ejemplo. por favor
Nie tylko API Arduino
hi, i try to use this lib but need to set different pins for SCK, MOSI, CS, WITH RASPBERRY PICO BOARD RPI2040. but nowhere in software i can not find to set my pins for proper communication. i am using rpi pico with arduino ide, found a text font file and example HELLO world compile fine, but can not set my pin connection to software. what i need to do ???
I don't have PICO so tested it with AVR only where hardware SPI is used for good speed.
Great work. Thanks for sharing !
Hello. First of all, thanks for the video. I have an 18-pin "AV Display" LCD, I want to drive it with an arduino, but I couldn't find a datasheet about its pins. It says "HY-12864Z-801R" on the label. Do you know this model? Can you help me how to drive or what are the pins?
The library is cool! When connected to Arduino Uno D10 / D11 / D13, everything works. But when connected to Arduino MEGA D10 / D11 / D13, the display does not work. Maybe use other pins for mega?
I need a graphic lcd asap this is awesome
Hello, great job here. In the same project I need to use your example here but also an nrf24l01 transceiver module. Both are using D10/CS, D11/MOSI and D13/SCK. Any idea how can work together?
Hello thank you for this work, how can I print int float or another variable on display, which method?
Genius 🔥
Hi! great job! congrants, have you got a invert screen function?
Hello world example just gives compile error on this include: c64enh_font.h
Great lib!
Can You share the detailed function list with all parameters?
All methods are in header file: github.com/cbm80amiga/ST7920_SPI/blob/master/ST7920_SPI.h
Hi, I have an inudustriat equipment with VP12864G-01 LCD, can I replace it with directly with this type LCD ?
I think so if it is exactly the same model
można prosić o link do wyświetlaczy, na ali pełno ich, ale nie chcę kupić z trybem równoległym, tylko właśnie na SPI albo I2C?
Kazdy, ktory ma wyprowadzone PSB bedzie ok. Chinczycy czesto pisza, ze jest tylko polaczenie rownolegle co jest nieprawda.
@@cbm80amiga Dziękuję za info, bo bardzo ciekawe są te lcd w porównaniu z oklepanymi KS0108 czy T6963.
Can you guide me how to connect LCD 128x64 17pin?
17th pin is not connected
Can you help me determine the connection pins? I really want to make. can i contact you via email?
Awwwwwwwesome man,
Thank you so much, this is really cool library for lcd st7920.
Exist some way to rotate screen by software?
You mean 180deg? You would need to copy screen buffer to LCD in reverse order.
sick library dude! really impressive!a question on speed: would these displays be useful for displaying rapidly changing numbers? because from what I've seen in this video the pixel response time (clear to black) seems to be about 300ms, which, compared to say OLED, is quite long.
Definitely not. This one is very slow, even worse than Nokia LCD.
thanks!
Hello congratulations for the video, really well done. I have an information to ask but where can I get the font library from?
You can find everything on my GitHub
@@cbm80amiga sure ? I don't find it
@@valerioguagenti9955 There are PropFonts and RRE libraries with a lot of fonts and examples
Can this somehow be ported to ks0108 and ili9341 lcds too?
I think so
Great
Wow the performance of this library looks great! Gonna have to get a display and try it out. Do you have a link to the display that you used?
I don't have a link. But look for ST7920 LCD at Aliexpress
cbm80amiga ok, thank you!
Where can I download the library?("c64enh_font.h")
Look at my github
@@cbm80amiga Could you give me the GitHub link?
@@abb9236 Look for PropFont library as described in the code
Hi, thanks for sharing, does it works with esp32?
I think so
@@cbm80amiga Hi I have a same problem. If I compile your code for esp32 it says that you doesnt have a alternative for avr/pgmspace.h library for esp32. Because avr/pgmspace.h library is aparently only for avr platforms only.
excellent. waooo
is it possible to use a font other than "c64enh" ?
On my GitHub you have a lot of fonts (regular proportional or RRE)
@@cbm80amiga I combine rre font and digi font, how can I combine 2 types of fonts without declaration conflict in arduino IDE?
DigiFont font(customLineH,customLineV,customRect);
RREFont font;
ERROR report :
"conflicting declaration 'RREFont font"
@@ayaaca8500 You have to change names of conflicting callbacks. Look at ruclips.net/video/MBehHqti35w/видео.html for more details
@@cbm80amiga thank u sir, its work
Funciona essa biblioteca com o pic18f?
This is Arduino library mainly for AVR but should work with other Arduino compatible MCUs
@@cbm80amiga explícame un poco mejor eso. por favor.
@@montanacarvalo Ale co tu wyjasniac wiecej, biblioteka jest pod Arduino. Jak chcesz to przerob ja sobie pod dowolna platforme, masz przeciez zrodla.
Great job,
I bought this display months back but have not got time to drive it.
your library is just handy.
please let me ask question on the 2 functions where you are sending data and command.
The section appears you are doing 4-bits mode transfer, is there reason for this?
See the 2 lines commend I added.
If the display can take 8bits which is supported by most SPI, then see my suggestion.
void ST7920_SPI::sendData(byte b)
{
SPI.beginTransaction(SPISettings(SPI_SPEED, MSBFIRST, SPI_MODE3));
digitalWrite(csPin, HIGH);
SPI.transfer(0xFA);
SPI.transfer(b & 0xF0); //sending High 4bits
SPI.transfer(b
I don't remember now, but probably LCD driver required two 4-bit transfers. Does your modification work with your LCD?
@@cbm80amiga I have moved out of town and do not have my hardware handy.
But soon I will get one in my new location. When try I will report back.
Hello thank you for this work, how can I print int float or another variable on display, which method?
Look at the examples. Convert float or anything to string and print it.