Raspberry Pi Pico - Control the (I/O) World
Вставка
- Опубліковано 2 сер 2024
- 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... - Навчання та стиль
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!
the video publisher guy is the man (-:
yep! Guy is a thorough person ...
Every time I hear "IRQ" I have vicious flashbacks of (eventually) installing SoundBlaster cards in the 90s.
IRQ PTSD. yeah! Mine comes from network and video cards, mostly. the infamous irq15. KILL ITTTTTTT
Oh yes. A nightmare!,
so called '"plug and pray" :)
@@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.
@@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).
The demonstrations here are spot on. Just enough detail to get things running.
Best video I've seen on UA-cam 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.
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.
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.
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!
So far the best Video on YT for Raspberry Pi Pico. Can't wait to see more. Thank you.
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).
Ok no nn
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.
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!
Hi ml l the
Other than him saying pico 1 trillion times
First class video. Everything clearly explained both verbally and visually. Best pico intro on YT.
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.
@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.
What a nice, comprehensive introduction to the Pico. Thanks!
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.
Great work! You covered everything and showed exactly what this board is capable of. I’m sold on it.
Your videos are just too good Bill it's hard to not want to do these experiments when watching your excellent tutorials.
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.
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.
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.
Thank you so much for, unlike most UA-cam creators, speaking at a slow pace. I appreciate that a lot in instructional videos, it helps tremendously. Great video, visually and content wise.
Love what you do, your explanations are always detailed and very helpful, thanks for your time.
You always do an incredible job and this pico vid is up there with some of your best. Thank you.
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
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.
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.
dude i am super thankful for you taking the time to record/upload this tutorial, tyvm my friend
Congratulations on an excellent teaching video for those wishing to learn through the Pico. As good as "Explaining Computers" which is a high compliment.
Great, I was waiting for your own video about the Pico, and it's very good as always. Thank you Sir
Quite a long video but I watched it all till the end ! Great job ! I really love the Pico !
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.
Fantastic video on the Raspberry Pi Pico, accessories and programming. Thanks Bill 👍 Looking forward to more on the Pico from the DroneBot Workshop
As usual, an outstanding video. I learned so much in so little time ! 🙏🏻
Thanks for this video! I'll probably buy a pico soon! I love your logo by the way!
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.
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
Bill you are the best! This is the best PICO demo and explanation I’ve seen.
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.
Hello friend. Watch my video
ua-cam.com/video/sb7-gBqXJtk/v-deo.html
Without a doubt...the best electronics videos on UA-cam. Great job!
Hi Bill, thank you for this extensive tutorial. Am subscribed to your UA-cam 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.
Hello friend. Watch my video
ua-cam.com/video/sb7-gBqXJtk/v-deo.html
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. :)
Thanks for another great informative and educational piece of work. So much potential in this little, super-powered chip and board!
Thanks for making this great video. I ordered 8 Picos after watching this, cant wait to get started with them!
The best video to understand all the basics of pico. This was extremely helpful! ❤❤
Your training are much more effective than hundreds of ads from factory marketings.
Thank you, dear Master :-)
Absolutely right! I totally agree with you.
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.
Wow, so much effort was put into this video. Thank you.
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!
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!
a 63 minutes video, needs a long prep, but very nicely done.
Nicely done Bill, thank you. A good point of reference. Looking forward to the next one!
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.
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.
DBW is so detailed, he covers the subject seriously. Really good for people who want to actually build stuff.
Wow, great video! MUCH better and more useful than all the other videos I've taken a look at . I've subscribed.
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.
Hello friend. Watch my video
ua-cam.com/video/sb7-gBqXJtk/v-deo.html
So happy to find your Channel and subscribe. Fantastic presentation thank you very much.
Nice all encompassing video of IO possibilities. Like the simplicity of micro Python code, so much easier to read.
After one year and a half, this is still the best intro video to the Raspberry PICO that I have found . Thank you.
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.
3:17 best explanation of all the pins, great video
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.
Thank you for this super-easy to understand video! It helped me iron out a few things from this tiny microcontroller board.
Excellent introduction to the Pico......just off to order some now.
As always an excellent video!
Thank you very much for the excellent demonstration. This should be great help. I just received the Raspberry Pi Pico.
Outstanding presentation! Examples are spot on. And the video production... lot of effort invested with great results.
I have been looking for a video that really explains what happends and why and FINALLY i found it. Thank YOU!
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 :)
Your voice is so calm, I like it.
thank you for the in-depth review! awesome presentation!
Great presentation. Thank you for making this video. Glad I subbed.
Thank you so much. We really appreciate all your efforts.
I am so so happy that micropython will be more usage. So under-rated!
Great demonstration. I haven't received a Pico yet but looking forward to it. Thanks, Bill.
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.
Hello friend. Watch my video
ua-cam.com/video/sb7-gBqXJtk/v-deo.html
Thank you! Very helpful intro on basics and how to quickly get up to speed with Pico!
Excellent tutorial! Many thanks for a very comprehensive video.
Great as usual; thanks for pimoroni mention finally got an order in for 3 picos.
One of the best introductions to the pico... excellent
Man I love watching these videos, it just makes you wonder how many ways you could use this pico.
Love your content! I appreciate you sharing your knowledge!
Thanks for the, as always, excellent content.
Thank you! you are a great teacher !! very nice how you organize the video! Keep up the work!
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 😀
Thank you for your comprehensive show. Way2go!
So completely uncomplicated in presentation! Subscribed! channel/newsletter. Well done!
Excellent clarity and thoroughness 🤗🤗
Nice presentation. particularly the everything program. Nice to see it all pulled together.
As usual your videos are thorough and very professional.
Great intro to the Pico, many thanks
This is very important to us ... I highly appreciate your service.
This channel never misses with a video
Great video. I'm looking forward to getting my own Pico and for your future Pico videos.
I really appreciated your tutorial. Now going to build a model train with this for my grandson !
Great demonstration of the pico. Thanks.
So very well written and executed, THANK YOU!
This came out the same time I unboxed my Pico, I would love to see a tutorial using Raspi Pi Compute Module 4
Very efficient and easy to understand as usual!
Have many thanks for your extremely helpful videos. I have learned a lot from you. Thanks again for your work.
With kindest regards
Toni
I just got a bunch of Pico boards and this is a really great introduction.
Thanks Bill! A great tutorial on the beloved Raspberry Pi Pico!