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
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
6 ай бұрын
did you find a solution
@erikvincent5846
6 ай бұрын
@@ftw_Floris nope
@ftw_Floris
6 ай бұрын
@@erikvincent5846 i think i found a solutionn
@emilyemly-un9dr
4 ай бұрын
@@ftw_Floris please post it
@ftw_Floris
4 ай бұрын
@@emilyemly-un9dr I will, I just didn’t have enough time to post
First time viewer. Your explanations are clear and easy to understand. Looking forward to following you.
Best video I’ve seen on the 1306 and Pico, Subscribed!
Thank you for the tutorial! I was finally able to put my OLED together with Pico and print some stuff on the display!
Great video, as always. There is only so much time in the day so I feel sometimes I get to code vicariously through you. :)
Most excellent, this was my next project and you saved me quite a bit of time, I owe you a beer. Keep broadcasting!!
Thank you very much! Very down to earth and easy to follow! It got me up and running easily. A very satisfied customer!
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!
perfect timing, just got my 5x oled clock running using a tca9548a, may add some animation on oled 6
Great video! Could you show how to increase text size, or use another font? This would be nice.
@bretearwood7027
Жыл бұрын
In the PIL module. ImageDraw and ImageFont control that. True image let's you use a downloaded font.
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 ;)
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
4 ай бұрын
did you solve it? i am turning crazy omg
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.
Thank you so much this is the only tutorial with full details
Thank you! You inspire me to learn what you just did.
Sweet! I have an oled i haven't used yet and my picos will be here any day now :D thanks
really like your video, especially the Pi 4 in the car. I'm thinking to put one in too.
Great video, can you advise if this solution can be used with a raspberry pi 4?
Thankyou really enjoyed following it. 🙂
Your tutorials are pretty good man. Quick and to the point. Do you know anything about ROS?
That was such an amazing tutorial Thanks a lot🙌🙌🙌
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
3 жыл бұрын
I have the same issue and can't find out why... :'( Did you solve this ?
@AlexAmayaGuitar
3 жыл бұрын
@@dubomatik no bro still same :(
@johncj75
3 жыл бұрын
I got that error when I had forgot to connect ground from the pico to the oled.
@AlexAmayaGuitar
3 жыл бұрын
@@johncj75 Hey bro! Thanks, now works!! :)
@clintcret
3 жыл бұрын
@@johncj75 still has error
"An oled lcd ..."
Very helpful video, thank you!
Wow this looks cool! Nice video 👍👍
Many thanks can you show how you connected the pins from the PICO to the Display??
I think your video was great when you made it but I have trouble with the ssd1306 it does not install, any suggestions?
Awesome..keep it up Don 👍🏻
Instead of buying a pack of precut wires, I just bought diff color rolls of solid 22ga wire. Probably much more cost efficient.
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?
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.
how can i install the ssd1306 library using vs code?
Thank you so much for this video
using win10, and tried to run .. got this error : File "img2bytearray.py", line 7 ^ SyntaxError: invalid syntax
@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!
So Cool. Awesome Video.
Great video How about hx711
Genio, me solucionaste problema
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!!!
i like it. i loved the linux. Thank you ...
Is is possible to mirror the image?
hey sir , I have a doubt that how to change font size of the text. btw really nice and concise video Thank you!
Well done! Thank you!
where is a online converter and what format am i converting to?
How about the image for the novaspirit. And what editor do you use to create the image.jpg
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
4 ай бұрын
did you fix this?
Excellent
How would you do images with CircuitPython?
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
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
3 жыл бұрын
@@NovaspiritTech yes, also with admin-mode i cant save direkt on the pico. i will try it with a ubuntu notebook.....
@jyvben1520
3 жыл бұрын
@@ikorbln thonny on ubuntu works fine, need to add $USER to dialout group + reboot or logout/in
@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
is there a display that can receive input ?
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.
Why not automatically convert the image to a buffer in your code by importing the img2bytearray package? Copying and pasting manually is so inconvenient.
Great video can you show just the wires
I got errors when installing ssd1306 from thommy. :(
The ssd1306 library cannot be install in Thonny
Oled lcd?
@Novaspirit Tech, Which track from Epidemic Sounds do you use for your theme music?
@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
This isn't working for me, the screen just displays noise instead of text :(
I have got a problem with PIL
How to display unicode characters
Can you please do an animate using while loop .❤️❤️ It's a great video. Sir
Whats that linux distro
Do u teach or can u help with a project I have going, I am willing to pay for advice and guidance
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
Жыл бұрын
Same here. Is there already a solution for this?
@mickeyquinn2000
Жыл бұрын
@@imadeityesterdayI had the same and i ran thonny as admin on windows, worked fine!
Are you using Budgie Desktop?
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.
great but thonny is a nightmare
FYI, it's THonny.. as-in PyTHonny..
ok
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?
non va lo achermo
zzzzzzzzzzzz
I’m 69th like lol