Tutorial on I2C OLED Display with Arduino/NodeMCU

Поділитися
Вставка
  • Опубліковано 20 сер 2024
  • The very first program you write when you start learning a new programming language is : "Hello World!".
    The program itself does nothing more than printing a “Hello World” text on the screen.
    So, how do we get our Arduino to display the "Hello World!"?
    In this video I will be showing you how to get started with the small 0.91 (128x32) and 0.96 (128x64) I2C OLED displays.
    There are 100s of tutorials on the web explaining the same thing in different ways, but I couldn't find one that tells me all about the OLED display and how to use it in different scenarios. It took me some time to work it all out. So, I thought I should create a tutorial on what I have learned and combine all the features and ways the OLED displays can be used in our projects.
    #OLEDDisplay
    Links
    ---------
    - Blog: diyfactory007.b...
    - Add Image: javl.github.io/...
    - Custom Text: oleddisplay.squ...
    - Adafruit display library: github.com/ada...
    - Adafruit GFX library: github.com/ada...
    - u8glib library: code.google.co... or github.com/oli...
    Support My Work
    ----------------------------
    BTC: 35ciN1Z49Y1bReX2U7Etd9hGPWzzzk8TzF
    DOGE: DDe7Fws24zf7acZevoT8uERnmisiHwR5st
    LTC: MQFkVkWimYngMwp5SMuSbMP4ADStjysstm
    ETH: 0x939aa4e13ecb4b46663c8017986abc0d204cde60
    TRX: TQJRvEfKc7NibQsuA9nuJhh9irV1CyRmnW
    BAT: 0x939aa4e13ecb4b46663c8017986abc0d204cde60
    BCH: qrfevmdvmwufpdvh0vpx072z35et2eyefv3fa9fc3z

