Тёмный

1 PROJECT 3 DISPLAYS ----------- (using Elecrow Raspberry PI Pico Advanced Kit) 

upir
Подписаться 62 тыс.
Просмотров 10 тыс.
50% 1

Do you like the video? Please consider buying me a coffee ☕, thank you! www.buymeacoffee.com/upir
KIT: shareasale.com/r.cfm?b=214889...
KIT from AliExpress: s.click.aliexpress.com/e/_Ddr...
----------------------------------------------------------------------------------------------------
Individual components:
Raspberry PI Pico: s.click.aliexpress.com/e/_Dnc...
Breadboard: s.click.aliexpress.com/e/_DD3...
7-segment display: s.click.aliexpress.com/e/_DnE...
16x2 Display: s.click.aliexpress.com/e/_DlW...
128x64 OLED Display: s.click.aliexpress.com/e/_DCv...
----------------------------------------------------------------------------------------------------
Learn how to use the Microcontroller board, Raspberry PI Pico, read the temperature value from the built-in temperature sensor and display the value on three different displays all at the same time. Those displays are the 7-segment 4 digits display, the 16x2 character display, and the 128x64px OLED display. For today's lesson, we will be coding in Micropython, but you can also write your code in C (same as with Arduino). Connecting the displays is simple, as (same as many other sensors in the kit), most of them use an I2C connection and require only two wires - clock (SCL - serial clock) and data (SDA - serial data). In addition, you need two wires for the power supply - VCC (power) and GND (ground).
This lesson is for absolute beginners who have no experience with Micropython, Raspberry PI Pico, or displays. Every step is described and explained. If you still have any problems following the tutorial, please put your question in the comments, and I will try to answer as soon as possible.
Also, this kit has quite so many sensors, but I´m actually not using any in this lesson. Let me know if I should use more sensors in the next video?
----------------------------------------------------------------------------------------------------
Tags:
#raspberrypi #oled #arduino
----------------------------------------------------------------------------------------------------
Links from the video:
7-segment digit library - github.com/mcauser/micropytho...
16x2 library - github.com/dhylands/python_lcd
OLED documentation - docs.micropython.org/en/lates...
Photopea - www.photopea.com/
Image2CPP - javl.github.io/image2cpp/
Getting bits from bytes - stackoverflow.com/questions/2...
Read temperature from built-in sensor - how2electronics.com/read-temp...
----------------------------------------------------------------------------------------------------
Keywords related to this video:
Elecrow, Raspberry PI, Raspberry PI Pico, Micropython, Arduino, Thonny, Python, Display, 7-segment display, 16x2 Character Display, 1602 Display, 128x64 OLED Display, OLED Display, OLED display project, SSD1306, SSD1309, multiple displays, Photopea, pixel art, custom characters, LED, blinking LED, iot, sensors, I2C, time display, clock, temperature sensor, temperature, OLED draw image, GPIO, simple, DIY, tutorial

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

 

