Raspberry Pi Pico Tutorial - SSD1306 I2C OLED DISPLAY

  Переглядів 25,436

NerdCave

NerdCave

2 роки тому

Welcome to the - Learn how to use the Raspberry Pi Pico Tutorial Series:
This tutorial we look at the SSD1306 I2C OLED display and how to connect it to the Raspberry Pi Pico.
This OLED display is a mono-color, 0.96-inch display with 128×64 pixels which is great to use in projects. In this tutorial we cover how to write basic text, display an image or simple animation on the display.
Check out my channel for other videos on the Raspberry Pi Pico, as I will regularly upload tutorials and projects related to the Raspberry Pi Pico.
If you found this tutorial helpful, subscribe to the channel and leave a comment and welcome to the NerdCave.
Code:
github.com/Guitarman9119/Rasp...
Software:
www.irfanview.com/
www.gimp.org/
If you are new to the Raspberry Pi Pico I have made a Getting started video:
• Raspberry Pi Pico Tuto...

КОМЕНТАРІ: 52
@NerdCaveYT
@NerdCaveYT 2 роки тому
A tiny mistake in the schematic of the ground wire that is in wrong rail.
@jakesllama
@jakesllama Рік тому
Yes just to elaborate for any other users. be sure to connect the red (positive) wire to the top power rail on the breadboard. as shown on the breadboard section. ukposts.info/have/v-deo/jKNqfo6ZhKyXtYU.html
@tubeDude48
@tubeDude48 Рік тому
Just to clarify, it's the black wire on the left-side; move UP 1 pin. At 1:20 it's correct.
@jasonsammons9
@jasonsammons9 Рік тому
Excellent, in-depth but brief, tutorial.
@NerdCaveYT
@NerdCaveYT Рік тому
Glad it was helpful!
@armand9910
@armand9910 2 роки тому
Nice video, thank you.
@MacaroonlBlogspot
@MacaroonlBlogspot Рік тому
Thank you!!! This was super helpful!
@NerdCaveYT
@NerdCaveYT Рік тому
Glad it was helpful!
@funix7edits
@funix7edits 2 роки тому
Very Useful!
@Kris-cd9qs
@Kris-cd9qs 9 місяців тому
Thank you again! Very usefull links👍
@NerdCaveYT
@NerdCaveYT 9 місяців тому
Glad you like them!
@rosskleinmann2626
@rosskleinmann2626 Рік тому
Very cool, Thank you!
@NerdCaveYT
@NerdCaveYT Рік тому
Glad you liked it!
@lorisrobots
@lorisrobots Рік тому
Excellent Video.
@NerdCaveYT
@NerdCaveYT Рік тому
Thank you very much!
@lionelroma7912
@lionelroma7912 2 роки тому
Merci !!! 👍
@joseyoverbigz
@joseyoverbigz 8 місяців тому
Thank u
@NerdCaveYT
@NerdCaveYT 8 місяців тому
No problem, glad it was useful
@abba2938
@abba2938 2 місяці тому
Great Tutorial again! I´ve learned so much from you so far. Is it possible tu run the animation only one time, not in a loop?
@NerdCaveYT
@NerdCaveYT 2 місяці тому
Yes you can! just make a function for it, then you can call that function where you need it to be displayed
@abba2938
@abba2938 2 місяці тому
Thank you i´ll try it! @@NerdCaveYT
@bartvdg
@bartvdg 6 місяців тому
Great video, I have been struggling to get this Oled to work. I always get static noise and rapidly scrolling text on the first top lines? I2C scan works fine and I get the correct address back (0x3C). I also soldered the wires to make sure I get good connections but problem stays :-( any thoughts? Note: I run below small code on Pico with v1.19 because I don't have the temp sensor, also Pico with v1.20 gives me a bunch of errors when running the code: from machine import Pin, I2C from ssd1306 import SSD1306_I2C import framebuf import time WIDTH = 128 HEIGHT = 64 i2c = I2C(0, scl = Pin(17), sda = Pin(16), freq=100000) display = SSD1306_I2C(128, 64, i2c) # display.invert(1) #display.contrast(100) while True: display.text('Text 1...' ,0 ,0) display.text('Text 2...' ,0 ,14) display.show() display.fill(0)
@NerdCaveYT
@NerdCaveYT 5 місяців тому
sorry for the late reply what errors do you get?
@ceosealemon
@ceosealemon Рік тому
It doesn't work differently than ESP32 if you take the USB power and reconnect it. Do I have to keep uploading it every time I do it? How does it work on batteries?
@NerdCaveYT
@NerdCaveYT Рік тому
on the raspberry pi pico you upload it to main.py I assume the esp32 will have a boot.py so you don't have to keep uploading it and also a V-in for battery power supply. I am planning on covering the esp32 later this year
@larsboevee9085
@larsboevee9085 Рік тому
my temperature is displaying too low do u know a fix
@NerdCaveYT
@NerdCaveYT Рік тому
Is all the calculation correct as shown the factor that you need to multiply with
@vvorldnewsmedia
@vvorldnewsmedia 4 місяці тому
Is there a way to do this with Arduino? Thanks for the info my friend.
@NerdCaveYT
@NerdCaveYT 4 місяці тому
Yes you should be able to should be easy using the Adafruit GFX library, I remember seeing a tutorial on it
@Banana-ko8we
@Banana-ko8we 9 місяців тому
Theres an error i keep on getting. Any know on how to fix? Ill paste the whole message below Traceback (most recent call last): File "", line 11, in File "ssd1306.py", line 117, in __init__ File "ssd1306.py", line 36, in __init__ File "ssd1306.py", line 73, in init_display File "ssd1306.py", line 122, in write_cmd OSError: [Errno 5] EIO
@NerdCaveYT
@NerdCaveYT 9 місяців тому
It seems to be a connection error you SSD1306 is the pinout the same as the one I used in the video I know there are different modules
@mangocafee
@mangocafee Місяць тому
Can i do it for normal photo like of any pic ??
@NerdCaveYT
@NerdCaveYT Місяць тому
well you can, but the quality would not be super great, I think in video there is one of Elon musk, but due to the limited resolution it will be almost a silhouette
@mangocafee
@mangocafee Місяць тому
@@NerdCaveYT ohh okay
@alexfernandesportrai
@alexfernandesportrai Рік тому
Hello thanks for the tutorial. I got the first part with temperature correct. The last animation tutorial gave me an error. Could you tell me what I have done wrong? MicroPython v1.19.1 on 2022-06-18; Raspberry Pi Pico with RP2040 Type "help()" for more information. >>> %Run -c $EDITOR_CONTENT Traceback (most recent call last): File "", line 15, in OSError: [Errno 2] ENOENT >>>
@NerdCaveYT
@NerdCaveYT Рік тому
What is line 15 it is giving the error
@alexfernandesportrai
@alexfernandesportrai Рік тому
@@NerdCaveYT with open('/minecraft/image%s.pbm' % n, 'rb') as f: #open folder and image
@alexfernandesportrai
@alexfernandesportrai Рік тому
@@NerdCaveYT thanks for the response. I got it working. I think it was something to do with the image numbering, also had to change some settings in EZgif. But it works!
@NerdCaveYT
@NerdCaveYT Рік тому
@@alexfernandesportrai I think there are other methods as well I just used one I found on a blog, but some people wrote programs go to do it
@coolsink1002
@coolsink1002 Рік тому
Same ):
@pedrocabrera9041
@pedrocabrera9041 5 місяців тому
Why did you eliminated the transcripts options?
@NerdCaveYT
@NerdCaveYT 5 місяців тому
I have not removed the transcript option from video, it might be UKposts UI or browser causing it not to be seen.
@newtuber7414
@newtuber7414 3 місяці тому
Are you able to collaborate? I have a project I’m working on an I’m a newbie
@NerdCaveYT
@NerdCaveYT 3 місяці тому
Collaborate on what project?
@benjaminkaah3884
@benjaminkaah3884 6 місяців тому
How do i run the code?
@NerdCaveYT
@NerdCaveYT 6 місяців тому
I am unsure in context of what, you mean the IDE used in the video?
@benjaminkaah3884
@benjaminkaah3884 6 місяців тому
yes @@NerdCaveYT
@ineraangs3769
@ineraangs3769 Рік тому
bad tutorial does not show how to even code
@NerdCaveYT
@NerdCaveYT Рік тому
did you even watch the video? You are more then welcome making a better video and I can share it to the community :) Have a nice day
@muhammedeminkose4775
@muhammedeminkose4775 Рік тому
the links are correct the code is correct but i am getting error like this. Sometimes it gives an error saying no module named 'ssd1306', can you help me? ♦Traceback (most recent call last): File "", line 9, in File "ssd1306.py", line 116, in __init__ File "ssd1306.py", line 35, in __init__ File "ssd1306.py", line 72, in init_display File "ssd1306.py", line 121, in write_cmd OSError: [Errno 5] EIO
@NerdCaveYT
@NerdCaveYT Рік тому
you are only getting the error sometimes right, usually a bad connection has given me this error before
Raspberry Pi Pico Tutorial - Rotary Encoder
4:22
NerdCave
Переглядів 7 тис.
Спаси её волосы🙏🏻
00:40
БРУНО
Переглядів 2,1 млн
The World's Fastest Cleaners
00:35
MrBeast
Переглядів 81 млн
GADGETS VS HACKS || Random Useful Tools For your child #hacks #gadgets
00:35
MicroPython: Interfacing with SSD1306 OLED display
8:38
DonskyTech
Переглядів 3,2 тис.
The Pi Pico has problems, so I made my own, the ProPico
7:17
Dmytro Engineering
Переглядів 33 тис.
Turning a Raspberry Pi Pico into a GPU!
16:42
element14 presents
Переглядів 98 тис.
Raspberry Pi Pico & SSD1306 Display with MicroPython
1:00:51
Kevin McAleer
Переглядів 9 тис.
Raspberry Pi PICO | Empezamos en MicroPython + Ejemplos | I2C OLED, ADC, PWM
15:48
ELECTRONOOBS en Español
Переглядів 67 тис.
I Can Save You Money! - Raspberry Pi Alternatives
15:04
Linus Tech Tips
Переглядів 3,2 млн
3 HACKING gadgets you have to TRY!!
19:34
NetworkChuck
Переглядів 1,4 млн
Выпрямление на пористых волосах ?!?
0:29
Автор Юля Носкова ❤️
0:42
Orbuzzo
Переглядів 1,1 млн
Tay nghề và thể lực tốt mới chơi được
0:31
Byip-Rc
Переглядів 20 млн
Бассейн с подарками 😂
0:23
FATA MORGANA
Переглядів 3,3 млн