Raspberry Pi Pico - A Beginners Guide

Поделиться
HTML-код
  • Опубликовано: 6 июл 2024
  • Wow, the Raspberry Pi Foundation has been on a roll over the last year! What's their latest venture? A microcontroller! What's that, you ask? Well, lucky you! I'm about to tell you! Just sit back and watch this video and you'll never have any questions about microcontrollers and the Pi Pico ever again. Ever. Period. Maybe.
    Chapters:
    0:00 Introduction
    0:48 What Is The Pico?
    1:25 What Is A Microcontroller?
    2:08 Arduino vs Pico
    3:05 Booting the Pi Pico
    3:35 Installing Micropython
    4:16 Writing Our First Script
    5:31 The Blink Example
    _____________________________
    📲🔗🔗📲 IMPORTANT LINKS 📲🔗🔗📲
    ______________________
    Buy a Pi Pico - www.raspberrypi.org/products/...
    Getting started - www.raspberrypi.org/documenta...
    ____________________________
    💰💰💰💰 SUPPORT THE SHOW 💰💰💰💰
    ______________________
    www.tinkernut.com/donate
    ____________________________
    📢📢📢📢 Follow 📢📢📢📢
    ____________________________
    redd.it/5o3tp8
    / tinkernut_the_tinkernerd
    / tinkernut
    / tinkernut
    ‪@raspberrypi‬ ‪@JeffGeerling‬
    #raspberrypi #tinkernut #pico #micropython

