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

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

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

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

    Thanks for the tutorial!

  • @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! 😃

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

    thank you! it works!

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

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

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

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

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

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

    subbed

  • @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 😃

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

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

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

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

  • @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 😃

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

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

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

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

  • @spirit-teacher
    @spirit-teacher Год назад +1

    Wonderfully explained

  • @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!!

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

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

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

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

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

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

      Dutchman talking Dunglish 😄

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

    nice information

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

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

  • @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 😃

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

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

  • @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 😃

  • @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 😃