17 окт 2022

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 41   
@upir_upir
@upir_upir 6 месяцев назад
Do you like the video? Please consider buying me a coffee ☕, thank you! www.buymeacoffee.com/upir
@Elecrow
@Elecrow Год назад
We are genuinely thankful for your appreciation of our #Elecrow RaspberryPi Pico Advanced Kit. Our pleasure to be one part of it! Good job👍
@upir_upir
@upir_upir Год назад
My pleasure! The kit is great, I would have ordered it anyway :)
@testtest6955
@testtest6955 Год назад
HI, honestly yours videos are very clear and well explained, thank you and good continuation
@upir_upir
@upir_upir Год назад
Thank you for your nice comment, I really appreciate it!
@IDIIBRAHIM-yw5pe
@IDIIBRAHIM-yw5pe 4 месяца назад
¡Mis amigos no van a creer lo que he logrado gracias a este truco!
@upir_upir
@upir_upir 4 месяца назад
Thanks!
@aninditasarkar1588
@aninditasarkar1588 4 месяца назад
¡Simplemente increíble! Ahora puedo disfrutar aún más de Roblox. 🎉
@upir_upir
@upir_upir 4 месяца назад
Thank you!
@SohanaKhatun-kn8bv
@SohanaKhatun-kn8bv 6 месяцев назад
Informative video
@upir_upir
@upir_upir 6 месяцев назад
Thank you, I’m glad you like it!
@ABG_3D
@ABG_3D Год назад
I am so glad to see you are broadening your horizon on to other micro controllers and thanks to Elecrow for making it possible. @upir, I would be keen to see your take on the ESP32 Dev kit to see what you can come up with, be it another gauge display or a weather station or whatever you can think of, I'm sure it will be fantastic none the less and I will definitely learn something I did not know 😁. I have been playing with a ESP32 Dev Kit v1 (to try and broaden my own microcontroller knowledge thanks to you giving me inspiration) and a Waveshare 1.5" RGB OLED (using SSD1351 Library). I have two ideas I want to use it for, one being a gauge cluster for my car and the other being a captive touch switch for home automation (Alarm control, blinds, automated lights, etc etc) over Wi-Fi and also provide Bluetooth connectivity if the Wi-Fi is down. Thanks again for a great video with fantastic explanations, keep up the great work 🙌
@upir_upir
@upir_upir Год назад
Thank you for such a nice comment, Martin! I do plan to use ESP32 in some of my future videos. You can bet it will have some sort of display :) Please feel free to share photos of your creations, it sounds very interesting and I would love to see it. If you record a video, I will be the first one to watch! Thank again and good luck with your project.
@ABG_3D
@ABG_3D Год назад
@@upir_upir thank you sir. I definitely not have a camera face or voice but guess I should start recording and put something up even if I just use my mobile phone to record 🤣 I was busy coding my ESP32 to use the ELM327 Arduino library called ELMDuino by PowerBroker2 on Github. I've managed to get my ESP to connect over bluetooth with the cheap chinese ELM327 and the library's connection AT commands are all successful, however the moment I try and query a single PID I do not receive any data back nor able to display it on the OLED. If I just do a plain connection test using the lib and send AT commands manually on Serial Monitor I do get data back so there is definitely communication but some bug in my code somewhere I haven't been able to find. For now I've given the digital mini cluster a rest to think about it a bit more and put it in the cupboard for later while I await my 3" IPS LCD to arrive with a few other parts. Also ordered myself a single relay module, a couple LDR's (because they are cheap and reusable for other projects) and a open case psu to power my arduino nano from 220V mains that drops it down to 3V for a day/night switch project as a first step to my home automation. I have the capability to also port the code to the ESP32. Might be a good idea to try and record a couple videos of my progression 🤔 Something unrelated, what editing software are you using for your videos if you don't mind me asking ?
@user-tz3jc7do8t
@user-tz3jc7do8t 6 месяцев назад
Nice😊
@upir_upir
@upir_upir 6 месяцев назад
Thank you!
@syber-space
@syber-space Год назад
A neat video as always. I hope this doesn't come off as rude, but please mark your video as sponsored (or containing a sponsored segment) if a company sends you stuff. It's not a legal requirement in all countries, but it's good practice either way.
@upir_upir
@upir_upir Год назад
Thank you for your comment, Nicholas! Good point, I try to do that for my videos, but somehow missed it for this one. It should be flagged now.
@susmitamondal9452
@susmitamondal9452 4 месяца назад
¡Este método es una locura, en serio!
@upir_upir
@upir_upir 4 месяца назад
Thanks!
@mikecauser
@mikecauser Год назад
I made that 7-segment display driver 😄
@upir_upir
@upir_upir Год назад
That´s great, it made working with that display much easier. Thank you for your excellent work!
@duckyblender
@duckyblender Год назад
Yooo raspberry pi pico!!!
@upir_upir
@upir_upir Год назад
:)
@Noname-hc4hc
@Noname-hc4hc Год назад
What's the point in using two I2C buses when you can attach both displays onto one? For sure, the addresses are different for ssd1306 and pcf8574 (which is the i2c driver of lcd1602).
@upir_upir
@upir_upir Год назад
It was mentioned in the video, I don’t see any place where you set any address for the ssd1306 display. Perhaps in missing something? I don’t fully understand why the address is not defined in the code..
@Noname-hc4hc
@Noname-hc4hc Год назад
@@upir_upir The SSD1306 library supports arbitrary I2C address but one can't change it in hardware anyway, so just keep it set to 0x3C by default init. Thus you need two I2C buses for two ssd1306. But one ssd1306 and pcf8574 (the address is between 0x20 and 0x27) can share single bus without any issues.
@upir_upir
@upir_upir Год назад
@@Noname-hc4hc Thank you for the clarification, it makes much more sense now!
@CasaMaryParadise
@CasaMaryParadise Год назад
With different temperatures on each display 😮😮😮
@upir_upir
@upir_upir Год назад
They are slightly different because of the rounding to different decimal places. Also, the correct temperature on the OLED display is the small bottom one.
@pete3897
@pete3897 Год назад
Raspberry Pi Pico = "Rasp Berry Pie Pick-o", not "Raspberry Pie Pie Co". Sorry, just couldn't help but say it. Got triggered. Love your work anyway! :)
@upir_upir
@upir_upir Год назад
My bad! I will try to pronounce it correctly next time. But if that´s the only concern with the video, I guess I should be happy :)
@bob-ny6kn
@bob-ny6kn Год назад
Talk about trigger... NOT a short "i" because of the following consonants, rather "ee" as in "PEE" so shove your trigger, read a book and enjoy his work.
@pete3897
@pete3897 Год назад
@@upir_upir You should be happy and proud :) The content is fantastic. Love those custom glyphs. So much better than ASCII
@pete3897
@pete3897 Год назад
@@bob-ny6kn I shoved my trigger but it didn't work. I think it's a pull trigger only
@wowyummyyy
@wowyummyyy Год назад
👍👍👍👍👍👍 💯💯 😻😻😻😻😻 👏👏👏👏👏
@upir_upir
@upir_upir Год назад
😀
@roostertechchan
@roostertechchan Год назад
Just a small remark, it's pronounced [piko] with short "e"
@upir_upir
@upir_upir Год назад
Thank you for the clarification! I wish I knew that before hitting the record button...
@bob-ny6kn
@bob-ny6kn Год назад
Just a small remark, you neglected to include a full stop inside the close quote. Dick.
@roostertechchan
@roostertechchan Год назад
@@bob-ny6kn Why so rude?
Далее
Tiny Board, Tiny OLED, Tiny Project
29:19
Просмотров 26 тыс.
51 years old display!
12:59
Просмотров 9 тыс.
Raspberry Pi Pico W: Wireless Weather Station
17:13
Просмотров 284 тыс.
Screen share ANYTHING to this matrix! (Pi Pico)
8:07
Просмотров 116 тыс.
I Can Save You Money! - Raspberry Pi Alternatives
15:04
CHEAP DIY BOOST GAUGE
43:58
Просмотров 135 тыс.