Тёмный

Raspberry Pi Pico - Control the (I/O) World 

DroneBot Workshop
Подписаться 598 тыс.
Просмотров 604 тыс.
50% 1

Let’s hook up some common components to the new Raspberry Pi Pico and see how to code for them in MicroPython!
Detailed Article with Code downloads: dronebotworkshop.com/pi-pico/
More articles and tutorials: dronebotworkshop.com
Join us on the forum: forum.dronebotworkshop.com/
Subscribe to the newsletter and stay in touch: dronebotworkshop.com/subscribe/
The Raspberry Pi Pico is the first microcontroller produced by the Raspberry Pi Foundations, and they even designed the MCU for it. It has a wealth of features and a budget-friendly 4-dollar price tag.
With all of the hype around the Pico since its announcement a few weeks ago I wanted to actually DO something with it. So I decided to hook up a few simple I/O devices to it and see how to code for them using MicroPython.
I did all the coding on the Thonny IDE, and to keep things in the family I used a Raspberry Pi 4 as my host computer. You can also use Thonny and the Pico with Linux, Windows, and Mac OS X workstations as well, but it’s already installed and ready to go with the latest Raspberry Pi Operating System release.
All of these are basic I/O experiments with very simple code, but they each illustrate a useful technique that can be applied to other I/O devices. Plus, if you’re not familiar with MicroPython, it will help you ease into it, as all of the code is very elementary.
For those of you who are put off by the need to solder your own Pico pins fear not, I’ll show you just how easy it is. I'll even give my Pico a bath after I finish soldering it!
Here is what you will see in today's detailed look at the Raspberry Pi Pico:
00:00 - Introduction
03:17 - Raspberry Pi Pico
12:02 - Pico Soldering
19:15 - Set up Thonny IDE
23:36 - LEDs and Switches Intro & Hookup
26:12 - RGB Blink Demo
28:55 - Switch Test
31:36 - Interrupts & Toggle Demo
36:09 - LED & Switch Demo
37:42 - Analog Input Intro & Hookup
38:59 - Analog Input Demo
42:32 - LED PWM Demo
44:26 - OLED Display Intro & Hookup
45:49 - Display Demo
49:13 - Motor & H-Bridge Intro & Hookup
51:21 - Motor Demo
54:37 - The Everything Demo
58:05 - Running Programs at Boot-up
1:00:42 - Conclusion
It will be interesting to see what the future holds for this cute little microcontroller. It has some very nice design features but it also faces a lot of competition from devices like the Seeeduino XIAO, Arduino 33 IoT series, and, of course, the ESP32 boards.
But as I just received a big bag of Pico accessories, with more on the way, you're sure to see the Pico here in the workshop again very soon!
Hope you enjoy the video, if you want to discuss it in detail there is a dedicated thread on the forum at forum.dronebotworkshop.com/20...

Хобби

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

 

