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

  Переглядів 596,163

DroneBot Workshop

DroneBot Workshop

День тому

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

КОМЕНТАРІ: 519
@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 2 роки тому
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).
@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
@larrycleeton
@larrycleeton 3 роки тому
The demonstrations here are spot on. Just enough detail to get things running.
@7alfatech860
@7alfatech860 3 роки тому
What a nice, comprehensive introduction to the Pico. Thanks!
@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
@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.
@czechyorker
@czechyorker 3 роки тому
So far the best Video on YT for Raspberry Pi Pico. Can't wait to see more. Thank you.
@paulgeare6035
@paulgeare6035 3 роки тому
Best video I've seen on UKposts 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.
@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.
@TerribleShmeltingAccident
@TerribleShmeltingAccident 7 місяців тому
dude i am super thankful for you taking the time to record/upload this tutorial, tyvm my friend
@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 !
@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.
@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.
@LeeFiero
@LeeFiero 9 місяців тому
I have been looking for a video that really explains what happends and why and FINALLY i found it. Thank YOU!
@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.
@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.
@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.
@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.
@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.
@aloysiussnailchaser272
@aloysiussnailchaser272 3 роки тому
Great work! You covered everything and showed exactly what this board is capable of. I’m sold on it.
@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!
@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.
@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.
@sgauntt
@sgauntt 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.
@Remnar
@Remnar 3 роки тому
Love what you do, your explanations are always detailed and very helpful, thanks for your time.
@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
@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.
@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.
@tuchomendez
@tuchomendez 2 роки тому
Thank you so much for, unlike most UKposts creators, speaking at a slow pace. I appreciate that a lot in instructional videos, it helps tremendously. Great video, visually and content wise.
@patricklepoutre
@patricklepoutre 3 роки тому
Great, I was waiting for your own video about the Pico, and it's very good as always. Thank you Sir
@ExcitingCreations
@ExcitingCreations 3 роки тому
Thanks for this video! I'll probably buy a pico soon! I love your logo by the way!
@RCWalletVacuum
@RCWalletVacuum 6 місяців тому
Without a doubt...the best electronics videos on UKposts. Great job!
@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.
@PhG1961
@PhG1961 3 роки тому
Quite a long video but I watched it all till the end ! Great job ! I really love the Pico !
@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 Рік тому
Hello friend. Watch my video ukposts.info/have/v-deo/q5JoYZ15qI571Z8.html
@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 Рік тому
Hello friend. Watch my video ukposts.info/have/v-deo/q5JoYZ15qI571Z8.html
@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!
@Billf57
@Billf57 2 роки тому
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.
@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
@skf957
@skf957 3 роки тому
Nicely done Bill, thank you. A good point of reference. Looking forward to the next one!
@anonymous.youtuber
@anonymous.youtuber 3 роки тому
As usual, an outstanding video. I learned so much in so little time ! 🙏🏻
@ralphmaasgmailcom
@ralphmaasgmailcom 3 роки тому
Hi Bill, thank you for this extensive tutorial. Am subscribed to your UKposts 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 Рік тому
Hello friend. Watch my video ukposts.info/have/v-deo/q5JoYZ15qI571Z8.html
@unknownvivek362
@unknownvivek362 2 роки тому
The best video to understand all the basics of pico. This was extremely helpful! ❤❤
@HugoDahl
@HugoDahl 3 роки тому
Thanks for another great informative and educational piece of work. So much potential in this little, super-powered chip and board!
@Nigel-Mac
@Nigel-Mac 3 роки тому
I am so so happy that micropython will be more usage. So under-rated!
@stuartmartin3408
@stuartmartin3408 3 роки тому
Bill you are the best! This is the best PICO demo and explanation I’ve seen.
@andrewgr4572
@andrewgr4572 3 роки тому
Thank you! Very helpful intro on basics and how to quickly get up to speed with Pico!
@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.
@jimny4k
@jimny4k 3 роки тому
Excellent introduction to the Pico......just off to order some now. As always an excellent video!
@caid9
@caid9 Рік тому
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 Рік тому
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.
@greenon
@greenon 2 роки тому
Thanks for making this great video. I ordered 8 Picos after watching this, cant wait to get started with them!
@AstroMechanicalEngineer
@AstroMechanicalEngineer Рік тому
Thank you for this super-easy to understand video! It helped me iron out a few things from this tiny microcontroller board.
@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. :)
@michaeldanielides6003
@michaeldanielides6003 3 роки тому
Thank you for your comprehensive show. Way2go!
@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.
@vicdohar
@vicdohar 3 роки тому
Nice all encompassing video of IO possibilities. Like the simplicity of micro Python code, so much easier to read.
@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
@electron7373
@electron7373 2 роки тому
DBW is so detailed, he covers the subject seriously. Really good for people who want to actually build stuff.
@jyvben1520
@jyvben1520 3 роки тому
3:17 best explanation of all the pins, great video
@opalprestonshirley1700
@opalprestonshirley1700 3 роки тому
Great demonstration. I haven't received a Pico yet but looking forward to it. Thanks, Bill.
@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.
@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 Рік тому
Hello friend. Watch my video ukposts.info/have/v-deo/q5JoYZ15qI571Z8.html
@GaryRobas
@GaryRobas 3 роки тому
Excellent tutorial! Many thanks for a very comprehensive video.
@ZookeeperJohnG
@ZookeeperJohnG 2 роки тому
So very well written and executed, THANK YOU!
@xerxel69
@xerxel69 2 роки тому
This is like ASMR for geeks. I wish this guy had been a lecturer at uni when we were building robots with assembler - I might have learnt something! :-p
@Simply_Sood
@Simply_Sood 3 роки тому
One of the best introductions to the pico... excellent
@TheAndonen
@TheAndonen 2 роки тому
Outstanding presentation! Examples are spot on. And the video production... lot of effort invested with great results.
@jadedblackpill5009
@jadedblackpill5009 3 роки тому
Love your content! I appreciate you sharing your knowledge!
@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.
@joopspeelman8383
@joopspeelman8383 3 роки тому
Thank you very much for the excellent demonstration. This should be great help. I just received the Raspberry Pi Pico.
@newburypi
@newburypi 3 роки тому
Nice presentation. particularly the everything program. Nice to see it all pulled together.
@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 :)
@abpccpba
@abpccpba 3 роки тому
Great as usual; thanks for pimoroni mention finally got an order in for 3 picos.
@1607rosie
@1607rosie 3 роки тому
Man I love watching these videos, it just makes you wonder how many ways you could use this pico.
@arhanghelu2149
@arhanghelu2149 2 роки тому
Thank you! you are a great teacher !! very nice how you organize the video! Keep up the work!
@mariomarais5644
@mariomarais5644 2 роки тому
Thanks Bill! A great tutorial on the beloved Raspberry Pi Pico!
@comictrio
@comictrio 3 роки тому
Great video. I'm looking forward to getting my own Pico and for your future Pico videos.
@seddikmekki34
@seddikmekki34 2 роки тому
Wow, so much effort was put into this video. Thank you.
@qwkimball
@qwkimball 3 роки тому
Thanks for the, as always, excellent content.
@TheUnofficialMaker
@TheUnofficialMaker 3 роки тому
Excellant! Now I can play with my new pico. Looking forward to see how to use the RTC and C.
@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.
@brucehanson4147
@brucehanson4147 Рік тому
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.
@tatterdemalion898
@tatterdemalion898 2 роки тому
thank you for the in-depth review! awesome presentation!
@mechaform
@mechaform 10 місяців тому
Great presentation. Thank you for making this video. Glad I subbed.
@StefanoAgrotis
@StefanoAgrotis 3 роки тому
This channel never misses with a video
@Frisky0563
@Frisky0563 3 роки тому
Thank you Bill for the awesome video. I have to say I love that way you explain the concepts you are presenting to us. They really resonate with me. I just want to say how much I enjoy your content on YT Bill. If you connect the ADC pin to ground do you get a 0 reading this would eliminate the pot. I have a feeling this is 12 bit ADC is super sensitive. Can I use my computer to program the RP2040? Is there an input compare and output compare timer function? Well I'll google the times object and see what it can provide me. This device is nice seems pretty friendly device.
@michaelcjgreenway4788
@michaelcjgreenway4788 3 роки тому
Some really great info and most helpful. Thank you!
@robsymberlist7962
@robsymberlist7962 3 роки тому
Great intro to the Pico! THANKS!
@KanePat
@KanePat 3 роки тому
Great knowledge dump and demos. Thank you very much!
@TheBlues1961
@TheBlues1961 3 роки тому
Great demonstration of the pico. Thanks.
@mumbles1justin
@mumbles1justin 3 роки тому
Great video! One thing Id like to see how todo is how you’d create a menu at boot up and use an encoder to scroll and select different programs to run using the encoder on the pico with oled.
@sddiymakeitworthit7512
@sddiymakeitworthit7512 3 роки тому
Always like to watch your workshop is awesome
@KimateRichards
@KimateRichards 2 роки тому
As usual your videos are thorough and very professional.
@francsahuc2121
@francsahuc2121 2 роки тому
I really appreciated your tutorial. Now going to build a model train with this for my grandson !
@AbhishekSingh-qz3fx
@AbhishekSingh-qz3fx 3 роки тому
Extreme high-quality videos. M a huge fan!
@goldenpacificmedia
@goldenpacificmedia 2 роки тому
Thank you very much for your terrific tutorial and sharing of techniques!
@JamesSamples
@JamesSamples 2 роки тому
This instructor will hold your hand and walk you through the jungle and you'll think it's the park! I learned new things. What I didn't learn new, I understand better. Thanks!
CircuitPython with Raspberry Pi Pico - Getting Started
42:47
DroneBot Workshop
Переглядів 190 тис.
The Raspberry Pi Pico WAS Overrated! But that changed!
10:18
GreatScott!
Переглядів 578 тис.
Парковка Пошла Не По Плану 😨
00:12
Глеб Рандалайнен
Переглядів 10 млн
ВИРУСНЫЕ ВИДЕО / Виноградинка 😅
00:34
Светлый Voiceover
Переглядів 7 млн
In-depth: Raspberry Pi Pico's PIO - programmable I/O!
17:19
stacksmashing
Переглядів 126 тис.
Driving DC Motors with Microcontrollers
1:04:32
DroneBot Workshop
Переглядів 560 тис.
Raspberry Pi Pico
16:16
ExplainingComputers
Переглядів 299 тис.
The Pi Pico has problems, so I made my own, the ProPico
7:17
Dmytro Engineering
Переглядів 28 тис.
#372 How to use the two Cores of the Pi Pico? And how fast are Interrupts?
14:25
Simmerstats: The genius old tech that controls your stovetop
36:31
Technology Connections
Переглядів 64 тис.
Tech Toolkit | The Ultimate Electronics Tool Round-Up
1:18:17
DroneBot Workshop
Переглядів 39 тис.
Raspberry Pi Pico W: Wireless Weather Station
17:13
ExplainingComputers
Переглядів 272 тис.
Game Boy games that did the impossible.
15:33
Modern Vintage Gamer
Переглядів 141 тис.
Авто не Китай! #shorts Лиса рулит
1:00
Лиса рулит shorts
Переглядів 2,2 млн
Я продаю б/у вещи?
0:44
DJULAYY
Переглядів 1,7 млн