LCD DISPLAY 128x64 ST7920 GRAPHIC SPI - Arduino tutorial #16

Поділитися
Вставка
  • Опубліковано 28 вер 2024

КОМЕНТАРІ • 71

  • @BasonTech
    @BasonTech  4 роки тому

    👉 Don't forget to check arduino-tutorials.net for more Arduino tutorials and projects.
    If you have questions, don't hesitate to ask them in the comments. Remember: There are no stupid questions 😃

  • @ARiLDSONV
    @ARiLDSONV 4 роки тому

    amazing informative video! thank you so much i’d love to learn more about programming custom design into the code

  • @Geert890
    @Geert890 3 роки тому

    senks for zutsj a goeie tutorial

    • @BasonTech
      @BasonTech  3 роки тому

      Thanks! Great to hear 😃

  • @simasonline5215
    @simasonline5215 Рік тому

    helo, how to clear display mode in code "if"?

  • @tobiasstiller2976
    @tobiasstiller2976 3 роки тому

    thank you! it works!

    • @BasonTech
      @BasonTech  3 роки тому

      Hi Tobias, great to hear! Well done! 👍🏻

  • @meylicolmenero9324
    @meylicolmenero9324 2 роки тому

    I got an error saying "Low memory available, stability problems may occur.
    " after compiling and uploading. I this an issue with the LCD model I chose or the Arduino itself. Very helpful video though!

    • @BasonTech
      @BasonTech  2 роки тому

      It could be that the amount of memory on your Arduino is quite low. Which Arduino are you using?

  • @esc4x4
    @esc4x4 Рік тому

    Hello, I was watching your videos and I wanted to know if you can replace an lcd of a radio transmitter because its lcd is smeared and I can't find an answer, the model is Yaesus Systen 600 and I ask, can the change be made for something more up-to-date? ??

    • @BasonTech
      @BasonTech  Рік тому

      Can't really tell, I am not familiar with these components. Maybe someone on the Reddit forums can tell?

  • @eloycreichmon36
    @eloycreichmon36 4 роки тому +1

    muy buen tutorial!! Voy a probar conU8G2_ST7920_128X64_F_SW_SPI u8g2(U8G2_R0, /* clock=*/ 13, /* data=*/ 11, /* CS=*/ 10, /* reset=*/ 8); el reset hay que conectarlo al pin 8?

    • @BasonTech
      @BasonTech  4 роки тому +1

      If I understand you correctly, you are asking if pin 8 isn't connected. That's true, the reset pin doesn't have to be connected to make the sketch work.

    • @eloycreichmon36
      @eloycreichmon36 4 роки тому

      @@BasonTechIt is successfull!! U8GLIB ST7920 128X64 u8g( 13, 11,10,U8G_PIN_NONE); thank you very much!!

  • @rullysamuelsianipar
    @rullysamuelsianipar Рік тому

    My lcd st7920 didn't anything, last week it shows a text

    • @BasonTech
      @BasonTech  Рік тому

      Check your wiring closely, it happend to me many times that a wire got loose

  • @paulpixzy5297
    @paulpixzy5297 4 місяці тому

    Can i use this glcd with esp32 wroom??

    • @BasonTech
      @BasonTech  3 місяці тому

      The ESP32 has SPI so you should be able to make it work 😃

  • @packiasuriya8017
    @packiasuriya8017 Рік тому

    Hi do you have ST7920 Graphic spi python library if it is available please let me know

  • @spirit-teacher
    @spirit-teacher Рік тому +1

    Wonderfully explained

  • @DuroLabs85
    @DuroLabs85 9 місяців тому

    hi i tried it in spi mode but seems like my lcd is not working it just remains completely blank i checked the connections and the code both of them are fine ?

    • @BasonTech
      @BasonTech  9 місяців тому

      Are you sure you use the same LCD with ST7920?

    • @DuroLabs85
      @DuroLabs85 9 місяців тому

      @@BasonTech well I am not sure which chipset it uses

  • @ipadize
    @ipadize 2 роки тому

    Is this display using much calculating power? I am planning on building a focus stacker and the stepper motor needs to move very smoothly.

    • @BasonTech
      @BasonTech  2 роки тому

      That kinda depends on your microcontroller and the rest of your project. Can't really say anything on this, sorry.

  • @onurolce
    @onurolce 4 роки тому

    can this library print text via thermal printer ? I saw its document, and there is something A2 Printer. Do you know what is it ?

    • @BasonTech
      @BasonTech  4 роки тому

      This library is specific to show data on displays. I know this thermal printer: learn.adafruit.com/mini-thermal-receipt-printer/overview which is controllable with an Arduino. Does that help you?

  • @qsdrfghgujfddyffguff
    @qsdrfghgujfddyffguff 4 роки тому +1

    nice information

  • @decem_unosquattro9538
    @decem_unosquattro9538 2 роки тому

    Hallo! 😀
    I like Arduino projects and I like this particular 128x64 LCD !
    I have in front of me two 2004 (20 columns and 4 rows) LCDs.
    I have them plugged into a bread board both powered by the one 5V rail on my Arduino.
    The SDL and SDA pins are connected to the bread board which is connected to analog A4 and A5 on my UNO.
    By duplicating and altering the code it's not too hard to set unique addresses for each LCD.
    By default all I2C module have three solder points labelled A0, A1, A3.
    Moreover I noticed these I2C modules from factory are set as "ox27" (HEX)
    I decided to add another LCD and an I2C module which needs to have AO (on the I2C module bridged(soldered) which sets its unique HEX address to ox26.
    Now I have two LCDs attached to two I2C modules both with the unique HEX addresses.
    With a bit of duplication and some alterations to the code it's working !
    Only issues is that IDE indicates there could be some issues because memory is maxed out ! Not quite sure if that's the issue or not still I shall see soon.
    So yeah I like to watch a video with the I2C modules piggy backing the LCDs.
    It's a lot easier to wire ! Only 4 pins. 2 power and SDA and SCL.
    If you have that same set-up let me know.
    I want to set it up now.
    👍 I like your videos ! Typical German or European mindset. Very organised and well explained.
    Thank you.
    Bye.
    Decem.

  • @walterhynson2898
    @walterhynson2898 4 роки тому

    tutorial is ok however there are mistakes in video wiring hookup,also there is a lot more to using U8G2 then what the instructor teaches...Also this works with arduino MEGA

    • @BasonTech
      @BasonTech  4 роки тому

      Hi Walter, do you mind to share the wiring mistakes? You're right there is more possible with U8g2, this tutorials is about connecting the display not about U8g2. One day I'll make a separate one about U8g2 😃

  • @Thornsandbismuth
    @Thornsandbismuth 2 роки тому

    I know this video is old and this might be a stupid question, but after you download the code to the arduino do you need to do anything to "activate" the graphics on the lcd or should they immediately appear on the lcd screen?

    • @BasonTech
      @BasonTech  2 роки тому

      Please remember that no question is stupid! When you've uploaded the code to your Arduino the screen should show the graphics. No activation is needed.

  • @VulcanOnWheels
    @VulcanOnWheels Рік тому

    2:43 Peripherical...?
    Also, where did you pick up your pronunciation of Arduino?

    • @BasonTech
      @BasonTech  Рік тому

      Dutchman talking Dunglish 😄

  • @danjason2167
    @danjason2167 4 роки тому

    hi, i seem to only have the top line working, I'm almost certain I have followed to the letter, my screen is blue instead of green, could that mean its the wrong LCD screen model, like I said I do seem to get the top line any additional information would be greatly appreciated.

    • @BasonTech
      @BasonTech  4 роки тому

      Hi Dan, for me it is quite hard to guess but some thought:
      - It could be that you have indeed a different model, if so check if you can find the correct to to initialise your screen
      - Sometimes I had issues with loose connectors which caused some artefacts on the screen
      - Maybe it is a faulty LCD, do you perhaps have a second one?
      In the description of the video is a part list. Maybe this helps you to check if the type is the same as yours.

    • @danjason2167
      @danjason2167 4 роки тому

      @@BasonTech thank you for the reply I managed to get it with a very similar video to yours, same layout for the pins but using a different code line.

  • @CheGuSyaifulOfficial
    @CheGuSyaifulOfficial 3 роки тому

    thanks, dude can you make video how to use i2c modul at the same partat the video please

    • @BasonTech
      @BasonTech  3 роки тому +1

      See this tutorial I've made: arduino-tutorials.net/tutorial/i2c-lcd-display-with-text-and-custom-symbols-on-arduino 😃

    • @CheGuSyaifulOfficial
      @CheGuSyaifulOfficial 3 роки тому

      @@BasonTech This video not use 128X64 LCD, I want to use 128X64 LCD but using I2C not SPI, did you?

    • @BasonTech
      @BasonTech  3 роки тому +1

      Ah ok. Sorry I've no experience with using it with I2C

    • @CheGuSyaifulOfficial
      @CheGuSyaifulOfficial 3 роки тому +1

      @@BasonTech oh okay thank you so much my friend

  • @kalj7
    @kalj7 3 роки тому

    Anyone have a link to where to buy the green/yellow variant used in the video?

    • @BasonTech
      @BasonTech  3 роки тому

      I've checked multiple sites, unfortunately I can only find the blue/white variant

  • @aadisingh5086
    @aadisingh5086 3 роки тому

    Can i use JHD 12864 display from transister tester ?

    • @BasonTech
      @BasonTech  3 роки тому

      I am not sure if this one is using the ST7920 controller

  • @mihairadu6790
    @mihairadu6790 3 роки тому

    Hello Bas! How do you power the Arduino board to get both 5V and 3.3V from it?

    • @BasonTech
      @BasonTech  3 роки тому

      The Arduino UNO has two outputs, one for 3.3V and one for 5V

  • @RDCST
    @RDCST 4 роки тому

    My brain was running like at 7Hz but after the music at the end boost up to 40Hz, nice!

  • @erasmoramirez9216
    @erasmoramirez9216 4 роки тому

    thanks for the infomation, was very useful for my SSD1306 SPI display, only made some code changes

    • @BasonTech
      @BasonTech  4 роки тому

      Great to hear I could help! 😃

  • @lumrodger868
    @lumrodger868 7 місяців тому

    Does the display come with the pins pre-soldered on it?

    • @BasonTech
      @BasonTech  7 місяців тому

      No it doesn't. You have to solder them yourself

  • @shyleshsrinivasan5092
    @shyleshsrinivasan5092 3 роки тому

    Thanks "Bas on Tech" for this video ! May the force be with Oliver for having made the U8g library ! What a great favour !

    • @BasonTech
      @BasonTech  3 роки тому

      Thanks! Oliver did indeed a great job for the U8g library! Btw a few days ago I've added the textual version of this tutorial on arduino-tutorials.net/tutorial/control-graphic-lcd-display-spi-st7920-128x64-with-arduino with some more background info 😃

  • @borakaygusuz522
    @borakaygusuz522 Рік тому

    can i use this code and circut for leonardo

    • @BasonTech
      @BasonTech  Рік тому

      That should probably work. You might have to change the pin numbers for SPI. I am not sure if these are the same.

  • @ucglib530
    @ucglib530 4 роки тому

    Thanks for the tutorial!

  • @HSelimSerdar
    @HSelimSerdar 4 роки тому

    subbed