Комментарии • 158

  • @TheSuitedEngineer
    @TheSuitedEngineer 3 года назад +42

    Glad you're back!

  • @dboyedoe
    @dboyedoe Год назад +37

    I just have to say, I'm incredibly impressed you're still kicking on this platform. I remember first finding your videos like 10-12 years ago and recently rediscovered your channel after buying a Pico.
    You're awesome, here's to another decade of engaging and applicable content!

  • @AshesOfEther
    @AshesOfEther 3 года назад +189

    Now we need a full single-board Arduino computer.

    • @Tinkernut
      @Tinkernut  3 года назад +57

      I refuse to sleep at night until this happens!!!

    • @narayanbandodker5482
      @narayanbandodker5482 3 года назад +8

      The "Latte Panda" is an SBC with integrated Arduino, which is the closest thing we have to an Arduino Computer

    • @saritarathod4623
      @saritarathod4623 3 года назад +3

      @@narayanbandodker5482 its expensive for a sbc

    • @AshesOfEther
      @AshesOfEther 3 года назад +1

      @@darktherapy I suggest you look that up.

    • @jamesschiffli9898
      @jamesschiffli9898 3 года назад

      it would be like $100 because the uno is like $20

  • @gga3053
    @gga3053 3 года назад +4

    Welcome back! Looking forward to this series!

  • @sunwukong6268
    @sunwukong6268 3 года назад +5

    Perfect timing my friend. I just received my first Pico, yesterday. And as I haven´t had the time to mess with it, yet...guess I am gonna start some nice music and start unpacking. I am really looking forward to your next videos. I am a total noob in this field and just start learning to tinker.
    Stay healthy

  • @imagimation3238
    @imagimation3238 3 года назад +9

    Programming Raspberry Pi with Raspberry Pi :D Glad to see you back too

  • @Emilymw154
    @Emilymw154 Год назад +1

    amazing finally someone who explains stuff the way I need! Thank you

  • @cheezeworm
    @cheezeworm 11 месяцев назад +1

    i was thinking of making a simple joystick and came across this video after hours of surfing the internet. well this video did a great job at showing how dead simple the pico is to get started and you might as well be a raspberry pi ambassador! now i'm gonna buy a pico to play around, cheers!

  • @johannes5000
    @johannes5000 2 года назад +1

    Dude you're amazing!! Thank you for making the "intro to pico" so enjoyable :D

  • @calabrais
    @calabrais Год назад +5

    Such a great video! Not only did you explain what the Pico is, you also gave example code to get started. Just subscribed 👍

  • @zille3000
    @zille3000 3 года назад +54

    Technically you can compile a C program for the ARM on the Raspberry Pi and let it boot into that ARM executable instead of the linux kernel. No boot time. That's called bare metal programming.
    The GPIO pinout has some special registers you can read and write to / from (ARM peripherals) - you can even use the GPU to output a framebuffer.

    • @no-ld3hz
      @no-ld3hz 2 года назад +3

      I love you for telling me this information

    • @sihilius
      @sihilius 2 года назад +1

      That sound a like a lot more fun and makes for a much better baseline for someone who learned µC programming in C on a STM32 Platform. Thanks for telling!

    • @ted_van_loon
      @ted_van_loon 2 года назад +1

      that is great indeed, however one thing that still is a draw back to me is that it still needs a micro sd card in it at all times, or is it possible to use some storage embedded in the arm chip(if there is) or to use a cheap EEProm chip like the 24C32 EEPROM instead of a micro sd card.
      another thing still somewhat bothersome is to find enough libraries to make the functionalities it has work properly without very much coding.

  • @kevindiamant415
    @kevindiamant415 3 года назад

    Super excited you're back!

  • @SpiritTerrarium
    @SpiritTerrarium 9 месяцев назад

    This really brought a whole lot of clarity on how to use the Raspberry Pi Pico! Thanks!

  • @TCreatorO
    @TCreatorO 3 года назад

    I had to turn on notifications for this channel, I havent seen you in my recommendations for literally years, I just had a projection mapping idea and remembered you made a video about it, so I looked it up and found it, double checked I was still subscribed and turned on notifications

  • @sharpblades117
    @sharpblades117 2 года назад +2

    Thanks for the very useful vid! Glad to see programming can be nice and affordable!

  • @thomaslidke2122
    @thomaslidke2122 3 года назад +3

    Yes! Love this content. I'm trying to find the best way to control LEDs. Pico might be the most cost effective.

  • @Solstice42
    @Solstice42 3 года назад +1

    keep up the projects - great pace and explainations

  • @yoshiyuki1732ify
    @yoshiyuki1732ify 2 года назад +1

    Hi, Interesting video! Is it possible to do real-time audio synthesis using Micro Python? or an RTOS might be required?

  • @stillrabit73
    @stillrabit73 3 года назад

    And when the world needed him most, he returned!

  • @jim_ryan
    @jim_ryan 3 года назад

    So glad to see you back

  • @thomasm1964
    @thomasm1964 2 года назад +1

    Beautifully clear and simple explanation. Thank you.
    The puns were truly awful. You should take pride in that fact.

  • @darktherapy
    @darktherapy 3 года назад +1

    If you have several py files on the pico, which does it run first? Or does it only run one file?

  • @Machiones
    @Machiones 3 года назад +1

    Hey I want to get this and program it to turn on lights in my bedroom as an alarm clock. Can this be done?
    More details: I have a simple digital switch that turns a multi bulb lamp, and a verilux happylight. Ideally I'd like to have the lights slowly increase in brightness instead of just switching on, I can't find any satisfactory products to achieve this. I was wondering if I could write a program and have some hardware accessories to accomplish this.

  • @AlyssaGeology
    @AlyssaGeology 25 дней назад

    I'm new to micropython and using a raspberry pi pico, this was very helpful. thanks!

  • @MaxMacZone
    @MaxMacZone 3 года назад +3

    Damn this channel is a throwback

    • @Tinkernut
      @Tinkernut  3 года назад +4

      I JUST WON'T GO AWAY! I'm so old...

  • @dieselboats7886
    @dieselboats7886 Год назад

    Great explanation and presentation - much appreciated. Subscribed.

  • @tseckwr3783
    @tseckwr3783 3 года назад

    Glad to see you back. Do more stuff....

  • @pembaman22
    @pembaman22 4 дня назад

    Thanks mate, very good!

  • @pulseweld
    @pulseweld 3 года назад

    THE INTRO WAS FANTASTIC.

  • @raisagorbachov
    @raisagorbachov 2 года назад

    Suppose you want to control servoes and a 3-wire motor? I'm guessing some resitors and transistors are needed so they can run off a different power supply. Would it be a case of just modifying pulse length to control each of them?

  • @acquabr1908
    @acquabr1908 5 месяцев назад +1

    Very good and easy to follow video. Thanks very much...

  • @skankhunt-ef3vw
    @skankhunt-ef3vw 2 года назад

    I love when you started blinking when you said "The blink example"

  • @yiannisserpico2646
    @yiannisserpico2646 3 года назад +7

    Heeey. Nice we see u again.

    • @Tinkernut
      @Tinkernut  3 года назад +1

      Nice to see you too!

  • @SJ-ty8gb
    @SJ-ty8gb 3 года назад +2

    Definitely something I will start learning about. Thanks for a very informative video. And at $4 what's to lose :-)

  • @SciencewithRishit
    @SciencewithRishit 3 года назад +2

    Please make more videos , i really like ur content

  • @romulosendoromulo
    @romulosendoromulo 2 года назад

    Nice video, thanks!

  • @AnonymousShaco
    @AnonymousShaco 3 года назад

    thanks, nice and informative

  • @JoeldaSilvaVicenteFilho
    @JoeldaSilvaVicenteFilho 3 года назад

    good to see you back man o/

  • @SciencewithRishit
    @SciencewithRishit 3 года назад +4

    Sir i was waiting for ur new video and here it is !!!!

  • @vickygreenday.4404
    @vickygreenday.4404 Год назад

    For the first time I some how get to know what is a Coding and Respberry Pi is thanks to you Mr...

  • @demitidodaaloja2
    @demitidodaaloja2 Год назад

    what software do i need to download, to use as an arcade stick, to play fighting games?

  • @burnsfamily1616
    @burnsfamily1616 10 месяцев назад

    Thanks!

  • @cognetic
    @cognetic 2 года назад

    What if you save more than one .py file? Does it run them in alphabetical order? Or can there only be one .py file?

  • @Onlyindianpj
    @Onlyindianpj 3 года назад +5

    Well as you are starting new videos
    Can see if this piece can be used as replacement of MCP23017
    It will have more GPIO and while doing this project you can teach a lot.
    Will be interesting

  • @ssilvers8963
    @ssilvers8963 3 года назад

    can you help me my audio on webcam not working on raspberry4 i just got this and learning how to use it...you have helped me alot with your videos im using guvcview on the pi

  • @JoshF151Tech
    @JoshF151Tech Год назад

    Can this run Pi-Hole in a Docker Container? I'm looking for something cheap to run Pi-Hole on because I don't wanna keep using my Windows Laptop for it.

  • @KowboyUSA
    @KowboyUSA 3 года назад

    He's back!

  • @prthviharishtc7295
    @prthviharishtc7295 3 года назад +5

    The Return of the King....

  • @craftxbox
    @craftxbox 3 года назад

    oh my god you're back!!

  • @raresoupninja
    @raresoupninja 4 месяца назад

    bro please do classes lol yur the most understandable mirco controller youtuber yet

  • @tristagoodspeed4200
    @tristagoodspeed4200 3 года назад

    Nice we see u again

  • @zibbezabba2491
    @zibbezabba2491 Год назад +1

    I received one in the post today in a flimsy plastic bag. The cheap plastic wrapping around the pico was half missing so it was half exposed (no protection from bumps or knocks) I've plugged it into 3 different machines but have had no indication of the device being recognised by any of the 3 machines. I'm wondering, do I have a broken one or am I missing something?

    • @digbick437
      @digbick437 11 месяцев назад

      I think you may need to install this like pi operations system before you plug it in I saw it on a guide (I’m not sure I haven’t used one)

  • @iam.jasonhoward
    @iam.jasonhoward 3 года назад

    OMG he’s back.

  • @kiransalan8179
    @kiransalan8179 Год назад

    hi, I am dragging and dropping uf2 file onto rp2 drive, it dispears but I can't find micro python from drop down in Thornny in Interpretor drop down in options. can you help?

  • @anonymous_boi
    @anonymous_boi 5 месяцев назад

    Hi, I just received my first Pico W and when I tried the blink program, it was not working. Any idea why?

  • @Androidzombie1
    @Androidzombie1 Год назад

    holy crap dude, i used to watch your videos all the time! I'm glad youtube recommended me your channel again after so many years. I missed you man. You were part of the reason I got into electronics.

  • @user-hb4de1jn6d
    @user-hb4de1jn6d 3 года назад

    Go on you are wonderful💝

  • @pfmoreir
    @pfmoreir Год назад

    It is good for blink. Try to use one I2C sensor for instance, there is no library at all? I tried to use one to max6675, it was impossible! There is no way to install Thonny in, Linux Mint.

  • @BrightleafRG
    @BrightleafRG 23 дня назад

    I just got a Pico, but when I dtag a file over the the pico, i get an error from Windows saying the device is not recognized right before it finishes copying the file. Have you ever seen or heard of this issue?

  • @dawidmatura3337
    @dawidmatura3337 Год назад

    Is there Raspbian OS being used? Can I not download any Linux distro and Pi will just normally work?

  • @tamasmurcsik5002
    @tamasmurcsik5002 5 месяцев назад

    At 4:27 I cannot select pico because i don't have that label with actual python version at the bottom right corner.

  • @danriegle9152
    @danriegle9152 2 года назад

    my only question is how do I know what command (format) to use. is there a library or some kind of script to use as a guide

  • @jugnu361
    @jugnu361 3 года назад

    How to debug using st link and swd pins

  • @chilson88
    @chilson88 2 года назад +3

    Do you think this could be used for a DIY smart blinds? Just to tilt the blades, not actually pulling the blinds up? This is something I really want to make but have absolutely no knowledge of micro controller world. Just fell into watching these videos after find out how amazing these little things are.

    • @ssavman
      @ssavman 2 года назад +1

      You could probably use it to control the power circuits that drive the very simple motors required for what you're thinking. Maybe simple limit switches also.... could also go stepper motors instead, but you'd probably still want a home position switch. Obviously you'd need a photo sensor

    • @Miheer.Dodhia
      @Miheer.Dodhia 2 года назад

      Hi, i think a Rasppberry pi (normal one not Pico) would be better as you will find it easier to network. MY first python project was to turn the blinds which I did with a raspberry pi: look for github user mithras44 -> Blinds . Was my first time writing it so the python code quality isn't great but should be enough info to get started.

  • @s.aravindh6227
    @s.aravindh6227 3 года назад +1

    Nice bro 😀😀

  • @ultralaggerREV1
    @ultralaggerREV1 5 месяцев назад

    Uhhh can you show how to do this through the Arduino IDE?

  • @tothangela3105
    @tothangela3105 3 года назад

    wait, does that mean it runs "microPython" on the go? you can initiate real python functions at runtime???

  • @x2uolx2uol63
    @x2uolx2uol63 Год назад

    Hi,
    Could you please give explanation step-by-step like a receipe…how to use a Pi Pico W to make an old printer wirelessly. I would greatly appreciate
    Thanks
    Lou

  • @nighthawkgaming1962
    @nighthawkgaming1962 Год назад

    does this only work when yr on a raspberry pi to program it cuz im trying but every tim i put the uf2 file on it just restarts and wipes its self clean

    • @h.b6463
      @h.b6463 9 месяцев назад

      Same... did you solve the problem?

  • @Squad2ND
    @Squad2ND 8 месяцев назад

    Blinking LED's give me serious hard-ons. I'm gonna order one right now.

  • @joeshmoe7899
    @joeshmoe7899 Год назад

    How run micropython Pico on 32bit Ubuntu machine?

  • @grimtagnbag
    @grimtagnbag 3 года назад

    add wifi then make it be a sensors for open doors and windows alarms?? Idk

  • @mango-xp2er
    @mango-xp2er 2 года назад +1

    Hi, I have a problem, when I place the uf2 file in the drive it closes so i think it is rebooting. But after nothing happens and I have been waiting for around 20 minutes.

    • @aaryapatnaik4555
      @aaryapatnaik4555 Год назад

      I have the same problem. Were you able to solve this?

    • @h.b6463
      @h.b6463 9 месяцев назад

      @@aaryapatnaik4555 same... did you solve the problem?

  • @christiancoding
    @christiancoding 3 года назад +1

    Interesting

  • @Tristan-5511
    @Tristan-5511 2 года назад

    When I connect it on windows it doesn't pop up in my file explorer

  • @jackbepo4603
    @jackbepo4603 2 года назад +1

    it doesn't let me import machine or utime

  • @MiraMesaVizArts
    @MiraMesaVizArts 7 месяцев назад +1

    For anyone following along using a Pico W, use "LED" where the script says 25. It will look like this: led_pin = machine.Pin("LED", machine.Pin.OUT)

  • @saritarathod4623
    @saritarathod4623 3 года назад +2

    3:27 why is that linux logo so sad?

  • @caribbeanchild
    @caribbeanchild Год назад

    Windows 7. Not working. After installing micro python to the board it reboots but then can't be found. This is a huge problem. I'm sure there are many people out there still using windows 7 as we do not need windows 10 and all it's spy ware.

  • @John-lw7bz
    @John-lw7bz 6 месяцев назад

    Mine works with these lines changed->
    From machine import Pin
    led_pin = Pin("LED", Pin.OUT)

  • @DonaldSleightholme
    @DonaldSleightholme 3 года назад

    if anyone has trouble getting the computer to detect the pico, it’s the cable.. i bought a new one.. it has to be one the does both power and data although most cables look identical 🙄😐

  • @IIIRotor
    @IIIRotor 2 года назад

    Now just wait for an Arduino sketch to micro python translater, I have a Solar tracker based on Arduino that I would like to try on this little gem

  • @brandonbrand2338
    @brandonbrand2338 2 года назад

    Great video, quite the joker, lol.

  • @goodBEan
    @goodBEan 3 года назад

    While you were gone I have been doing to Laura Kampf's youtube channel. Over there I have been trolling a bit and I invented a drinking game during her premieres and live streams.

  • @milanzuiderveld5189
    @milanzuiderveld5189 3 года назад

    Can you make another tutorial on how to make a Atari 2600 game?

  • @RAndrewNeal
    @RAndrewNeal 2 года назад

    So this one really is just an Arduino (of sorts) made by Raspberry Pi? My curiosity with it has been satiated.

  • @teapot401
    @teapot401 2 года назад

    0:22 Oh!

  • @nate6692
    @nate6692 Год назад

    Another awesome advantage of micropython is avoiding the most cryptic make system ever foisted upon the open source community.

  • @MartinsTalbergs
    @MartinsTalbergs 3 года назад

    Hay!!! Can you connect to wifi from this pico please? I know it may involve connecting some wifi antenna. Maybe even writing some drivers. How simple can it be to get this job done? Thanks in advance ;)

  • @dudesemidecent894
    @dudesemidecent894 2 года назад

    says "NameError: name 'mashine' isn't defined" please help

  • @justsjekabsons299
    @justsjekabsons299 Год назад

    That intro 😂😂

  • @turtleb01
    @turtleb01 3 года назад

    You can get ESP32 (a board with WiFi) for $4 with free shipping

  • @williamschmidt9184
    @williamschmidt9184 Год назад

    I'm new to this stuff and this might be dumb question. But I can code with a Chromebook

  • @user-qh9qs2nv9z
    @user-qh9qs2nv9z Год назад

    I don't find micropython (raspberry pi pico) in my thonny any help please

  • @DennisJDuran
    @DennisJDuran Год назад

    I thought he was gonna start rapping haha

  • @2b2t0
    @2b2t0 2 года назад

    my computer wont notice this through a USB connector :( please help

    • @methadone1140
      @methadone1140 2 года назад

      hold the button if that still doesnt work use a different connector

    • @aaryapatnaik4555
      @aaryapatnaik4555 Год назад

      It usually does this because of the type of cable - some cables strictly transfer power (most likely the one you have) and others transfer power and data.

  • @efan120wms7
    @efan120wms7 Год назад

    please help mine goes off

  • @devshekhawat7
    @devshekhawat7 3 года назад

    our tech grandpa is back.. I'm getting old 😓

  • @Sam-tg4ii
    @Sam-tg4ii Год назад +1

    5:56 seems like as of now, you should type "LED" instead of 25

  • @WilliamGenzer
    @WilliamGenzer 2 года назад

    Thank you for not making the music in your videos louder than your voice.