ST7920 128x64 LCD library demo

Поделиться
HTML-код
  • Опубликовано: 17 ноя 2024

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

  • @KaradevNetLtd
    @KaradevNetLtd 3 года назад

    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 :)

  • @HSelimSerdar
    @HSelimSerdar 4 года назад +2

    Thank you man. There is no library better than this!!!

    • @HSelimSerdar
      @HSelimSerdar 3 года назад +1

      ​@Kaysen Griffin for example, I don't care, you scammer

  • @KaradevNetLtd
    @KaradevNetLtd 3 года назад +1

    best regards for your work, the best lib for this lcd ever :)

  • @czapatasv
    @czapatasv 5 лет назад +1

    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

    • @cbm80amiga
      @cbm80amiga  5 лет назад +1

      Carlos, pins were switched in the description, indeed. Thank you for noticing that :)

  • @walterhynson2898
    @walterhynson2898 4 года назад

    As long as the CLS command works I will be one happy camper Thanks

  • @microbits8774
    @microbits8774 2 года назад +1

    Hello can you help me to control the screen without microcontroller
    or with arduino but without library

  • @3x0c3t2
    @3x0c3t2 4 года назад +2

    Thank you for this work and sharing !

  • @ricowilko
    @ricowilko 4 года назад

    Excellent. I'm going to get a couple of these to play around with!!

  • @Celcius1
    @Celcius1 3 года назад

    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

  • @montanacarvalo
    @montanacarvalo 2 года назад

    esa librería se puede aplicar en pic c Compiler. si es así , pondrías solo un ejemplo. por favor

  • @KaradevNetLtd
    @KaradevNetLtd 3 года назад

    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 ???

    • @cbm80amiga
      @cbm80amiga  3 года назад

      I don't have PICO so tested it with AVR only where hardware SPI is used for good speed.

  • @winbox4.071
    @winbox4.071 3 года назад

    Great work. Thanks for sharing !

  • @turgayayyldz2172
    @turgayayyldz2172 2 года назад

    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?

  • @ВиталийМасесов
    @ВиталийМасесов 3 года назад

    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?

  • @ananonymousgamer4205
    @ananonymousgamer4205 2 года назад

    I need a graphic lcd asap this is awesome

  • @nicoshadjisofokli1725
    @nicoshadjisofokli1725 4 года назад

    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?

  • @westiand
    @westiand 4 года назад

    Hello thank you for this work, how can I print int float or another variable on display, which method?

  • @pietmatsobane6790
    @pietmatsobane6790 2 года назад

    Genius 🔥

  • @elpiter666
    @elpiter666 4 года назад

    Hi! great job! congrants, have you got a invert screen function?

  • @Flohpange
    @Flohpange 4 года назад

    Hello world example just gives compile error on this include: c64enh_font.h

  • @gyorgyolasz9656
    @gyorgyolasz9656 4 года назад

    Great lib!
    Can You share the detailed function list with all parameters?

    • @cbm80amiga
      @cbm80amiga  4 года назад

      All methods are in header file: github.com/cbm80amiga/ST7920_SPI/blob/master/ST7920_SPI.h

  • @theinel
    @theinel 5 лет назад

    Hi, I have an inudustriat equipment with VP12864G-01 LCD, can I replace it with directly with this type LCD ?

    • @cbm80amiga
      @cbm80amiga  5 лет назад

      I think so if it is exactly the same model

  • @tomidabjakoaudytorprzewazn8853
    @tomidabjakoaudytorprzewazn8853 5 лет назад

    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?

    • @cbm80amiga
      @cbm80amiga  5 лет назад

      Kazdy, ktory ma wyprowadzone PSB bedzie ok. Chinczycy czesto pisza, ze jest tylko polaczenie rownolegle co jest nieprawda.

    • @tomidabjakoaudytorprzewazn8853
      @tomidabjakoaudytorprzewazn8853 5 лет назад

      @@cbm80amiga Dziękuję za info, bo bardzo ciekawe są te lcd w porównaniu z oklepanymi KS0108 czy T6963.

  • @thienlongnguyenhoang9265
    @thienlongnguyenhoang9265 4 года назад

    Can you guide me how to connect LCD 128x64 17pin?

    • @cbm80amiga
      @cbm80amiga  4 года назад +1

      17th pin is not connected

    • @thienlongnguyenhoang9265
      @thienlongnguyenhoang9265 4 года назад

      Can you help me determine the connection pins? I really want to make. can i contact you via email?

  • @avijitdas6872
    @avijitdas6872 5 лет назад

    Awwwwwwwesome man,

  • @cefuve
    @cefuve 5 лет назад

    Thank you so much, this is really cool library for lcd st7920.
    Exist some way to rotate screen by software?

    • @cbm80amiga
      @cbm80amiga  5 лет назад

      You mean 180deg? You would need to copy screen buffer to LCD in reverse order.

  • @krass76
    @krass76 5 лет назад

    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
      @cbm80amiga  5 лет назад +1

      Definitely not. This one is very slow, even worse than Nokia LCD.

    • @krass76
      @krass76 5 лет назад

      thanks!

  • @valerioguagenti9955
    @valerioguagenti9955 2 года назад

    Hello congratulations for the video, really well done. I have an information to ask but where can I get the font library from?

    • @cbm80amiga
      @cbm80amiga  2 года назад +1

      You can find everything on my GitHub

    • @valerioguagenti9955
      @valerioguagenti9955 2 года назад

      @@cbm80amiga sure ? I don't find it

    • @cbm80amiga
      @cbm80amiga  2 года назад

      @@valerioguagenti9955 There are PropFonts and RRE libraries with a lot of fonts and examples

  • @avijitdas6872
    @avijitdas6872 5 лет назад

    Can this somehow be ported to ks0108 and ili9341 lcds too?

  • @CaliBeta
    @CaliBeta 2 года назад

    Great

  • @bbowling4979
    @bbowling4979 5 лет назад

    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?

    • @cbm80amiga
      @cbm80amiga  5 лет назад

      I don't have a link. But look for ST7920 LCD at Aliexpress

    • @bbowling4979
      @bbowling4979 5 лет назад

      cbm80amiga ok, thank you!

  • @abb9236
    @abb9236 3 года назад

    Where can I download the library?("c64enh_font.h")

    • @cbm80amiga
      @cbm80amiga  3 года назад

      Look at my github

    • @abb9236
      @abb9236 3 года назад

      @@cbm80amiga Could you give me the GitHub link?

    • @cbm80amiga
      @cbm80amiga  3 года назад

      @@abb9236 Look for PropFont library as described in the code

  • @williangomesarruda2972
    @williangomesarruda2972 2 года назад

    Hi, thanks for sharing, does it works with esp32?

    • @cbm80amiga
      @cbm80amiga  2 года назад

      I think so

    • @Mychma
      @Mychma 2 года назад

      @@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.

  • @tonymai124
    @tonymai124 4 года назад

    excellent. waooo

  • @ayaaca8500
    @ayaaca8500 4 года назад

    is it possible to use a font other than "c64enh" ?

    • @cbm80amiga
      @cbm80amiga  4 года назад

      On my GitHub you have a lot of fonts (regular proportional or RRE)

    • @ayaaca8500
      @ayaaca8500 4 года назад

      @@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"

    • @cbm80amiga
      @cbm80amiga  4 года назад

      @@ayaaca8500 You have to change names of conflicting callbacks. Look at ruclips.net/video/MBehHqti35w/видео.html for more details

    • @ayaaca8500
      @ayaaca8500 4 года назад

      @@cbm80amiga thank u sir, its work

  • @luizazeredo5197
    @luizazeredo5197 4 года назад

    Funciona essa biblioteca com o pic18f?

    • @cbm80amiga
      @cbm80amiga  4 года назад

      This is Arduino library mainly for AVR but should work with other Arduino compatible MCUs

    • @montanacarvalo
      @montanacarvalo 2 года назад

      @@cbm80amiga explícame un poco mejor eso. por favor.

    • @cbm80amiga
      @cbm80amiga  2 года назад

      @@montanacarvalo Ale co tu wyjasniac wiecej, biblioteka jest pod Arduino. Jak chcesz to przerob ja sobie pod dowolna platforme, masz przeciez zrodla.

  • @a.a.patrick
    @a.a.patrick Год назад

    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

    • @cbm80amiga
      @cbm80amiga  Год назад

      I don't remember now, but probably LCD driver required two 4-bit transfers. Does your modification work with your LCD?

    • @a.a.patrick
      @a.a.patrick Год назад

      @@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.

  • @westiand
    @westiand 4 года назад

    Hello thank you for this work, how can I print int float or another variable on display, which method?

    • @cbm80amiga
      @cbm80amiga  4 года назад +1

      Look at the examples. Convert float or anything to string and print it.