No video

Raspberry Pi Pico - SSD1306 OLED Micro Python Library and Setup

How to install ssd1206/ssd1106 libraries on raspberry pi pico using thonny and coding text and images on to the oled display.
○○○ LINKS ○○○
github img2bytearray ► github.com/nov...
Microcenter RPi Pico ► micro.center/aax
Raspberry Pi Pico ► pico.raspberry...
jumper wires ► amzn.to/3bvVyUv
○○○ SHOP ○○○
Novaspirit Shop ► teespring.com/...
Amazon Store ► amzn.to/2AYs3dI
○○○ SUPPORT ○○○
💗 Patreon ► goo.gl/xpgbzB
○○○ SOCIAL ○○○
🎮 Twitch ► / novaspirit
🎮 Pandemic Playground ► / @pandemicplayground
▶️ novaspirit tv ► goo.gl/uokXYr
🎮 Novaspirit Gaming ► / @novaspiritgaming
🐤 Twitter ► / novaspirittech
👾 Discord chat ► / discord
FB Group Novaspirit ► / novasspirittech
○○○ Send Me Stuff ○○○
Don Hui
PO BOX 765
Farmingville, NY 11738
○○○ Music ○○○
From Epidemic Sounds
patreon @ / novaspirittech
Tweet me: @ / novaspirittech
facebook: @ / novaspirittech
Instagram @ / novaspirittech
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission.