11 июл 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 524   
@MitzpatrickFitzsimmons
@MitzpatrickFitzsimmons 3 года назад
This video represents the extreme quality difference of new product reviews and demos. While 'everyone else' is showing the pico with just the basic blink sketch example, Bill takes it to a whole other level of excellence in performance showcased with in depth demonstrations. Thank you!
@ronen124
@ronen124 3 года назад
the video publisher guy is the man (-:
@localhost123456
@localhost123456 3 года назад
yep! Guy is a thorough person ...
@qwkimball
@qwkimball 3 года назад
Every time I hear "IRQ" I have vicious flashbacks of (eventually) installing SoundBlaster cards in the 90s.
@sammyk7024
@sammyk7024 3 года назад
IRQ PTSD. yeah! Mine comes from network and video cards, mostly. the infamous irq15. KILL ITTTTTTT
@tlmoller
@tlmoller 3 года назад
Oh yes. A nightmare!,
@MatthiasDiro
@MatthiasDiro 3 года назад
so called '"plug and pray" :)
@transsi
@transsi 3 года назад
@@MatthiasDiro Plug and Play(Pray) was implemented to avoid manual IRQ/DMA configuration. Sometimes it even worked ;) But before that it was "just" a matter of assigning non-overlapping configs to your devices.
@MatthiasDiro
@MatthiasDiro 3 года назад
@@transsi quote "Sometimes it even worked" - > Really? Not on any PC of mine that time ;) As I remember there were only a few IRQ and DMA channels free and the next troublemaker was IRQ sharing (totally funny with PRO audio getting spikes every 10 minutes or so).
@larrycleeton
@larrycleeton 3 года назад
The demonstrations here are spot on. Just enough detail to get things running.
@virginiaorwell2671
@virginiaorwell2671 2 года назад
A very thorough presentation. Not rushed as many fall into the trap that they know their subject, so it's delivered at warp speed. One of the best I have viewed.
@paulgeare6035
@paulgeare6035 3 года назад
Best video I've seen on RU-vid so far this year. Come to think of it, best this decade! Thanks for a fascinating, gentle, logical, easy to understand beginner's guide to GPIO.
@czechyorker
@czechyorker 3 года назад
So far the best Video on YT for Raspberry Pi Pico. Can't wait to see more. Thank you.
@tonyguerich9854
@tonyguerich9854 3 года назад
This is the best intro to the pico I have seen. I stumbled through most of this before I saw this but still learned quite a bit. Thanks.
@beratbaki1681
@beratbaki1681 3 года назад
This video is not just about the rasbperry pico. Its like stepping inside to IO world with raspberry pico. Keep up the good work, great video.
@coocoo6311
@coocoo6311 2 года назад
The considerable effort which has gone into producing this has resulted in a video which is first class, a treat to watch and seamless in its presentation! You communicate carefully, logically and clearly, leaving no room for misunderstanding. Thank-you very much indeed!
@deanhorner7965
@deanhorner7965 2 года назад
Hi ml l the
@kiloton1920
@kiloton1920 Год назад
Other than him saying pico 1 trillion times
@hughmulgrew6966
@hughmulgrew6966 3 года назад
The best introduction to the Pico I have had the pleasure of experiencing. As usual, a great presentation from a terrific communicator., Bill (Thank you).
@StephenCross
@StephenCross 2 года назад
Ok no nn
@paulspengler8144
@paulspengler8144 3 года назад
I just spent hours looking at various videos on programming the pi Pico using micro python. This was by far the best as well as easy to follow presentation. Thank you!
@7alfatech860
@7alfatech860 3 года назад
What a nice, comprehensive introduction to the Pico. Thanks!
@ianleitch9960
@ianleitch9960 3 года назад
@49:03 plumbing excitement! must be near time for a snack. All very clear and so a Godsend for those starting out and a very useful illustration/reference for the rest of us.
@cheesex8189
@cheesex8189 3 года назад
First class video. Everything clearly explained both verbally and visually. Best pico intro on YT.
@gga3053
@gga3053 3 года назад
Thank you for providing this excellent introduction to the Pico. I just got mine and this kind of guide is just what I was looking for.
@Mystic0Dreamer
@Mystic0Dreamer 3 года назад
Your videos are just too good Bill it's hard to not want to do these experiments when watching your excellent tutorials.
@Goman1244
@Goman1244 3 года назад
Thank you for the time and effort you put into your videos. They are very professional and informative. I wish more instructive videos were produced like yours.
@aloysiussnailchaser272
@aloysiussnailchaser272 3 года назад
Great work! You covered everything and showed exactly what this board is capable of. I’m sold on it.
@diggleboy
@diggleboy 3 года назад
Really enjoyed this video of you taking the Raspberry Pi Pico to the breadboard gym you put together to put it through its paces. So much power in such a tiny package. Will make IoT device development much more exciting.
@PeterFrueh
@PeterFrueh 3 года назад
Congratulations on an excellent teaching video for those wishing to learn through the Pico. As good as "Explaining Computers" which is a high compliment.
@TananBaboo
@TananBaboo 2 года назад
What a great channel. I wish I had access to this kind of content when I was younger. You’re doing great work, keep it up.
@jaroslawpiotrowski210
@jaroslawpiotrowski210 3 года назад
This is THE BEST Pico introduction !!! Recommended for everyone who would like to learn about Pico, don't waste time for other video on YT about Pico.
@augustojoa2496
@augustojoa2496 2 года назад
I watch your videos all the time. They are very professional. I usually give you a like and watch it to the end, when I have leisure time. thanks for sharing your knowledge.
@tvnsi8556
@tvnsi8556 3 года назад
Your training are much more effective than hundreds of ads from factory marketings. Thank you, dear Master :-)
@fhbison
@fhbison 3 года назад
Absolutely right! I totally agree with you.
@anonymous.youtuber
@anonymous.youtuber 3 года назад
As usual, an outstanding video. I learned so much in so little time ! 🙏🏻
@Remnar
@Remnar 3 года назад
Love what you do, your explanations are always detailed and very helpful, thanks for your time.
@tuchomendez
@tuchomendez 2 года назад
Thank you so much for, unlike most RU-vid creators, speaking at a slow pace. I appreciate that a lot in instructional videos, it helps tremendously. Great video, visually and content wise.
@donaldwright2426
@donaldwright2426 3 года назад
Super interesting demos. In fact, the terminal and the way to program the Pi Pico takes me back to the 80s when I was programming my Commodore 64 but the similarity ends there. The quality of your preparation and the demonstrations only make the Pi Pico more attractive and enjoyable to program. Thank you.
@Den_Electro
@Den_Electro 2 года назад
Hello friend. Watch my video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-sb7-gBqXJtk.html
@baldrickdaisy8982
@baldrickdaisy8982 3 года назад
Fantastic video on the Raspberry Pi Pico, accessories and programming. Thanks Bill 👍 Looking forward to more on the Pico from the DroneBot Workshop
@djwmunro
@djwmunro 3 года назад
I have watched a bunch of Pico Videos now .Yours is the best by Far. Btw I have been watching you since the start of Covid. Always entertaining and informative. Thanks.
@hewdailyink
@hewdailyink 3 года назад
You always do an incredible job and this pico vid is up there with some of your best. Thank you.
@muhammadhussain7976
@muhammadhussain7976 3 года назад
You came late in the race for Pi Pico demonstration but you certainly have made an awesome tutorial. It covers almost everything which is circulating around so far! Keep it up!
@jyvben1520
@jyvben1520 3 года назад
a 63 minutes video, needs a long prep, but very nicely done.
@patricklepoutre
@patricklepoutre 3 года назад
Great, I was waiting for your own video about the Pico, and it's very good as always. Thank you Sir
@stuartmartin3408
@stuartmartin3408 3 года назад
Bill you are the best! This is the best PICO demo and explanation I’ve seen.
@dugabomber5993
@dugabomber5993 2 года назад
Your videos r officially the best to follow and so in depth! No assuming people know what something is. I'll be donating if possible
@Nigel-Mac
@Nigel-Mac 3 года назад
I am so so happy that micropython will be more usage. So under-rated!
@HugoDahl
@HugoDahl 3 года назад
Thanks for another great informative and educational piece of work. So much potential in this little, super-powered chip and board!
@unknownvivek362
@unknownvivek362 2 года назад
The best video to understand all the basics of pico. This was extremely helpful! ❤❤
@TerribleShmeltingAccident
@TerribleShmeltingAccident 9 месяцев назад
dude i am super thankful for you taking the time to record/upload this tutorial, tyvm my friend
@RCWalletVacuum
@RCWalletVacuum 9 месяцев назад
Without a doubt...the best electronics videos on RU-vid. Great job!
@caid9
@caid9 2 года назад
After one year and a half, this is still the best intro video to the Raspberry PICO that I have found . Thank you.
@TomasSawer
@TomasSawer 2 года назад
Yep. And still no boards/hats for it working on 3.3v. It's sad that absence of 5v ports make such perfect product useless.
@PhG1961
@PhG1961 3 года назад
Quite a long video but I watched it all till the end ! Great job ! I really love the Pico !
@ExcitingCreations
@ExcitingCreations 3 года назад
Thanks for this video! I'll probably buy a pico soon! I love your logo by the way!
@Billf57
@Billf57 3 года назад
What a great instructional video on the Pico. I’ve been dragging my feet on getting one. Now I’ve got one ordered along with some accessories. Count me as subscribed.
@jyvben1520
@jyvben1520 3 года назад
3:17 best explanation of all the pins, great video
@electron7373
@electron7373 2 года назад
DBW is so detailed, he covers the subject seriously. Really good for people who want to actually build stuff.
@ianbertenshaw4350
@ianbertenshaw4350 3 года назад
Up until now the humble Arduino has served me well with the projects I wanted to build but after watching this tutorial I think the pico will be the first pick for my future projects provided there are libraries for the sensors etc that I want to use - i think there will be tidal wave of development in this regard over the next year or so . I don’t know if it is just me but micropython seems to be so much simpler to use than C++ and if I never see another curly brace again it will be too soon ! Definitely the best tutorial on the pico I have seen , I did watch one where the guy tried to use #define and include in the programme - i got a good laugh watching that 😀
@vicdohar
@vicdohar 3 года назад
Nice all encompassing video of IO possibilities. Like the simplicity of micro Python code, so much easier to read.
@rtomimbang
@rtomimbang 3 года назад
Hi, sir, your video on all tech is the most comprehensive I can found around. Thank you for sharing your knowledge to the rest of the world. Cheers. :)
@GaryRobas
@GaryRobas 3 года назад
Excellent tutorial! Many thanks for a very comprehensive video.
@ralphmaasgmailcom
@ralphmaasgmailcom 3 года назад
Hi Bill, thank you for this extensive tutorial. Am subscribed to your RU-vid channel and watch your channel with great interest. You always explain the subjects very well and accurately. Have already learned a lot from you, I hope you will continue to explain this way for a long time to come.
@Den_Electro
@Den_Electro 2 года назад
Hello friend. Watch my video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-sb7-gBqXJtk.html
@JohnCCraig
@JohnCCraig 3 года назад
Wow, great video! MUCH better and more useful than all the other videos I've taken a look at . I've subscribed.
@skf957
@skf957 3 года назад
Nicely done Bill, thank you. A good point of reference. Looking forward to the next one!
@greenon
@greenon 2 года назад
Thanks for making this great video. I ordered 8 Picos after watching this, cant wait to get started with them!
@JustCameronAndHisJeep
@JustCameronAndHisJeep 3 года назад
This is an awesome and so thorough dive into the rPi Pico. I have 3 on order and I'll try to do something interesting with them.
@seddikmekki34
@seddikmekki34 2 года назад
Wow, so much effort was put into this video. Thank you.
@brucehanson4147
@brucehanson4147 2 года назад
Been struggling with a pico for a week, I just learned more in the last hour than I did all week, enough to write my own code to get the projects done I got the picos for.
@michaeldanielides6003
@michaeldanielides6003 3 года назад
Thank you for your comprehensive show. Way2go!
@StefanoAgrotis
@StefanoAgrotis 3 года назад
This channel never misses with a video
@HermannKerr
@HermannKerr 3 года назад
This is a great introduction to the Raspberry Pi Pico. Now I just need to get my hands one. Your introduction is one of the best ones that I have seen. Thank you.
@Den_Electro
@Den_Electro 2 года назад
Hello friend. Watch my video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-sb7-gBqXJtk.html
@TheAndonen
@TheAndonen 2 года назад
Outstanding presentation! Examples are spot on. And the video production... lot of effort invested with great results.
@jimny4k
@jimny4k 3 года назад
Excellent introduction to the Pico......just off to order some now. As always an excellent video!
@LeeFiero
@LeeFiero 11 месяцев назад
I have been looking for a video that really explains what happends and why and FINALLY i found it. Thank YOU!
@andrewgr4572
@andrewgr4572 3 года назад
Thank you! Very helpful intro on basics and how to quickly get up to speed with Pico!
@Simply_Sood
@Simply_Sood 3 года назад
One of the best introductions to the pico... excellent
@qwkimball
@qwkimball 3 года назад
Thanks for the, as always, excellent content.
@mucden
@mucden 2 года назад
You are an excellent teacher. I am trying to teach my son to learn micro-controller but I found your video which well explained. Thanks :)
@joopspeelman8383
@joopspeelman8383 3 года назад
Thank you very much for the excellent demonstration. This should be great help. I just received the Raspberry Pi Pico.
@AstroMechanicalEngineer
@AstroMechanicalEngineer 2 года назад
Thank you for this super-easy to understand video! It helped me iron out a few things from this tiny microcontroller board.
@jayk806
@jayk806 2 года назад
Fantastic video!!! Got me well up to speed on the pico! I’m so excited for my first pico to arrive in the mail. Thank you!
@opalprestonshirley1700
@opalprestonshirley1700 3 года назад
Great demonstration. I haven't received a Pico yet but looking forward to it. Thanks, Bill.
@djruido1
@djruido1 Месяц назад
Love how you describe the items you working with. How you give super explanation of the microcontroller, just got my 2 picos I know years late but I’m learning lol
@MartinBgelund
@MartinBgelund 3 года назад
Thanks for yet another thorough and informative video. I'm especially happy to see you explaining interrupts, and actually stating it's an important topic in the microcontroller world. A lot of video introductions to microcontrollers miss that.
@richleyden6839
@richleyden6839 3 года назад
Very nice getting started with the Pico video. I like the way you make no assumptions of prior knowledge and cover necessary bits. But, mercifully keeping it brief so as to not turn off somewhat more experienced viewers. Admittedly, that a fine line. For example, my mouse was posed to skip the solder flux cleaning tutorial 😀. But it is probably appropriate for most Pico beginners.
@Electronieks
@Electronieks 3 года назад
This channel i always watch at 1,5x speed You learn stuff and you save 30minutes of time
@artbecker5618
@artbecker5618 3 года назад
Plus skip past the part where he reads all the specifications from the spec sheet -- the same as all the other intro videos do to waste time and make their videos longer without adding any value. Not as bad as all the videos merely taking something out of a cardboard box, but still annoying. Then he has to perpetuate the myth that the Pico is a $4 board (like the myth of the old C.H.I.P. being a $9 board). Shipping can double, triple, or more the actual price you pay, but few videos are honest enough to mention that. It would be better to just skip all the fluff, increase speed to 1.25x, and get right to the I/O part at 23:36.
@Electronieks
@Electronieks 3 года назад
@@artbecker5618 correct !
@jadedblackpill5009
@jadedblackpill5009 3 года назад
Love your content! I appreciate you sharing your knowledge!
@BarackBananabama
@BarackBananabama 3 года назад
Very efficient and easy to understand as usual!
@Paul-zt1lp
@Paul-zt1lp 3 года назад
This came out the same time I unboxed my Pico, I would love to see a tutorial using Raspi Pi Compute Module 4
@KimateRichards
@KimateRichards 2 года назад
As usual your videos are thorough and very professional.
@fhbison
@fhbison 3 года назад
I'm also thanking you for the information and enjoyable video that you have presented. I so much understand what you are describing because I went to school and study for it and I know that I should understand it so well but when you start to explain all the inner workings and the fundamentals, All the lights went off and the understanding screams came out loud. I thank you for your very good explanations and extreme and good showmanship. Your videos are good for training and leadership. The next generation and leadership needs this. thank you.
@1607rosie
@1607rosie 3 года назад
Man I love watching these videos, it just makes you wonder how many ways you could use this pico.
@AbhishekSingh-qz3fx
@AbhishekSingh-qz3fx 3 года назад
Extreme high-quality videos. M a huge fan!
@barchilsaid3001
@barchilsaid3001 3 года назад
Thank you so much. We really appreciate all your efforts.
@ZookeeperJohnG
@ZookeeperJohnG 2 года назад
So very well written and executed, THANK YOU!
@comictrio
@comictrio 3 года назад
Great video. I'm looking forward to getting my own Pico and for your future Pico videos.
@trailranger6602
@trailranger6602 Год назад
Your presentations are the only ones I watch to the very end.
@kevinmcaleer28
@kevinmcaleer28 3 года назад
Thank you so much for this - the bit about buttons and pull up and pull down resistors was just a perfect explanation. Just what I was looking for.
@Den_Electro
@Den_Electro 2 года назад
Hello friend. Watch my video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-sb7-gBqXJtk.html
@anurasenarathna1703
@anurasenarathna1703 2 года назад
As always a very informative and wonderful video. Thank you Bill.
@newburypi
@newburypi 3 года назад
Nice presentation. particularly the everything program. Nice to see it all pulled together.
@arhanghelu2149
@arhanghelu2149 2 года назад
Thank you! you are a great teacher !! very nice how you organize the video! Keep up the work!
@wiseoldman682
@wiseoldman682 2 года назад
Your voice is so calm, I like it.
@Eightbitswide
@Eightbitswide 3 года назад
So completely uncomplicated in presentation! Subscribed! channel/newsletter. Well done!
@mariomarais5644
@mariomarais5644 2 года назад
Thanks Bill! A great tutorial on the beloved Raspberry Pi Pico!
@mahashadewanmina7658
@mahashadewanmina7658 2 года назад
This is very important to us ... I highly appreciate your service.
@abpccpba
@abpccpba 3 года назад
Great as usual; thanks for pimoroni mention finally got an order in for 3 picos.
@experimentosas4570
@experimentosas4570 3 года назад
Excelente información, muy completa y detallada. Gracias. Excellent tutorial. Thanks a lot.
@michaelcjgreenway4788
@michaelcjgreenway4788 3 года назад
Some really great info and most helpful. Thank you!
@KanePat
@KanePat 3 года назад
Great knowledge dump and demos. Thank you very much!
@tatterdemalion898
@tatterdemalion898 2 года назад
thank you for the in-depth review! awesome presentation!
@TheBlues1961
@TheBlues1961 3 года назад
Great demonstration of the pico. Thanks.
Далее
CircuitPython with Raspberry Pi Pico - Getting Started
42:47
Pi Pico W with the Arduino IDE | Using WiFi
49:26
Просмотров 147 тыс.
❤️My First Subscriber #shorts #thankyou
00:26
Просмотров 4,6 млн
🎙ПЕСНИ ВЖИВУЮ от КВАШЕНОЙ🌹
3:09:38
Хотите поиграть в такую?😄
00:16
Просмотров 449 тыс.
10 Raspberry Pi Projects (All models, including Pico)
1:52:44
Raspberry Pi Pico
16:16
Просмотров 304 тыс.
The ULTIMATE Raspberry Pi 5 NAS
32:14
Просмотров 1,6 млн
Raspberry Pi Pico LCD Projects
17:25
Просмотров 104 тыс.
Raspberry Pi 4 goes 8GB, Pi OS goes 64 bit!
4:00
Просмотров 79 тыс.
Raspberry Pi Pico Stepper Motors via PIO
25:17
Просмотров 59 тыс.