How to Use SSD1306 OLED Display with Raspberry Pi Pico

Поделиться
HTML-код
  • Опубликовано: 2 окт 2024
  • How to Use SSD1306 OLED Display with Raspberry Pi Pico
    Raspberry Pi Pico: www.raspberryp...
    OLED SSD1306 Library: github.com/stl...
    Thonny IDE: thonny.org/
    In this video we setup and demonstrate how to use an SSD1306 based OLED display with the Raspberry Pi Pico.
    6aGet 5 PCB's for $5 (plus shipping) - www.pcbway.com/
    All of my PCB designs are available from PCBWAY: www.pcbway.com...
    My Amazon link: Anything you buy through this link helps support the channel, it doesn't cost you extra, and I make a few%. amzn.to/3706t6c
    Yes!! I now have merch: teespring.com/... Electronics themed T-ShirtsIf you are shopping for electronic components, test gear or consumables please consider visiting my Amazon shop @ www.amazon.com...
    Please check out / learnelectronics and pledge a dollar if you can. It will go a long way to keeping the channel alive. It costs a bit of money to buy all the items and produce these videos. You help is appreciated.
    ---------------------------------------------------------------------------------------------------------------------
    Or....if you'd like to send a one-time donation you can use this link: paypal.me/learnelectronics

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

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

    Very timely for me as I'm looking at the moment to "get into" I2C and OLED displays with R-pi and possibly Pico. Thanks for making and sharing. Please, carry on with these types of videos. The fact that the s/w side of things hasn't until now been your thing is not a concern for me. Just means that you find and solve the same issues that I do!

  • @Ken-oe3ch
    @Ken-oe3ch 3 года назад +1

    Thanks Paul! Good luck with Mom and the HVAC project too.

  • @NewAgeDIY
    @NewAgeDIY 3 года назад +10

    Baby steps will get you up and running. We are getting introduced to technology one step at a time and learning new things on the way. Thanks 🙏🏻

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

    Awesome Tutorial, got me up and running quickly with this new screen!

  • @stevetobias4890
    @stevetobias4890 3 года назад +2

    Very cool, pity my Pico's are on backorder till next month. I have started with 3. Take care Paul

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

    Where is the font table located (which file), please?

  • @MitzpatrickFitzsimmons
    @MitzpatrickFitzsimmons 3 года назад +2

    Great video Paul, thanks!
    Now I feel a bit better about my 5 picos on backorder lol

  • @SusanAmberBruce
    @SusanAmberBruce 3 года назад +2

    I think he likes it and will be a python programmer before we know it!
    I've downloaded the Git and ordered the Oled and ginna have a go, thank for you video Paul, glad to hear your mum's okay for heat.

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

    Traceback (most recent call last):
    File "", line 9, in
    File "/lib/ssd1306.py", line 110, in __init__
    File "/lib/ssd1306.py", line 36, in __init__
    File "/lib/ssd1306.py", line 71, in init_display
    File "/lib/ssd1306.py", line 115, in write_cmd
    OSError: [Errno 5] EIO

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

    Hello, I think pin 23 is not an SDA input, it should be pin 21!

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

    when I try to compile I get the following error:
    from machine import Pin, I2C
    ModuleNotFoundError: No module named 'machine'
    but i cant get the machine module ...

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

    Eek, I wish you weren't poking around the electronics with a sharp metallic pointer. It gives me the shivers. Anyway, thanks for the video, nice and simple explanations.

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

    Great introduction to the Pico Paul. Still waiting for mine to be delivered... (patiently 😏) Breadboard & oled are ready to go 👌
    Hope all goes well with the visit with the surgeon 👍

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

    Hi, the library does not install for me. It gives a 'FileNotFoundError: [Errno 2] No such file or directory:' error.
    What is happening here, has anyone else experienced this.

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

    Best wishes for your visit to the surgeon today! Hope all goes well. Will be thinking of ya and sending strength for my favorite virtual uncle tech teacher friend.

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

    Cheers dude!

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

    Fantastic. Was going to be part of my first project. Thrrmostat for zoning my hvac. Going to make several to put various places around the house.

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

    Will you be coding in CircuitPython or just MicroPython?

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

    Same Python example that everybody is doing.

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

    How to find the drivers, exactly what I wanted, thanks. There seem to be other drivers included in the firmware. It would be nice to have a list of these.

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

    And i have some spare OLEDS! Just need a pico :)

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

    Thanks ! That's well explained, and it works :)

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

    manage packages cant find ssd1306 for me :( any ideas what i can do, ive tried install the zip that i downloaded from the git hub link you provided but that didnt work either

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

    Excuse me, I have problems with the library,
    Traceback (most recent call last):
    File "", line 17, in
    File "/lib/ssd1306.py", line 110, in __init__
    File "/lib/ssd1306.py", line 36, in __init__
    File "/lib/ssd1306.py", line 71, in init_display
    File "/lib/ssd1306.py", line 115, in write_cmd
    OSError: 5
    Thank u very much

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

      did you ever got it working?

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

    Thanks.

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

    How do i change text size?

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

    Good video Paul. I have a few of them oleds. Need to break them out.

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

    Cool intro to the oled & pico. Thanks! Best, John

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

    Please HELP !
    Having trouble running the code
    Here's what i get:
    Traceback (most recent call last):
    File "", line 6, in
    File "/lib/ssd1306.py", line 110, in __init__
    File "/lib/ssd1306.py", line 36, in __init__
    File "/lib/ssd1306.py", line 71, in init_display
    File "/lib/ssd1306.py", line 115, in write_cmd
    OSError: 5

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

      You don't have the library installed

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

      @@learnelectronics I have the same problem but i have the libary installed. What is the problem i cant find it?

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

    Paul do you want whip cream with that Raspberry pie? Can you make a video on using the Raspberry Pi with opto couplers and opto isolators to make an ARRAY of opto's. The array is like a matrix

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

    This video is from 2021 but the camera is from 1983. Still an enjoyable and educational video. Keep it up!

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

    Line 5 , OSError:5

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

    I guess I'm lazy....do you happen to know of any conversion programs to convert Arduino to the Raspberry Pi Pico?? I have a few Arduino programs and would consider converting to the Raspberry if I can locate a conversion program. Thanks and keep up the great vids!!!!

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

    How to do it with C/C++?

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

    That’s really cool. I learnt electronics at school over 30 yrs ago but I’m getting back into it to compliment some steampunk woodworking projects I want to play around with. Over the years the techno blurb has leaked out of my head and I need top it back up again. Can you suggest a good A level equivalent text book or beginner/intermediate project manual. I’ve never done anything with raspberry or arduino (I did build a box for my sons final year uni project - programmable 6 button game controller) and it’s got me interested again. Thanks. I’m working my way through your other vids. Thank you for the knowledge. 🤘

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

      "The Art of Electronics"
      www.amazon.com/dp/0521809266/ref=cm_sw_r_cp_apa_fabc_XJ7690T32R50A4V2VCNZ

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

    Great video. Love itX Do you have any recommendations for a display with control interface (buttons/touchscreen) that has built in Python libraries. I want be be able to give some basic inputs like selecting from a drop down

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

    Thumbs up of course! Pico still sold out in germany. Once I have one, this is the first sketch I will try out. Keep going!

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

    Heya do you have a video about the UC3842/3 PWM chip?

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

    Great follow up to your last Pico lesson .
    Love the fact you are taking us along one step at a time....
    Got one of those Oled screen - will try this lesson tonight after work
    Take care
    Ps
    Any chance when your feeling better you might put that apc with ldr design on pcbway please ?

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

    i follow you for the pico lessen but mabe a voltmeter is also a nice project because a pico work on a 12 bit and measure must be beter then a arduino i think

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

    No roller skating on that boot.
    Glad the heat is getting repaired.
    OLED looks good.
    Peace.

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

    speaking of a different thing, I wonder if a Vacuum tube tester can be made
    in a easy and simple way.?

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

    Thank you for this simple none bull shitty tutorial, i really appreciate it

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

    I need to get a few of those new boards.... Been looking for a reason to learn Python.

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

    Enjoyed the video. Now all I need is a Pico. Thanks, Paul.

  • @chirots
    @chirots 11 месяцев назад

    Can we increase the font size???

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

    I can’t wait to get my hands on one of those Pico’s they’ve been sold out or way overpriced everywhere I look. Great video Paul, I really enjoy the videos using the Pico.

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

    bro I love you, you just make me have a click on my brain. bless.

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

    Looking forward to see the next video on this topic !

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

    Sub'd! Thank you!

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

    Thonny - If you are using Linux, check your repositories! It may already be there. Altho, according to the Thonny website (thonny.org/) it may not be the latest. Mine installed version 3.1.2

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

    Oh.... forgot... please keep the pico vids coming. Maybe add a lipo charger to make a project portable and wake on button press....

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

      You can get these tiny little lipo charger boards (like barely half an inch across) for pennies from Ali or other cheap online outlets. They run on any voltage u you feed it.

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

      @@Erudotic thanks..

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

    Great short vid. They are easy to understand and find when there short videos.

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

    i would love to see a code example for the pico running a 16x2 LCD with the i2c backpack module on it displaying the temp from the built-in pico temp sensor. i've had my pico since they came out and have only blinked a light with it really. i dont know any python really at all. this was a great video. nobody seems to be doing pico projects. Ben Heck did a kitten lazer with the pico(fun to watch but a little too advanced for a beginner). Are you gonna do any more pico projects here??

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

      Yes, I am going to do them as long as you guys watch them.

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

      @@learnelectronics Deal! :)

  •  3 года назад

    Cuupaar !! [ ;

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

    Nice work.
    Except for some extra wires, the full color displays that require SPI should be just as easy as you made the I2C seem.

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

    Feet and heat progressing well - most excellent. Thanks for the lesson. Gonna make my kid follow along.