КОМЕНТАРІ • 446

  • @JohnPaul-ji4kf
    @JohnPaul-ji4kf 28 днів тому +1

    Best ever tutorial seen recently.... no one can explain more clearer

  • @kd4pba
    @kd4pba 5 років тому +11

    Having worked for one of the largest networking companies on earth, I am very used to writing documentation, and creating video tutorials. This is Very very well done. Very well explained and detailed. Very clear instructions with purpose and no confusing references. If you do get confused pick up some of the free docs for Ardunio to help fill in the blanks. I have worked with MC since I was in school years ago. Kudos on the video very well done! I Look forward to more!.

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 років тому

      Thanks a lot for the appreciation
      It really helps me in getting motivated
      Thanks :)

  • @yogeshpawar159
    @yogeshpawar159 4 роки тому +52

    Now, this is how a tutorial is done!!

  • @stoveman
    @stoveman 4 роки тому +4

    Fantastic tutorial. The closing wrap up with Common Errors was a bonus. Clear concise and informative. Thanks !!

  • @zorka4098
    @zorka4098 2 роки тому +2

    Just dipping into Arduino and NODEMCU world and your very clear explanation was exactly what I needed. Thanks!

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

      Cheers mate
      I am happy that I was able to help you

  • @vinayprasad2144
    @vinayprasad2144 3 роки тому +2

    very well explained and in details. i spent numerous hours trying to get my OLED to work , stumbled upon this video and found out my OLED address was incorrect.

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

      Thanks for the appreciation mate, happy to help

  • @gracebyseven
    @gracebyseven Рік тому +4

    This is simply OUTSTANDING! Thank you very much!

  • @redserpent
    @redserpent 3 роки тому +3

    This is the video to keep in your library.

  • @bigheat86
    @bigheat86 5 років тому +3

    Really really nice tutorial. Very compact source of information. One small hint: its not a zero (0) Ohm resister. Its 472 printed on, which is 4,2 kOhm

  • @pepperparkffm
    @pepperparkffm 5 років тому +21

    WTF! In these 16 minutes I've learned more about displays and communication than ever before in a few days :-D. Thanks buddy!!! And btw, very good and clear english. Perfect for me as a native german :-)

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 років тому +1

      You are most welcome.
      Subscribe for more tutorials and projects that are on its way

  • @90FF1
    @90FF1 5 років тому +7

    OUTSTANDING tutorial. Well done videography too. After hours and hours researching to find the answers, you said it all in less than 17 minutes. Thank you Crazy Couple. Thumbs and new subscriber.

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 років тому

      You are most welcome.
      Check out my other tutorials if you have some spare time. You may find something interesting in there too

  • @ronb4633
    @ronb4633 2 роки тому +1

    Thanks for the education that the Arduino is limited to the high order 7 bits for the address. That was extremely helpful. Also the usage of the Mux was in great detail. Excellent videos.

  • @googleuser6875
    @googleuser6875 5 років тому +1

    I have to agree with Laszlo, this is the most inclusive tutorial I've seen Thanks for your work.

  • @tomcarroll6744
    @tomcarroll6744 11 місяців тому +1

    You did a very good job on this video. It is very clear and complete. When I am about to hook up my OLED I will use your video as my reference. Thanks for the great lesson.

  • @notimeforyou9818
    @notimeforyou9818 5 років тому

    I've already figured out the I2C oled thing, but still learned about the 7 bit addressing, font and image converter resources and the multiplexer by watching this - great video, keep up the good work, and thank you.

  • @cloudsuck
    @cloudsuck 6 років тому +2

    Your video is simply a breakthrough for me!! I had been struggling with many aspects regarding Arduino including display routine configuration. Thanks SO MUCH :)

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  6 років тому

      I am glad that I was bale to help you.
      Stay tuned for more and if you want u can check out my other tutorials :)

  • @backoff7447
    @backoff7447 5 років тому +1

    Copied from Reddit:
    As
    someone who is also still learning about electronics and Arduinos I felt the
    timing of this being posted was kind of funny and that I should chime in. Now
    what's funny about it, for me at least, is that I just finished working with an
    OLED on a NodeMCU ESP-12E after not having worked with one for at least a year
    (the former being rigged to a Nano). Naturally, I needed a little bit of a
    refresher but got it working.
    With
    that in mind, I saw this post and felt like the timing was right and I'd give
    it a quick look since it's still fresh in my mind. To be honest, I didn't
    actually expect much - I did my project, I learned plenty about OLEDs and got
    them working, and honestly, there are just so many websites and videos out
    there already and so much information that what could this video possibly do
    for me?
    I
    was actually really surprised with this. Like I said, the proverbial market is
    flooded with information - a plethora of blogs and videos on how to do stuff
    like this, and most of them are difficult to read through or unpleasant to
    watch. This guy gets it right. His editing and presentation are fantastic, his
    video footage is good quality, and he has easy-to-read schematics he walks us
    through. Not only that, he goes way above and beyond, showing us how to set up
    multiple OLED screens together, how (and why) addresses work, how to use
    multiplexers for many OLEDs, and concludes with talking points on the
    advantages and disadvantages of using an OLED and common errors in setting them
    up.
    This
    video is really well made and very helpful, and for anyone who is anywhere in
    the "just learning" to "needing a refresher" range of skill
    level, I couldn't recommended this more. I mean, I just did a project with an
    OLED and refreshed myself but still learned some things from this video. This
    is honestly the kind of stuff I want to see when I'm looking for refreshers on
    something or to learn something new. Great job.

  • @jobaptist
    @jobaptist 5 років тому +2

    excellent presentation... no nonsense and straight to the point... easy to understand too... good job on the tutorial...

  • @MartinBLopez
    @MartinBLopez 2 роки тому +1

    The best tutorial I have seen for oled. So thorough. Thanks a bunch. great work Keep it up. I subscribed, It is rare when I do.

  • @mbunds
    @mbunds Рік тому +1

    Thanks a million for this! Everything worked perfectly, the first time, including multi-display!

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

    very complete, detail oriented, and concise delivery...thx

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

      Thanks a lot for the appreciation 👍🙏

  • @framirez7144
    @framirez7144 5 років тому +2

    This is one thorough, clear and very well done video. Thanks a lot.

  • @mpwsh
    @mpwsh 5 років тому +1

    hands down best video about oled displays and common display knowledge. Thanks!

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 років тому

      Thanks a lot. More tutorials and projects are on its way, so stay tuned

  • @quinnshanks1656
    @quinnshanks1656 2 роки тому +1

    literally the best tutorial ever! Now i know everything i need to know!

  • @eric-janvandenbogaard9415
    @eric-janvandenbogaard9415 5 років тому +1

    Thank you, for a very clear guide how to use these Oled displays, it's just what i needed.

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 років тому

      You are most welcome.
      Subscribe for more tutorials and project.
      Have a very happy and prosperous new year

  • @ianpritchard6375
    @ianpritchard6375 5 років тому +3

    Great! ssd1306_128x64_i2c works!!
    I use an Arduino Due .. and the key for me was telling me that - if I was using a *Mega* - then I should use terminals 20 and 21. The penny suddenly dropped. That works on the Due too.
    The Due also has terminals SCL1 and SDA1 in the same position as they are on the Uno.. and they don't work for this. Nor does using A4 and A5 as many tutorials show. Need to use terminals 20 and 21 folks.
    Also ..I goofed first time on the mixture of underscores and hyphens in the file names. Out of the box they don't match so need to go through those very carefully.
    Thank you!!

  • @d3bbi339
    @d3bbi339 4 роки тому +2

    You convinced me to buy a multiplexer and also a node mcu lol. Great tutorial!

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

      Thanks
      I am glad that I was able to help you

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

    The Best explain on UA-cam!

  • @bye9074
    @bye9074 6 років тому +5

    Well explained and engaging
    The pace is very good and u covered almost everything in this tutorial
    Amazing, keep it up

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

    Thank you. This is one of the best detailed tutorial I ever watched.

  • @bgable7707
    @bgable7707 4 роки тому +3

    Well done, great thorough inclusive explanation of everything!

  • @btcsys
    @btcsys 5 років тому +3

    What a superb instructional video. Thank you and keep them coming

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 років тому

      Thanks mate, your word mean a lot to me.

  • @nomatterwhat3049
    @nomatterwhat3049 5 років тому +3

    This is gold, just an amazing all in one presentation

  • @g0hjq
    @g0hjq 4 роки тому +2

    Thank you for a great tutorial. Concise and exactly what I needed to know

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

    Hello from India....Thanks a lot for creating such an informative tutorial with every bit of details...appreciated. Liked Subscribed.

  • @harishk3956
    @harishk3956 5 років тому +1

    Very good explanation. Sufficient for a beginner. Worked for me

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 років тому +2

      You are welcome, stay tuned for more amazing future tutorial and projects

  • @jefferycalwin6792
    @jefferycalwin6792 5 років тому +2

    really usefull and clear cut explanation . THANK YOU BRO

  • @TheMistervac
    @TheMistervac 6 років тому +1

    Well done ! Great tutorial for the beginners. I just looked something like that. All The Best !

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  6 років тому +1

      Thanks a lot for the appreciation mate :)

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

    Thank you very much for the video, very clear. Kind regards from Argentina

  • @MauroAnderlini
    @MauroAnderlini 5 років тому +1

    Ottime spiegazioni che mi hanno fatto proseguire nel mio progetto. Grazie!

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 років тому

      Thanks for that, best of luck with your project

  • @c.l.369
    @c.l.369 4 роки тому +1

    respect for your work CRAZY COUPLE, u did this tutorial so well, wow!

  • @Cashiez
    @Cashiez 5 років тому +2

    Fantastic!!! One of the best tutorials I've seen.

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 років тому

      Thanks. If you have time check out my other tutorials.

  • @painhour
    @painhour 4 роки тому +3

    I know this is an older video but when running on an Uno R3 you may need to change 0x3D to 3C to get it to work

  • @sydytch1
    @sydytch1 Рік тому +1

    Best tutorial ever

  • @wormlord42
    @wormlord42 5 років тому +2

    This tutorial is legitimately amazing. Thanks so much!

  • @jonathanflores3748
    @jonathanflores3748 6 років тому +1

    Sir thank you for this tutorial, is awesome! thank you for taking the time to do this!! You rock!

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  6 років тому +1

      Thanks a lot for watching and stay tuned for more tutorials and projects that on its way :)

  • @twistedace6365
    @twistedace6365 5 років тому +1

    Thank you for making this! It was very helpful and informative.

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 років тому

      You are most welcome,
      Stay tuned for more :)

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

    good job, made the whole task look so simple, tutorial very much appreciated!

  • @suryaraju2827
    @suryaraju2827 5 років тому +1

    Definitely worth the watch, thank you for the video, well made 👍

  • @thomaspatrick4564
    @thomaspatrick4564 5 років тому +1

    WOW. Thank you! I got mine working thanks to your video. I subscribed! Keep up the good work!

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 років тому +1

      Thanks a lot. I am glad that I was able to help you ✌️✌️

  • @ndiwww
    @ndiwww 6 років тому +2

    i'm not easily impressed by anything person type.. like your video.. keep it up

  • @allthebest6986
    @allthebest6986 5 років тому +1

    This is great, one stop shop for everything

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

    Informative and to the point. Great job👍🏻

  • @raulrrojas
    @raulrrojas 5 років тому +2

    That was really a great imstructive! Thank you!

  • @IHateYou-zp3qq
    @IHateYou-zp3qq 5 років тому +4

    Best tutorial I have ever scene

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

    very clear and concise :) great work

  • @woodd1000
    @woodd1000 5 років тому +1

    Thank you - Very comprehensive - well presented.

  • @rickrandazzo
    @rickrandazzo 23 дні тому +2

    new subscriber. hope you'll do one like this for the TFT... NOT using the TFT_eSPI library - or if you must, at least give it a good going over of the two set up files. But I would really like to see something like this video done for the ST7735. Thanks

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  23 дні тому

      Will try to do one for sure mate
      Just have a few other videos in the pipeline

  • @DIYables
    @DIYables Рік тому +1

    Nice presentation!

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

    Thank you so much brother awesome tutorial

  • @dimpen
    @dimpen 4 роки тому +2

    great videos and tutorials! thank you!

  • @ConspireToConspire
    @ConspireToConspire 5 років тому +1

    Terrific video. This was very informative and clear.

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

    Very informative, Thank You

  • @MotorHead-qd8ls
    @MotorHead-qd8ls 5 років тому +3

    Beautiful just beautiful, thank you so much!!

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 років тому

      You are welcome. More projects and tutorials are on its way so stay tuned.

  • @padhaiisdifficult6322
    @padhaiisdifficult6322 4 роки тому +2

    Thanks buddy it helped me a lot for my project.......😀😀😀

  • @marcelocheves
    @marcelocheves 5 років тому +1

    great instructions, very clear and complete.

  • @sajad.7369
    @sajad.7369 2 місяці тому +1

    Thanks bro Your works is amazing

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

    Thank you,can u make videos about pressure sensor transducer for oil, water

  • @LightTubes
    @LightTubes 5 років тому +1

    Very good tutorial and information, keep posting

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

    thank so much ..give me more crazy idea to improve technology

  • @Xen_Prime
    @Xen_Prime 5 років тому +1

    Such a good explanation. Good job

  • @projected.5943
    @projected.5943 4 роки тому +1

    amazing tutorial

  • @amitaimedan
    @amitaimedan 5 років тому +2

    Excellent video man!

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

    great tutorial , thanks for sharing .my like is done.

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

    Was stuck on the addresses. First person I found explain that you done put the address on the board in the code like a I2C LCD.

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

    Great video. Greetings from Germany.

  • @Bianchi77
    @Bianchi77 2 роки тому +1

    Keep it up, nice video, thank you for sharing it :)

  • @damithsm1980
    @damithsm1980 5 років тому +2

    Very good explanation....Love it... :-)

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 років тому

      Thanks mate, subscribed and stay tuned for more amazing tutorials and projects

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

    Good Explained

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

    Very Good Tutorial and Really Great learning experience.☺️

  • @MysteryPringles
    @MysteryPringles 5 років тому +2

    Very good explain

  • @bnepeople8740
    @bnepeople8740 5 років тому +1

    Nicely compiled, well done.
    I have subbed

  • @verma0111
    @verma0111 6 років тому +3

    Amaizing presentation

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

    Very good video, I have a question, how I can put a web site in the display with the noodle?

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

      Showing an entire website will be a bit of a chalkaoge but may be you can extract parts of the website and display that bits only on the oled

  • @emimix
    @emimix 5 років тому +1

    Very nice and easy to follow....thanks

  • @ElectroIoT
    @ElectroIoT 5 років тому +5

    wow really very nice tutorial ...

  • @MilanKarakas
    @MilanKarakas 5 років тому +1

    Excellent tutorial. Subscribed!

  • @basildouglas855
    @basildouglas855 5 років тому

    Good day, I have just watched your video on connecting and programming the Oled display to an Arduino. I was absolutely stunned at your presentation. How you managed to fit a 10 episode course into a single 12 minute video, defy's logic. Of course I would like to be able to connect an Oleg to my Arduino and do the required programming and the necessary changes in the software. But sadly, I will not manage to do this from your video. I have no doubt whatsoever that you are talented and very proficient at what you do, but being a genius at something does not necessarily mean that you will also be skilled in conveying your talent to others. I want to share the following with you, years back, I was still a student pilot, and my instructor warned me about some instructors that are only interested in showing students how well they themselves can fly. I honestly believe that you should have another go at this video, back off from your brilliance, come down to our average level and do it again. There are thousands of us out there who can benefit. I've read some of the comments, most of them say nothing, they just throw you a bouquet. I am being honest here, guys like us need people like you, however, if all you are achieving is to sow confusion, then your video is pointless and a complete waste of time. Regards

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 років тому

      I truly appreciate an honest comment and a very good suggestion. I will make another one with absolutely no jargon in it. I will try to keep it as simple as I can and as easy to understand as it can be.

    • @basildouglas855
      @basildouglas855 5 років тому +1

      Thank you, I and many others are most grateful for your efforts. Regards

  • @Kaikai-i5i
    @Kaikai-i5i 4 роки тому +1

    very usefull now i fix it

  • @Glensully
    @Glensully Місяць тому +1

    thank you!

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

    Excellent info -very helpful

  • @mining2378
    @mining2378 5 років тому +1

    best tutorial ever

  • @fin3125
    @fin3125 5 років тому +2

    Great video. So far no one answered this. How can I use different pins? I am using D0-D7 for keypad on NodeMCU.

    • @CrazyCoupleDIY
      @CrazyCoupleDIY  5 років тому

      First of all thanks for watching
      Now, D1 and D2 on NodeMCU are SCL and SDA.
      Which means if you are trying to use an I2C sensor it has to be on those pins unless you multiples it using a TCA9548A i2C MUX.
      You can check out my tutorial number 9 for that: ua-cam.com/video/XWQsqPQOW-U/v-deo.html
      Now, if you are running out of GPIO pins you need to extend your GPIOs using an IO extender. My next tutorial is on that only.
      If you want you can check it out next week and that will for sure answer your question.
      Using the i2c IO Extender you can extend the GPIO pins to have 128 'parallel' pins.

  • @waterjoe2024
    @waterjoe2024 6 місяців тому +1

    Very informative

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

    I keep getting a myBitmap was not declared in this scope error. How can I get rid of this error?

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

    Excelent vid, full of useful information.

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

    This Excellent video it will be more exciting if talking will be little slow to absorb for beginners like me

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

      thanks for the appreciation.
      The length of the video was going out of control so I talked a bit too fast.
      But, in all my upcoming videos I am trying to talk a bit slow 👍✌️

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

      @@CrazyCoupleDIY thanks sir, really very nice especially the mutiplexer capability, can you feature next time for can bus in esp32 in the future??

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

      Sure

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

      @@CrazyCoupleDIY thanks in that case I will subscribe now

  • @Eurus721
    @Eurus721 6 років тому +1

    Excellent work. Very helpful information.
    Thanks

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

    Perfect!! And THAT is a good tutorial!

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

    I want screen upside down fonts in 0.91 OLED display (90 DEGREE FLIP) HOW CAN I DO THAT