Raspberry Pi Pico - SSD1306 OLED Micro Python Library and Setup

  Переглядів 67,619

Novaspirit Tech

Novaspirit Tech

3 роки тому

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/novaspirit/img2byt...
Microcenter RPi Pico ► micro.center/aax
Raspberry Pi Pico ► pico.raspberrypi.org
jumper wires ► amzn.to/3bvVyUv
○○○ SHOP ○○○
Novaspirit Shop ► teespring.com/stores/novaspir...
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.

КОМЕНТАРІ: 99
@erikvincent5846
@erikvincent5846 Рік тому
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 2 місяці тому
did you find a solution
@erikvincent5846
@erikvincent5846 2 місяці тому
@@ftw_Floris nope
@ftw_Floris
@ftw_Floris 2 місяці тому
@@erikvincent5846 i think i found a solutionn
@emilyemly-un9dr
@emilyemly-un9dr 16 днів тому
@@ftw_Floris please post it
@ftw_Floris
@ftw_Floris 15 днів тому
@@emilyemly-un9dr I will, I just didn’t have enough time to post
@auto117666
@auto117666 3 роки тому
Great video, as always. There is only so much time in the day so I feel sometimes I get to code vicariously through you. :)
@albrody8861
@albrody8861 2 роки тому
First time viewer. Your explanations are clear and easy to understand. Looking forward to following you.
@johnhschuster
@johnhschuster 3 роки тому
Most excellent, this was my next project and you saved me quite a bit of time, I owe you a beer. Keep broadcasting!!
@timbiddulph
@timbiddulph Рік тому
Best video I’ve seen on the 1306 and Pico, Subscribed!
@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!
@ItsJGonzo
@ItsJGonzo 2 роки тому
Thank you! You inspire me to learn what you just did.
@monacofranze4323
@monacofranze4323 3 роки тому
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 ;)
@gravestoner2488
@gravestoner2488 3 роки тому
Sweet! I have an oled i haven't used yet and my picos will be here any day now :D thanks
@n_tech3861
@n_tech3861 3 роки тому
That was such an amazing tutorial Thanks a lot🙌🙌🙌
@jyvben1520
@jyvben1520 3 роки тому
perfect timing, just got my 5x oled clock running using a tca9548a, may add some animation on oled 6
@sykoremag
@sykoremag Рік тому
Thank you so much this is the only tutorial with full details
@jin7jin531
@jin7jin531 3 роки тому
Awesome..keep it up Don 👍🏻
@simoncowen4985
@simoncowen4985 Рік тому
Thankyou really enjoyed following it. 🙂
@TheRealFrankWizza
@TheRealFrankWizza 3 роки тому
Your tutorials are pretty good man. Quick and to the point. Do you know anything about ROS?
@kaylor87
@kaylor87 9 місяців тому
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!
@torque6389
@torque6389 Рік тому
Very helpful video, thank you!
@Mark-tu1sv
@Mark-tu1sv 2 роки тому
really like your video, especially the Pi 4 in the car. I'm thinking to put one in too.
@mondogeo7890
@mondogeo7890 3 роки тому
Well done! Thank you!
@reyanshkhobragade5822
@reyanshkhobragade5822 3 роки тому
Wow this looks cool! Nice video 👍👍
@abymohanan9403
@abymohanan9403 2 роки тому
Thank you so much for this video
@rollandphaneuf2793
@rollandphaneuf2793 2 роки тому
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.
@solracthegreat1002
@solracthegreat1002 2 роки тому
Many thanks can you show how you connected the pins from the PICO to the Display??
@ravkhangurra7522
@ravkhangurra7522 2 роки тому
Great video, can you advise if this solution can be used with a raspberry pi 4?
@alexnoskovarg3844
@alexnoskovarg3844 2 роки тому
Genio, me solucionaste problema
@tubeDude48
@tubeDude48 Рік тому
How about the image for the novaspirit. And what editor do you use to create the image.jpg
@ggandcompany1
@ggandcompany1 3 роки тому
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!!!
@richardturnnidge
@richardturnnidge 3 роки тому
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?
@orkuncamar
@orkuncamar Рік тому
i like it. i loved the linux. Thank you ...
@grimnecksnapper3789
@grimnecksnapper3789 3 роки тому
So Cool. Awesome Video.
@shashankshekharpandey4678
@shashankshekharpandey4678 3 роки тому
hey sir , I have a doubt that how to change font size of the text. btw really nice and concise video Thank you!
@renzkyeastwood7520
@renzkyeastwood7520 3 роки тому
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.
@softwareagence5662
@softwareagence5662 2 роки тому
Excellent
@scottwilliams895
@scottwilliams895 2 роки тому
@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!) ukposts.info/have/v-deo/joeof6eKsZecuok.html
@SoggyCashew
@SoggyCashew 2 роки тому
where is a online converter and what format am i converting to?
@larryplatzek9017
@larryplatzek9017 5 місяців тому
I think your video was great when you made it but I have trouble with the ssd1306 it does not install, any suggestions?
@warandv6614
@warandv6614 3 роки тому
is there a display that can receive input ?
@brad32601
@brad32601 Рік тому
How would you do images with CircuitPython?
@brianyoon5086
@brianyoon5086 2 роки тому
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 14 днів тому
did you solve it? i am turning crazy omg
@delvorin1841
@delvorin1841 3 роки тому
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.
@rickroller0127
@rickroller0127 4 місяці тому
Is is possible to mirror the image?
@dimitrijepavlovic2887
@dimitrijepavlovic2887 2 роки тому
Whats that linux distro
@auglau1
@auglau1 25 днів тому
Great video How about hx711
@rhythm7865
@rhythm7865 2 роки тому
Great video can you show just the wires
@inetfly3651
@inetfly3651 2 роки тому
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.
@zFrank_
@zFrank_ 7 днів тому
how can i install the ssd1306 library using vs code?
@Kumodot
@Kumodot 2 роки тому
I got errors when installing ssd1306 from thommy. :(
@skyquake._
@skyquake._ 3 роки тому
Can you please do an animate using while loop .❤️❤️ It's a great video. Sir
@tharunv1885
@tharunv1885 3 роки тому
How to display unicode characters
@kingoftennis94
@kingoftennis94 Рік тому
Oled lcd?
@tomjairusportea8969
@tomjairusportea8969 3 роки тому
The ssd1306 library cannot be install in Thonny
@chirots
@chirots 2 роки тому
I have got a problem with PIL
@shaytal100
@shaytal100 3 роки тому
"An oled lcd ..."
@gravestoner2488
@gravestoner2488 3 роки тому
Instead of buying a pack of precut wires, I just bought diff color rolls of solid 22ga wire. Probably much more cost efficient.
@deadly_dave
@deadly_dave 3 роки тому
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.
@AlexAmayaGuitar
@AlexAmayaGuitar 3 роки тому
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
@ikorbln
@ikorbln 3 роки тому
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
@user-xp3cb3zt9h
@user-xp3cb3zt9h 3 місяці тому
Do u teach or can u help with a project I have going, I am willing to pay for advice and guidance
@harold_frost
@harold_frost 2 роки тому
Are you using Budgie Desktop?
@bacardicomeon6972
@bacardicomeon6972 2 роки тому
using win10, and tried to run .. got this error : File "img2bytearray.py", line 7 ^ SyntaxError: invalid syntax
@Kimchi_Studios
@Kimchi_Studios 2 роки тому
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!
@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.
@BooksAndShitButNotLiterally
@BooksAndShitButNotLiterally 2 роки тому
This isn't working for me, the screen just displays noise instead of text :(
@samratbose5849
@samratbose5849 3 місяці тому
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 Місяць тому
did you fix this?
@dawidmac2640
@dawidmac2640 2 роки тому
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
@gproepper4988
@gproepper4988 Рік тому
Same here. Is there already a solution for this?
@mickeyquinn2000
@mickeyquinn2000 Рік тому
@@gproepper4988I had the same and i ran thonny as admin on windows, worked fine!
@davidepacini377
@davidepacini377 4 місяці тому
non va lo achermo
@mattantonelli4273
@mattantonelli4273 2 роки тому
great but thonny is a nightmare
@Armand79th
@Armand79th Рік тому
FYI, it's THonny.. as-in PyTHonny..
@davidepacini377
@davidepacini377 4 місяці тому
ok
@steffanjansenvanvuuren3257
@steffanjansenvanvuuren3257 10 місяців тому
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?
@cassio2999
@cassio2999 2 роки тому
zzzzzzzzzzzz
@ahoj113
@ahoj113 3 роки тому
I’m 69th like lol
Add an OLED Stats Display to Raspberry Pi OS Bullseye
8:05
Michael Klements
Переглядів 75 тис.
КАК ГЛОТАЮТ ШПАГУ?😳
00:33
Masomka
Переглядів 2,1 млн
Raspberry Pi Pico LCD Projects
17:25
ExplainingComputers
Переглядів 97 тис.
We should use this amazing mechanism that's inside a grasshopper leg
19:19
Raspberry Pi Pico & SSD1306 Display with MicroPython
1:00:51
Kevin McAleer
Переглядів 9 тис.
The Pi Pico has problems, so I made my own, the ProPico
7:17
Dmytro Engineering
Переглядів 33 тис.
Raspberry Pi PICO | Empezamos en MicroPython + Ejemplos | I2C OLED, ADC, PWM
15:48
ELECTRONOOBS en Español
Переглядів 67 тис.
Rotary Display Menu for Raspberry Pi Pico in MicroPython
6:09
Kevin McAleer
Переглядів 14 тис.
Display OLED Raspberry Pi Pico / ESP32 / ESP8266 💻 [MicroPython] # 016
26:21
Sergio A. Castaño Giraldo
Переглядів 16 тис.
GitHub Copilot just got promoted to Captain
4:01
Fireship
Переглядів 290 тис.
Какой MacBook выбрать в 2024 - М1, М2 или М3?
24:56
ЭТО САМЫЙ МОЩНЫЙ ИГРОВОЙ СМАРТФОН ЗА 270$ 🔥
13:33
Thebox - о технике и гаджетах
Переглядів 45 тис.
Компьютер подписчику
0:40
Miracle
Переглядів 185 тис.