How to use the Nokia 5110 84X48 LCD display with Arduino

Поделиться
HTML-код
  • Опубликовано: 4 окт 2024
  • My Amazon recommended products:
    www.amazon.com...
    This is the Nokia 5110 84X48 display that was used on millions of phones in the late 90's. In this video, I show how to connect the Nokia 5110 LCD to an Arduino Uno, import the correct libraries to the Arduino IDE, and write code to generate text and graphics on the display.
    All about the Adafruit GFX library: learn.adafruit....

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

  • @ipodsandwaffles
    @ipodsandwaffles 11 лет назад

    My bad. All it takes is double checking the code.
    Excellent video. Well done

  • @dl8cy
    @dl8cy 11 лет назад

    Thank you for spreading your knowledge to the world!
    Not only showing what you have done "i am cool" - you explain a small piece the world - you give your viewers the feeling that it's possible to cut complex things into small understandable parts - THANK YOU FOR SHARING - SHARING IS CAREING! :-)

  • @garagegeekguy
    @garagegeekguy  11 лет назад

    Your welcome, thanks for the kind words.

  • @garagegeekguy
    @garagegeekguy  11 лет назад +6

    Eidallon Google, seriously. The most important skill you can have is being able to perform a relevant Google search quickly. Then almost all the information in the world is yours. I did learn electronics in the Air Force a long time ago, but I've learned 20X that since fooling around with this stuff.

    • @bugs181
      @bugs181 9 лет назад

      I completely agree! Knowing how to research is definitely one of the MOST valuable skills someone can learn. If you know how to dig through the internet (google, etc) then you can learn anything you ever want. Only if people could understand this rather than asking to be spoon fed all the information.
      Here are some of the things I've learned over the years that's helped me tremendously.
      Hint: Asking questions is one of the slowest ways to learn what you want/need, because it's likely someone has already asked your question and had plenty of answers. Use google, seriously!
      Hint: If you can't immediately find the answer your looking for, try searching your question in different ways / using different terms.
      Example:
      How do I ...
      Is it possible to ...
      Can I ...
      Has anyone ever ...
      Hint: Always be as specific as possible, this will help narrow down your search. If you're not seeing any results, try to slim the question down and be just a tad bit more vague. Repeat this step as necessary.
      Hint: When it's finally time to ask your question, try a popular community where your question is relevant. One of the most valuable resources I hang on to is the StackExchange community. They have so many sub-communities it's crazy! For example, they have a community just for electronics, and another for gardening, and another for beer making, etc.

  • @garagegeekguy
    @garagegeekguy  11 лет назад

    Thanks for the kind words - glad you found it useful. Good question about the functions in the Adafruit graphics library. I've added a link to an overview of the GFX library at Adafruit learning system in the description of the video.

  • @0redthunder0
    @0redthunder0 10 лет назад +2

    Absolutely love this screen!

  • @Pedr0Eugenio
    @Pedr0Eugenio 10 лет назад +1

    Great work! Very simple but efficient! Thanks :)

  • @leandronc
    @leandronc 11 лет назад

    Thanks for this great video. Inspired me to get a couple of these, they're in the mail :)

  • @davidecclestone5642
    @davidecclestone5642 10 лет назад

    Absolutely superb review, very informative, very clear. Please do more ;-)

  • @garagegeekguy
    @garagegeekguy  11 лет назад

    Easy - I'd recommend an Arduino. Support for peripherals is better and documentation is better. Move to the MSP430 later for projects where it makes sense, and when you have more experience.

  • @andresguerrero8298
    @andresguerrero8298 6 лет назад

    Great work! Very efficient! Thanks

  • @ramtingaming
    @ramtingaming 11 лет назад

    This video is awesome.
    Thanks for the tutorial.

  • @WayneRiesterer
    @WayneRiesterer 11 лет назад

    Thanks. Very helpful. My PC also had the keyboard problem. It seemed to go away after mucking around with my keyboard/mouse dongle. Maybe it's just the Arduino IDE, hence why I downloaded ATMEL Studio and Arduino for Visual Studio. Hopefully these solve the problem. Not much help on the Mac; unless you use a VM of course.

  • @TonyLing
    @TonyLing 7 лет назад

    Your cat sounds just like mine, I thought she'd come in and was asking for her supper

  • @Nitrxgen
    @Nitrxgen 11 лет назад

    Nokia is pronounced Noh-kia (like "not" without the T), not know-kia. Sincerely, Europe :P great video though, I may tear up some of my old phones to use their parts soon.

  • @dmitryl-electronicmodules754
    @dmitryl-electronicmodules754 6 лет назад

    Already, now, I do not program the electronic modules on the Arduino platform; fortunately, now, I program on the in-system programmer, using Arduino IDE and different programmable software.

  • @MYNICEEV
    @MYNICEEV 11 лет назад

    A great tutorial. Many thanks.

  • @garagegeekguy
    @garagegeekguy  11 лет назад

    Thanks! I never get my code right the first time, and usually not the second or third either. :)

  • @garagegeekguy
    @garagegeekguy  11 лет назад +1

    Look at the github page for that library, first of all. On that page it says:
    Check that the Adafruit_PCD8544 folder contains Adafruit_PCD8544.cpp and Adafruit_PCD8544.h
    That page also says - You will also have to download the Adafruit GFX Graphics core which does all the circles, text, rectangles, etc.
    Have you installed the libraries correctly? Can I see the code? The only thing I can tell from just looking at the error messages you've shown is that you've probably misspelled setCursor

  • @snaprollinpitts
    @snaprollinpitts 9 лет назад

    very cool, thanks

  • @MrMr999Mr
    @MrMr999Mr 11 лет назад

    Thanks. This is awesome.

  • @Kinetic79au
    @Kinetic79au 10 лет назад

    Good tute mate, but could you please maybe leave you scrolling through a datasheet till the end next time, or make an index :)

    • @garagegeekguy
      @garagegeekguy  10 лет назад +2

      Nope. Guess you got what you paid for.

  • @garagegeekguy
    @garagegeekguy  11 лет назад +3

    Tommy Arnold Yes! Have a 19 year old Siamese and 2 other cats.

  • @mariamarchitelli3426
    @mariamarchitelli3426 11 лет назад

    great tutorial. b-b-b-b-BEAST

  • @scientistrazz480
    @scientistrazz480 9 лет назад

    thanks a lot, that helped me

  • @motooilermotooiler9597
    @motooilermotooiler9597 10 лет назад

    thanks for taking your time and uploading this tutorial. can you tell me - would that be possible to hook up two displays to ONE arduino and operate both of them simultaneously displaying different data?

  • @thegovenor6166
    @thegovenor6166 6 лет назад +1

    What if I power it externally using 2 AAA batteries, will it still work as normal

  • @Amnos1channel
    @Amnos1channel 11 лет назад

    where did you lern all this stuff you know about engineering and programming? What did you study?
    because I want to learn these things, too.

  • @MilanKarakas
    @MilanKarakas 9 лет назад

    So, where is ther library "LCD_Functions.h"?
    "LCD_FROM_LONNIE.ino:39:27: fatal error: LCD_Functions.h: No such file or directory
    compilation terminated."

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

    Watching the video and wondering if it's your cat meowing or mine...

  • @lilianpadilla5091
    @lilianpadilla5091 9 лет назад

    Hi lonie I have a question, do you know how to code the hexadecimal code of an image into the display...Ive been having a hard time doing so. Your help is very much appreciated

  • @MarceloCutin
    @MarceloCutin 11 лет назад

    Hi, Lonnie. I tried your code with my Nokia 5110 LCD display (I have an Arduino Duemilanove) and the contrast set made all the difference, different from what you said in the video. The only difference I can see from my setup to yours is the Arduino board. Do you think it may be the cause of this different behaviour of contrast() function?

  • @hatchmanjunk
    @hatchmanjunk 10 лет назад

    Great video. Do you know how to connect two 5110 LCDs to one arduino? I have tried two different ways without success. (declared 2 classes and giving CE a pin of it's own) Thanks

    • @garagegeekguy
      @garagegeekguy  10 лет назад

      Junker Man I haven't done it yet. Will have to give it a try sometime.

  • @Infinitiely
    @Infinitiely 11 лет назад

    Hi, I want to make as simple project with LCD display, audio and some switches to start learning. Would you recommend arduino or MSP430 Lunchpad which is cheaper + better (?) to a beginner?

  • @rb5046_
    @rb5046_ 9 лет назад

    When I have a text problem in the Arduino IDE, I press the INSERT key on my keyboard, then it works normal.

  • @squidben5780
    @squidben5780 10 лет назад +1

    HI did check ur vid, but I still have a problem, I have a similar product nokia 5110, but the pin order is not the same, it is working but the text is so dimmed, I can barely see it, would u have any idea ??? tried a lot of things but nothing is helping.
    thanks

    • @jacobpaniagua8785
      @jacobpaniagua8785 8 лет назад

      Try 5 volts instead of 3.3. It won't hurt it (the max is 7 volts), and it worked for mine.

  • @ipodsandwaffles
    @ipodsandwaffles 11 лет назад

    Please help. Getting these errors:
    class 'Adafruit_PCD8544' has no member named 'setCuror'
    class 'Adafruit_PCD8544' has no member named 'println'
    class 'Adafruit_PCD8544' has no member named 'width'
    class 'Adafruit_PCD8544' has no member named 'height'
    error: statement cannot resolve address of overloaded function

  • @konstantinudovichenko7992
    @konstantinudovichenko7992 10 лет назад

    11 лет, бейсик на ZX Spectrum и команда drow без косинусов, синусов и т.п. прям как у автора... только мне тогда было 11 лет, может быть автору тоже 11 лет?...

  • @johnlight4572
    @johnlight4572 10 лет назад +1

    Hi great tutorial like all your other videos. Is there anywhere that the code for this Arduino/Nokia clock is still available for download? Thanks. I'm really just interested in the second hand sweep loops. Thanks again.

    • @garagegeekguy
      @garagegeekguy  10 лет назад

      That is a really good question John - I should have posted that code. Let me see if I can find it for you.

    • @garagegeekguy
      @garagegeekguy  10 лет назад

      John Light I sent the code to your inbox, along with my email if you have other questions.

    • @johnlight4572
      @johnlight4572 10 лет назад

      Lonnie Honeycutt Thank-you I will make good use of it.

    • @boasa
      @boasa 10 лет назад

      Lonnie Honeycutt Could you please send me the code?

    • @boasa
      @boasa 10 лет назад

      John Light Can you please send me the code?

  • @videokolya
    @videokolya 8 лет назад

    My LCD's contrast is very low, sometimes it's difficult to read anything from it. Sometimes it works perfect and clear but for just seconds, then it goes blink and then again its contrast lower down. And i didn't forget to setContrast(60). What the problem may be?

    • @jacobpaniagua8785
      @jacobpaniagua8785 8 лет назад

      Try 5 volts. Mine had the same problem, but some models use 5 volts rather than 3.3. It won't hurt it, the max is 7 volts.

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

    Put the circuit diagram please

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

    can I connect it with arduino nano?

  • @jesset2550
    @jesset2550 10 лет назад

    That's WY mine drove It works on 3v

  • @nommo919
    @nommo919 7 лет назад

    lonnie great work, I want to code please..

    • @nommo919
      @nommo919 7 лет назад

      haldunsuri@gmail.com

  • @NirmalKumarK
    @NirmalKumarK 11 лет назад

    what linux os ur using?

  • @arunavabhattacharyya3437
    @arunavabhattacharyya3437 8 лет назад

    can i use different version lcd of nokia?

    • @igrewold
      @igrewold 7 лет назад

      yes 3310 work. or any model that has similar lcd.
      www.sparkfun.com/products/retired/8629

  • @smersh46
    @smersh46 11 лет назад

    Is the cat ok?

  • @garagegeekguy
    @garagegeekguy  11 лет назад

    It's actually Mac OSX

  • @OneCoolDude08
    @OneCoolDude08 11 лет назад

    I think your flux capacitor went bad :-)

  • @tommyarnold9367
    @tommyarnold9367 11 лет назад

    Is that your cat in the background?

  • @p_n4839
    @p_n4839 7 лет назад

    i got it for 3$ on amazon

  • @tmpEngine
    @tmpEngine 11 лет назад

    18:28 trololololol

  • @richardbecker5916
    @richardbecker5916 10 лет назад +5

    I'm sorry is there a point to this video? I fell asleep waiting for you to get to any point that was interesting.....I guess I missed it all......

    • @garagegeekguy
      @garagegeekguy  10 лет назад +28

      Some people pays hundreds of dollars for sleep aids. The ingratitude these days

    • @jacobpaniagua8785
      @jacobpaniagua8785 8 лет назад

      Oh snap! XD

  • @loleggas
    @loleggas 11 лет назад

    would you be able to give me the full coding for the clock?