Тёмный

Raspberry Pi Pico Tutorial - SSD1306 I2C OLED DISPLAY 

NerdCave
Подписаться 4,8 тыс.
Просмотров 28 тыс.
50% 1

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...

Хобби

Опубликовано:

 

15 апр 2022

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 54   
@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. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Ts9JXbMvfTQ.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.
@armand9910
@armand9910 2 года назад
Nice video, thank you.
@jasonsammons9
@jasonsammons9 Год назад
Excellent, in-depth but brief, tutorial.
@NerdCaveYT
@NerdCaveYT Год назад
Glad it was helpful!
@funix7edits
@funix7edits 2 года назад
Very Useful!
@MacaroonL
@MacaroonL Год назад
Thank you!!! This was super helpful!
@NerdCaveYT
@NerdCaveYT Год назад
Glad it was helpful!
@Kris-cd9qs
@Kris-cd9qs Год назад
Thank you again! Very usefull links👍
@NerdCaveYT
@NerdCaveYT Год назад
Glad you like them!
@rosskleinmann2626
@rosskleinmann2626 Год назад
Very cool, Thank you!
@NerdCaveYT
@NerdCaveYT Год назад
Glad you liked it!
@TheNicoanthony
@TheNicoanthony 2 месяца назад
Really awesome video. Easy to follow and execute. Thanks heaps
@NerdCaveYT
@NerdCaveYT 2 месяца назад
Glad it helped!
@lorisrobots
@lorisrobots Год назад
Excellent Video.
@NerdCaveYT
@NerdCaveYT Год назад
Thank you very much!
@lionelroma7912
@lionelroma7912 2 года назад
Merci !!! 👍
@joseyoverbigz
@joseyoverbigz Год назад
Thank u
@NerdCaveYT
@NerdCaveYT Год назад
No problem, glad it was useful
@abba2938
@abba2938 5 месяцев назад
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 5 месяцев назад
Yes you can! just make a function for it, then you can call that function where you need it to be displayed
@abba2938
@abba2938 5 месяцев назад
Thank you i´ll try it! @@NerdCaveYT
@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
@bartvdg
@bartvdg 9 месяцев назад
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 9 месяцев назад
sorry for the late reply what errors do you get?
@larsboevee9085
@larsboevee9085 2 года назад
my temperature is displaying too low do u know a fix
@NerdCaveYT
@NerdCaveYT 2 года назад
Is all the calculation correct as shown the factor that you need to multiply with
@Banana-ko8we
@Banana-ko8we Год назад
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 Год назад
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
@vvorldnewsmedia
@vvorldnewsmedia 7 месяцев назад
Is there a way to do this with Arduino? Thanks for the info my friend.
@NerdCaveYT
@NerdCaveYT 7 месяцев назад
Yes you should be able to should be easy using the Adafruit GFX library, I remember seeing a tutorial on it
@mangocafee
@mangocafee 4 месяца назад
Can i do it for normal photo like of any pic ??
@NerdCaveYT
@NerdCaveYT 4 месяца назад
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 4 месяца назад
@@NerdCaveYT ohh okay
@pedrocabrera9041
@pedrocabrera9041 9 месяцев назад
Why did you eliminated the transcripts options?
@NerdCaveYT
@NerdCaveYT 9 месяцев назад
I have not removed the transcript option from video, it might be RU-vid UI or browser causing it not to be seen.
@alexfernandesportrai
@alexfernandesportrai 2 года назад
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 2 года назад
What is line 15 it is giving the error
@alexfernandesportrai
@alexfernandesportrai 2 года назад
@@NerdCaveYT with open('/minecraft/image%s.pbm' % n, 'rb') as f: #open folder and image
@alexfernandesportrai
@alexfernandesportrai 2 года назад
@@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 2 года назад
@@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 ):
@benjaminkaah3884
@benjaminkaah3884 9 месяцев назад
How do i run the code?
@NerdCaveYT
@NerdCaveYT 9 месяцев назад
I am unsure in context of what, you mean the IDE used in the video?
@benjaminkaah3884
@benjaminkaah3884 9 месяцев назад
yes @@NerdCaveYT
@newtuber7414
@newtuber7414 6 месяцев назад
Are you able to collaborate? I have a project I’m working on an I’m a newbie
@NerdCaveYT
@NerdCaveYT 6 месяцев назад
Collaborate on what project?
@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 2 года назад
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
Просмотров 8 тыс.
СМОТРИМ YOUTUBE В МАЙНКРАФТЕ
00:34
Просмотров 895 тыс.
ELA NÃO ESPERAVA POR ISSO 🥶 ATTITUDE #shorts
00:20
[Tutorial] Raspberry Pi Pico OLED Animations
26:27
Просмотров 3,6 тыс.
I Can Save You Money! - Raspberry Pi Alternatives
15:04
Hacking my garage door with the Raspberry Pi Pico W
11:50
Raspberry Pi Pico: OLED Display (SSD1306)
11:31
Просмотров 28 тыс.
Turning a Raspberry Pi Pico into a GPU!
16:42
Просмотров 105 тыс.
DIY Macro Keyboard with Joystick - Raspberry Pi Pico
15:44
Modify I2C Pins on Raspberry Pi Pico in Arduino IDE
6:37