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...
  • Навчання та стиль

КОМЕНТАРІ • 524

  • @MitzpatrickFitzsimmons
    @MitzpatrickFitzsimmons 3 роки тому +400

    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 роки тому +2

      the video publisher guy is the man (-:

    • @localhost123456
      @localhost123456 3 роки тому +2

      yep! Guy is a thorough person ...

  • @qwkimball
    @qwkimball 3 роки тому +161

    Every time I hear "IRQ" I have vicious flashbacks of (eventually) installing SoundBlaster cards in the 90s.

    • @sammyk7024
      @sammyk7024 3 роки тому +11

      IRQ PTSD. yeah! Mine comes from network and video cards, mostly. the infamous irq15. KILL ITTTTTTT

    • @tlmoller
      @tlmoller 3 роки тому +1

      Oh yes. A nightmare!,

    • @MatthiasDiro
      @MatthiasDiro 3 роки тому +13

      so called '"plug and pray" :)

    • @transsi
      @transsi 3 роки тому +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 роки тому +1

      @@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 роки тому +29

    The demonstrations here are spot on. Just enough detail to get things running.

  • @paulgeare6035
    @paulgeare6035 3 роки тому +8

    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.

  • @virginiaorwell2671
    @virginiaorwell2671 2 роки тому +6

    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.

  • @tonyguerich9854
    @tonyguerich9854 3 роки тому +7

    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.

  • @paulspengler8144
    @paulspengler8144 3 роки тому +1

    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!

  • @czechyorker
    @czechyorker 3 роки тому +5

    So far the best Video on YT for Raspberry Pi Pico. Can't wait to see more. Thank you.

  • @hughmulgrew6966
    @hughmulgrew6966 3 роки тому +114

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

  • @beratbaki1681
    @beratbaki1681 3 роки тому +6

    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 роки тому +23

    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!

  • @cheesex8189
    @cheesex8189 3 роки тому +2

    First class video. Everything clearly explained both verbally and visually. Best pico intro on YT.

  • @gga3053
    @gga3053 3 роки тому +6

    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.

  • @ianleitch9960
    @ianleitch9960 3 роки тому +2

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

  • @7alfatech860
    @7alfatech860 3 роки тому +24

    What a nice, comprehensive introduction to the Pico. Thanks!

  • @augustojoa2496
    @augustojoa2496 2 роки тому +1

    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.

  • @aloysiussnailchaser272
    @aloysiussnailchaser272 3 роки тому +3

    Great work! You covered everything and showed exactly what this board is capable of. I’m sold on it.

  • @Mystic0Dreamer
    @Mystic0Dreamer 3 роки тому +5

    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 роки тому +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.

  • @diggleboy
    @diggleboy 3 роки тому +4

    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.

  • @TananBaboo
    @TananBaboo 2 роки тому +5

    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.

  • @tuchomendez
    @tuchomendez 2 роки тому

    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.

  • @Remnar
    @Remnar 3 роки тому +1

    Love what you do, your explanations are always detailed and very helpful, thanks for your time.

  • @hewdailyink
    @hewdailyink 3 роки тому +1

    You always do an incredible job and this pico vid is up there with some of your best. Thank you.

  • @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

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

  • @jaroslawpiotrowski210
    @jaroslawpiotrowski210 3 роки тому +1

    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.

  • @TerribleShmeltingAccident
    @TerribleShmeltingAccident 10 місяців тому

    dude i am super thankful for you taking the time to record/upload this tutorial, tyvm my friend

  • @PeterFrueh
    @PeterFrueh 3 роки тому +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.

  • @patricklepoutre
    @patricklepoutre 3 роки тому +1

    Great, I was waiting for your own video about the Pico, and it's very good as always. Thank you Sir

  • @PhG1961
    @PhG1961 3 роки тому +3

    Quite a long video but I watched it all till the end ! Great job ! I really love the Pico !

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

  • @baldrickdaisy8982
    @baldrickdaisy8982 3 роки тому +1

    Fantastic video on the Raspberry Pi Pico, accessories and programming. Thanks Bill 👍 Looking forward to more on the Pico from the DroneBot Workshop

  • @anonymous.youtuber
    @anonymous.youtuber 3 роки тому +4

    As usual, an outstanding video. I learned so much in so little time ! 🙏🏻

  • @ExcitingCreations
    @ExcitingCreations 3 роки тому +9

    Thanks for this video! I'll probably buy a pico soon! I love your logo by the way!

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

  • @djruido1
    @djruido1 2 місяці тому

    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

  • @stuartmartin3408
    @stuartmartin3408 3 роки тому

    Bill you are the best! This is the best PICO demo and explanation I’ve seen.

  • @donaldwright2426
    @donaldwright2426 3 роки тому +5

    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
      ua-cam.com/video/sb7-gBqXJtk/v-deo.html

  • @RCWalletVacuum
    @RCWalletVacuum 9 місяців тому

    Without a doubt...the best electronics videos on UA-cam. Great job!

  • @ralphmaasgmailcom
    @ralphmaasgmailcom 3 роки тому +1

    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.

    • @Den_Electro
      @Den_Electro 2 роки тому

      Hello friend. Watch my video
      ua-cam.com/video/sb7-gBqXJtk/v-deo.html

  • @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. :)

  • @HugoDahl
    @HugoDahl 3 роки тому +2

    Thanks for another great informative and educational piece of work. So much potential in this little, super-powered chip and board!

  • @greenon
    @greenon 2 роки тому

    Thanks for making this great video. I ordered 8 Picos after watching this, cant wait to get started with them!

  • @unknownvivek362
    @unknownvivek362 2 роки тому

    The best video to understand all the basics of pico. This was extremely helpful! ❤❤

  • @tvnsi8556
    @tvnsi8556 3 роки тому +5

    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.

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

  • @seddikmekki34
    @seddikmekki34 2 роки тому

    Wow, so much effort was put into this video. Thank you.

  • @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!

  • @muhammadhussain7976
    @muhammadhussain7976 3 роки тому +6

    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 роки тому +1

      a 63 minutes video, needs a long prep, but very nicely done.

  • @skf957
    @skf957 3 роки тому

    Nicely done Bill, thank you. A good point of reference. Looking forward to the next one!

  • @MartinBgelund
    @MartinBgelund 3 роки тому +5

    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.

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

  • @electron7373
    @electron7373 2 роки тому

    DBW is so detailed, he covers the subject seriously. Really good for people who want to actually build stuff.

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

  • @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
      ua-cam.com/video/sb7-gBqXJtk/v-deo.html

  • @Paddy_Roche
    @Paddy_Roche 2 роки тому

    So happy to find your Channel and subscribe. Fantastic presentation thank you very much.

  • @vicdohar
    @vicdohar 3 роки тому +1

    Nice all encompassing video of IO possibilities. Like the simplicity of micro Python code, so much easier to read.

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

  • @jyvben1520
    @jyvben1520 3 роки тому +1

    3:17 best explanation of all the pins, great video

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

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

  • @jimny4k
    @jimny4k 3 роки тому +1

    Excellent introduction to the Pico......just off to order some now.
    As always an excellent video!

  • @joopspeelman8383
    @joopspeelman8383 3 роки тому

    Thank you very much for the excellent demonstration. This should be great help. I just received the Raspberry Pi Pico.

  • @TheAndonen
    @TheAndonen 2 роки тому

    Outstanding presentation! Examples are spot on. And the video production... lot of effort invested with great results.

  • @LeeFiero
    @LeeFiero Рік тому

    I have been looking for a video that really explains what happends and why and FINALLY i found it. Thank YOU!

  • @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 :)

  • @wiseoldman682
    @wiseoldman682 2 роки тому

    Your voice is so calm, I like it.

  • @tatterdemalion898
    @tatterdemalion898 2 роки тому

    thank you for the in-depth review! awesome presentation!

  • @mechaform
    @mechaform Рік тому

    Great presentation. Thank you for making this video. Glad I subbed.

  • @barchilsaid3001
    @barchilsaid3001 3 роки тому

    Thank you so much. We really appreciate all your efforts.

  • @Nigel-Mac
    @Nigel-Mac 3 роки тому +2

    I am so so happy that micropython will be more usage. So under-rated!

  • @opalprestonshirley1700
    @opalprestonshirley1700 3 роки тому

    Great demonstration. I haven't received a Pico yet but looking forward to it. Thanks, Bill.

  • @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
      ua-cam.com/video/sb7-gBqXJtk/v-deo.html

  • @andrewgr4572
    @andrewgr4572 3 роки тому

    Thank you! Very helpful intro on basics and how to quickly get up to speed with Pico!

  • @GaryRobas
    @GaryRobas 3 роки тому +1

    Excellent tutorial! Many thanks for a very comprehensive video.

  • @abpccpba
    @abpccpba 3 роки тому

    Great as usual; thanks for pimoroni mention finally got an order in for 3 picos.

  • @Simply_Sood
    @Simply_Sood 3 роки тому

    One of the best introductions to the pico... excellent

  • @1607rosie
    @1607rosie 3 роки тому

    Man I love watching these videos, it just makes you wonder how many ways you could use this pico.

  • @jadedblackpill5009
    @jadedblackpill5009 3 роки тому

    Love your content! I appreciate you sharing your knowledge!

  • @qwkimball
    @qwkimball 3 роки тому +5

    Thanks for the, as always, excellent content.

  • @arhanghelu2149
    @arhanghelu2149 2 роки тому

    Thank you! you are a great teacher !! very nice how you organize the video! Keep up the work!

  • @ianbertenshaw4350
    @ianbertenshaw4350 3 роки тому +5

    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 😀

  • @michaeldanielides6003
    @michaeldanielides6003 3 роки тому +1

    Thank you for your comprehensive show. Way2go!

  • @Eightbitswide
    @Eightbitswide 3 роки тому

    So completely uncomplicated in presentation! Subscribed! channel/newsletter. Well done!

  • @chrisstanford3652
    @chrisstanford3652 Рік тому

    Excellent clarity and thoroughness 🤗🤗

  • @newburypi
    @newburypi 3 роки тому

    Nice presentation. particularly the everything program. Nice to see it all pulled together.

  • @KimateRichards
    @KimateRichards 2 роки тому

    As usual your videos are thorough and very professional.

  • @edgiefive1317
    @edgiefive1317 Рік тому

    Great intro to the Pico, many thanks

  • @mahashadewanmina7658
    @mahashadewanmina7658 2 роки тому

    This is very important to us ... I highly appreciate your service.

  • @StefanoAgrotis
    @StefanoAgrotis 3 роки тому +1

    This channel never misses with a video

  • @comictrio
    @comictrio 3 роки тому +1

    Great video. I'm looking forward to getting my own Pico and for your future Pico videos.

  • @francsahuc2121
    @francsahuc2121 2 роки тому

    I really appreciated your tutorial. Now going to build a model train with this for my grandson !

  • @TheBlues1961
    @TheBlues1961 3 роки тому

    Great demonstration of the pico. Thanks.

  • @ZookeeperJohnG
    @ZookeeperJohnG 2 роки тому

    So very well written and executed, THANK YOU!

  • @Paul-zt1lp
    @Paul-zt1lp 3 роки тому +14

    This came out the same time I unboxed my Pico, I would love to see a tutorial using Raspi Pi Compute Module 4

  • @BarackBananabama
    @BarackBananabama 3 роки тому +1

    Very efficient and easy to understand as usual!

  • @toniabg
    @toniabg Рік тому

    Have many thanks for your extremely helpful videos. I have learned a lot from you. Thanks again for your work.
    With kindest regards
    Toni

  • @paulramasco6769
    @paulramasco6769 2 роки тому

    I just got a bunch of Pico boards and this is a really great introduction.

  • @mariomarais5644
    @mariomarais5644 2 роки тому

    Thanks Bill! A great tutorial on the beloved Raspberry Pi Pico!