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
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!
My pleasure!
Thanks Paul! Good luck with Mom and the HVAC project too.
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 🙏🏻
Awesome Tutorial, got me up and running quickly with this new screen!
Very cool, pity my Pico's are on backorder till next month. I have started with 3. Take care Paul
Where is the font table located (which file), please?
Great video Paul, thanks!
Now I feel a bit better about my 5 picos on backorder lol
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.
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
Hello, I think pin 23 is not an SDA input, it should be pin 21!
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 ...
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.
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 👍
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.
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.
Cheers dude!
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.
Will you be coding in CircuitPython or just MicroPython?
Same Python example that everybody is doing.
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.
And i have some spare OLEDS! Just need a pico :)
Thanks ! That's well explained, and it works :)
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
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
did you ever got it working?
Thanks.
How do i change text size?
Good video Paul. I have a few of them oleds. Need to break them out.
Cool intro to the oled & pico. Thanks! Best, John
Thank you too!
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
You don't have the library installed
@@learnelectronics I have the same problem but i have the libary installed. What is the problem i cant find it?
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
This video is from 2021 but the camera is from 1983. Still an enjoyable and educational video. Keep it up!
Line 5 , OSError:5
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!!!!
How to do it with C/C++?
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. 🤘
"The Art of Electronics"
www.amazon.com/dp/0521809266/ref=cm_sw_r_cp_apa_fabc_XJ7690T32R50A4V2VCNZ
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
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!
Heya do you have a video about the UC3842/3 PWM chip?
Not yet, but I am working on one
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 ?
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
No roller skating on that boot.
Glad the heat is getting repaired.
OLED looks good.
Peace.
speaking of a different thing, I wonder if a Vacuum tube tester can be made
in a easy and simple way.?
Thank you for this simple none bull shitty tutorial, i really appreciate it
I need to get a few of those new boards.... Been looking for a reason to learn Python.
Enjoyed the video. Now all I need is a Pico. Thanks, Paul.
Can we increase the font size???
display.setTextSize(n)
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.
bro I love you, you just make me have a click on my brain. bless.
Looking forward to see the next video on this topic !
Sub'd! Thank you!
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
Oh.... forgot... please keep the pico vids coming. Maybe add a lipo charger to make a project portable and wake on button press....
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.
@@Erudotic thanks..
Great short vid. They are easy to understand and find when there short videos.
Glad it was helpful!
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??
Yes, I am going to do them as long as you guys watch them.
@@learnelectronics Deal! :)
Cuupaar !! [ ;
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.
Feet and heat progressing well - most excellent. Thanks for the lesson. Gonna make my kid follow along.