Пікірлер: 102

  • @erikvincent5846
    @erikvincent58462 жыл бұрын

    Same problem as another commenter stated. Traceback (most recent call last): File "", line 7, 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

  • @ftw_Floris

    @ftw_Floris

    6 ай бұрын

    did you find a solution

  • @erikvincent5846

    @erikvincent5846

    6 ай бұрын

    @@ftw_Floris nope

  • @ftw_Floris

    @ftw_Floris

    6 ай бұрын

    @@erikvincent5846 i think i found a solutionn

  • @emilyemly-un9dr

    @emilyemly-un9dr

    4 ай бұрын

    @@ftw_Floris please post it

  • @ftw_Floris

    @ftw_Floris

    4 ай бұрын

    @@emilyemly-un9dr I will, I just didn’t have enough time to post

  • @albrody8861
    @albrody88612 жыл бұрын

    First time viewer. Your explanations are clear and easy to understand. Looking forward to following you.

  • @timbiddulph
    @timbiddulph Жыл бұрын

    Best video I’ve seen on the 1306 and Pico, Subscribed!

  • @WispYart
    @WispYart3 ай бұрын

    Thank you for the tutorial! I was finally able to put my OLED together with Pico and print some stuff on the display!

  • @auto117666
    @auto1176663 жыл бұрын

    Great video, as always. There is only so much time in the day so I feel sometimes I get to code vicariously through you. :)

  • @johnhschuster
    @johnhschuster3 жыл бұрын

    Most excellent, this was my next project and you saved me quite a bit of time, I owe you a beer. Keep broadcasting!!

  • @davidlangevin893
    @davidlangevin893 Жыл бұрын

    Thank you very much! Very down to earth and easy to follow! It got me up and running easily. A very satisfied customer!

  • @kaylor87
    @kaylor87 Жыл бұрын

    Thank you so much man! I really appreciate how you explained all of the parameters and stuff that you were using. I'm just barely starting to learn microcontroller programming, and almost all of the other videos I've watched up to this point just tell you what code to enter without any explanation, which honestly isn't hardly helpful at all. I need to know WHY I am entering parameters where they are, and what they mean, or else I can't actually learn it lol. So thank you for doing that, wonderful video!

  • @jyvben1520
    @jyvben15203 жыл бұрын

    perfect timing, just got my 5x oled clock running using a tca9548a, may add some animation on oled 6

  • @renzkyeastwood7520
    @renzkyeastwood75203 жыл бұрын

    Great video! Could you show how to increase text size, or use another font? This would be nice.

  • @bretearwood7027

    @bretearwood7027

    Жыл бұрын

    In the PIL module. ImageDraw and ImageFont control that. True image let's you use a downloaded font.

  • @monacofranze4323
    @monacofranze43233 жыл бұрын

    Thank you for your Video. It is easy to understand und very well made. I just startet with the Pico and bought a ssd1306 and a BME280, so i hope to be able to programme a small weather station with the Pico. This Video is one Step on the ladder to do so ;)

  • @brianyoon5086
    @brianyoon50862 жыл бұрын

    hey, great video, but keep getting this error message, 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 any idea how to fix this?

  • @emeli-san761

    @emeli-san761

    4 ай бұрын

    did you solve it? i am turning crazy omg

  • @rollandphaneuf2793
    @rollandphaneuf27932 жыл бұрын

    I love this video with a lot of explanation. It work first time. I use this mighty 1" screen to identify my robots. Now they will have their own logo.

  • @sykoremag
    @sykoremag Жыл бұрын

    Thank you so much this is the only tutorial with full details

  • @ItsJGonzo
    @ItsJGonzo2 жыл бұрын

    Thank you! You inspire me to learn what you just did.

  • @gravestoner2488
    @gravestoner24883 жыл бұрын

    Sweet! I have an oled i haven't used yet and my picos will be here any day now :D thanks

  • @Mark-tu1sv
    @Mark-tu1sv2 жыл бұрын

    really like your video, especially the Pi 4 in the car. I'm thinking to put one in too.

  • @ravkhangurra7522
    @ravkhangurra75222 жыл бұрын

    Great video, can you advise if this solution can be used with a raspberry pi 4?

  • @simoncowen4985
    @simoncowen4985 Жыл бұрын

    Thankyou really enjoyed following it. 🙂

  • @TheRealFrankWizza
    @TheRealFrankWizza3 жыл бұрын

    Your tutorials are pretty good man. Quick and to the point. Do you know anything about ROS?

  • @n_tech3861
    @n_tech38613 жыл бұрын

    That was such an amazing tutorial Thanks a lot🙌🙌🙌

  • @AlexAmayaGuitar
    @AlexAmayaGuitar3 жыл бұрын

    Hi thanks for you video, I have errors :( Traceback (most recent call last): File "", line 10, 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 thanks for you reply!

  • @dubomatik

    @dubomatik

    3 жыл бұрын

    I have the same issue and can't find out why... :'( Did you solve this ?

  • @AlexAmayaGuitar

    @AlexAmayaGuitar

    3 жыл бұрын

    @@dubomatik no bro still same :(

  • @johncj75

    @johncj75

    3 жыл бұрын

    I got that error when I had forgot to connect ground from the pico to the oled.

  • @AlexAmayaGuitar

    @AlexAmayaGuitar

    3 жыл бұрын

    @@johncj75 Hey bro! Thanks, now works!! :)

  • @clintcret

    @clintcret

    3 жыл бұрын

    @@johncj75 still has error

  • @shaytal100
    @shaytal1003 жыл бұрын

    "An oled lcd ..."

  • @torque6389
    @torque6389 Жыл бұрын

    Very helpful video, thank you!

  • @reyanshkhobragade5822
    @reyanshkhobragade58223 жыл бұрын

    Wow this looks cool! Nice video 👍👍

  • @solracthegreat1002
    @solracthegreat10022 жыл бұрын

    Many thanks can you show how you connected the pins from the PICO to the Display??

  • @larryplatzek9017
    @larryplatzek90178 ай бұрын

    I think your video was great when you made it but I have trouble with the ssd1306 it does not install, any suggestions?

  • @jin7jin531
    @jin7jin5313 жыл бұрын

    Awesome..keep it up Don 👍🏻

  • @gravestoner2488
    @gravestoner24883 жыл бұрын

    Instead of buying a pack of precut wires, I just bought diff color rolls of solid 22ga wire. Probably much more cost efficient.

  • @richardturnnidge
    @richardturnnidge3 жыл бұрын

    I am trying to move a sprite type object over a background. Perhaps you could explain how to blit an image with a mask onto a background as I am struggling to find a way?

  • @delvorin1841
    @delvorin18413 жыл бұрын

    Hey Don and fellow followers, I see a small project for you guys to try and solve. Reiterate the code for the image conversion to output as a txt file as to eliminate needing to copy and paste it. Ps good video, Don.

  • @zFrank_
    @zFrank_3 ай бұрын

    how can i install the ssd1306 library using vs code?

  • @abymohanan9403
    @abymohanan94033 жыл бұрын

    Thank you so much for this video

  • @bacardicomeon6972
    @bacardicomeon69723 жыл бұрын

    using win10, and tried to run .. got this error : File "img2bytearray.py", line 7 ^ SyntaxError: invalid syntax

  • @Kimchi_Studios

    @Kimchi_Studios

    3 жыл бұрын

    I just figured it out for Windows 10! in the cmd type: 1. cd followed by a space 2. drag and drop the folder that img2bytearray.py is in to the cmd after the space. It will paste your path to it in quotes. Add a space after it. 3. click on your image file and select properties and copy the path for that file and paste it exactly into the cmd followed by a space and the 64 64 after that for the height and width. 4. If you get more errors it might be because you have multiple versions of python installed so I recommend uninstalling all of python and reinstalling it, pip, and pillow (google it, super easy and quick). So my full line of code with the drag and drop method looked like: 1. cd "C:\Users\stupidComputerName\Documents\Raspberry Pi\img2bytearray-main" and then 2. python3 img2bytearray.py "C:\Users\stupidComputerName\Documents\Raspberry Pi\img2bytearray-main\dogpic.jpg" 64 64 Your paths will obviously be different. Hope it works for you!

  • @grimnecksnapper3789
    @grimnecksnapper37893 жыл бұрын

    So Cool. Awesome Video.

  • @auglau1
    @auglau14 ай бұрын

    Great video How about hx711

  • @alexnoskovarg3844
    @alexnoskovarg38442 жыл бұрын

    Genio, me solucionaste problema

  • @ggandcompany1
    @ggandcompany13 жыл бұрын

    Great Video!!! can you do the same example in circuitpython ? I have a project that I want to add a ssd1306 to, but I am have trouble... thank you!!!

  • @orkuncamar
    @orkuncamar2 жыл бұрын

    i like it. i loved the linux. Thank you ...

  • @rickroller0127
    @rickroller01278 ай бұрын

    Is is possible to mirror the image?

  • @shashankshekharpandey4678
    @shashankshekharpandey46783 жыл бұрын

    hey sir , I have a doubt that how to change font size of the text. btw really nice and concise video Thank you!

  • @mondogeo7890
    @mondogeo78903 жыл бұрын

    Well done! Thank you!

  • @SoggyCashew
    @SoggyCashew2 жыл бұрын

    where is a online converter and what format am i converting to?

  • @tubeDude48
    @tubeDude48 Жыл бұрын

    How about the image for the novaspirit. And what editor do you use to create the image.jpg

  • @samratbose5849
    @samratbose58497 ай бұрын

    Traceback (most recent call last): File "", line 12, 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

  • @69x

    @69x

    4 ай бұрын

    did you fix this?

  • @softwareagence5662
    @softwareagence56622 жыл бұрын

    Excellent

  • @brad32601
    @brad32601 Жыл бұрын

    How would you do images with CircuitPython?

  • @ikorbln
    @ikorbln3 жыл бұрын

    i have a problem with thonny on windows. it cant write the code to the pico. everytime it say that it is write protected. i must save it first to my pc and copy it over to the pico. thats a little odd. but anyway, i like your python videos. they realy help a lot. i have a lot of fun with it.

  • @NovaspiritTech

    @NovaspiritTech

    3 жыл бұрын

    It's permission. Try running it in administration mode and see if you get the same write protect error. If not they check your permissions

  • @ikorbln

    @ikorbln

    3 жыл бұрын

    @@NovaspiritTech yes, also with admin-mode i cant save direkt on the pico. i will try it with a ubuntu notebook.....

  • @jyvben1520

    @jyvben1520

    3 жыл бұрын

    @@ikorbln thonny on ubuntu works fine, need to add $USER to dialout group + reboot or logout/in

  • @ikorbln

    @ikorbln

    3 жыл бұрын

    @@jyvben1520 ok, when i install the raspberry firmware, everything works fine. but when i install tha adafruit_circuitpython firmeware, then i have this issue with the write protect

  • @warandv6614
    @warandv66143 жыл бұрын

    is there a display that can receive input ?

  • @inetfly3651
    @inetfly36512 жыл бұрын

    hey don, thanks for your video. I can't install ssd1306.py , I got a error like "You may need to reconnect, Stop/Restart or hard-reset your device.Error ManagementError" Somebody konw what's wrong . Thanks for answer the question.

  • @xgqfrms
    @xgqfrms Жыл бұрын

    Why not automatically convert the image to a buffer in your code by importing the img2bytearray package? Copying and pasting manually is so inconvenient.

  • @rhythm7865
    @rhythm78652 жыл бұрын

    Great video can you show just the wires

  • @Kumodot
    @Kumodot2 жыл бұрын

    I got errors when installing ssd1306 from thommy. :(

  • @tomjairusportea8969
    @tomjairusportea89693 жыл бұрын

    The ssd1306 library cannot be install in Thonny

  • @kingoftennis94
    @kingoftennis942 жыл бұрын

    Oled lcd?

  • @scottwilliams895
    @scottwilliams8952 жыл бұрын

    @Novaspirit Tech, Which track from Epidemic Sounds do you use for your theme music?

  • @scottwilliams895

    @scottwilliams895

    2 жыл бұрын

    I just noticed @Undecided with Matt Ferrell using the same (tho it took me a couple minutes to figure out which channel I Sub that I knew it from!) kzread.info/dash/bejne/iIurrdOMqsTRibg.html

  • @BooksAndShitButNotLiterally
    @BooksAndShitButNotLiterally2 жыл бұрын

    This isn't working for me, the screen just displays noise instead of text :(

  • @chirots
    @chirots2 жыл бұрын

    I have got a problem with PIL

  • @tharunv1885
    @tharunv18853 жыл бұрын

    How to display unicode characters

  • @skyquake._
    @skyquake._3 жыл бұрын

    Can you please do an animate using while loop .❤️❤️ It's a great video. Sir

  • @dimitrijepavlovic2887
    @dimitrijepavlovic28873 жыл бұрын

    Whats that linux distro

  • @user-xp3cb3zt9h
    @user-xp3cb3zt9h6 ай бұрын

    Do u teach or can u help with a project I have going, I am willing to pay for advice and guidance

  • @dawidmac2640
    @dawidmac26402 жыл бұрын

    I have problem: Traceback (most recent call last): File "", line 7, 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

  • @imadeityesterday

    @imadeityesterday

    Жыл бұрын

    Same here. Is there already a solution for this?

  • @mickeyquinn2000

    @mickeyquinn2000

    Жыл бұрын

    @@imadeityesterdayI had the same and i ran thonny as admin on windows, worked fine!

  • @harold_frost
    @harold_frost3 жыл бұрын

    Are you using Budgie Desktop?

  • @deadly_dave
    @deadly_dave3 жыл бұрын

    I'm looking for a little help from anyone willing to offer it. I'm working on my Pico with MicroPython. I have managed to blink a few LED's and make a POT dim and brighten anther LED. I then went onto try an OLED (0.91" SSD1306 OLED Display 128 * 32) I think I have it wired up correctly but that is not where my issue is. I went to 'tools' and 'Manage Packages' and searched for SSD1306 and tried to install the library but I get the following error msg. (It doesn't seem to matter which library I try too install I always get the same error) Installing to: C:\Users\\AppData\Local\Temp\tmpvzwv1kb7\ micropip returned with error code 1 Any help would be greatly appreciated.

  • @mattantonelli4273
    @mattantonelli42732 жыл бұрын

    great but thonny is a nightmare

  • @Armand79th
    @Armand79th Жыл бұрын

    FYI, it's THonny.. as-in PyTHonny..

  • @davidepacini377
    @davidepacini3778 ай бұрын

    ok

  • @steffanjansenvanvuuren3257
    @steffanjansenvanvuuren3257 Жыл бұрын

    How does Python connect to the Raspberry Pi? Automatically or what? You just open and then Pi is connected, not even explaining how that happened?

  • @davidepacini377
    @davidepacini3778 ай бұрын

    non va lo achermo

  • @cassio2999
    @cassio29992 жыл бұрын

    zzzzzzzzzzzz

  • @ahoj113
    @ahoj1133 жыл бұрын

    I’m 69th like lol