Raspberry Pi Pico - A Beginners Guide

  Переглядів 246,451

Tinkernut

Tinkernut

День тому

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 роки тому
Glad you're back!
@TobiasSN
@TobiasSN 3 роки тому
Now we need a full single-board Arduino computer.
@Tinkernut
@Tinkernut 3 роки тому
I refuse to sleep at night until this happens!!!
@narayanbandodker5482
@narayanbandodker5482 3 роки тому
The "Latte Panda" is an SBC with integrated Arduino, which is the closest thing we have to an Arduino Computer
@saritarathod4623
@saritarathod4623 3 роки тому
@@narayanbandodker5482 its expensive for a sbc
@TobiasSN
@TobiasSN 3 роки тому
@@darktherapy I suggest you look that up.
@jamesschiffli9898
@jamesschiffli9898 3 роки тому
it would be like $100 because the uno is like $20
@dboyedoe
@dboyedoe Рік тому
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!
@jjsjeffjjsjeff
@jjsjeffjjsjeff Рік тому
If you're seeing this video and are trying it with the wireless version Pin 25 doesn't work. The onboard LED is attached to the wireless chip. These should be the first two lines of the example if you want to operate the onboard LED with the wireless pico: import machine led = machine.Pin("LED", machine.Pin.OUT)
@GeofDumas
@GeofDumas Рік тому
Thank you!
@Mr_Reaper
@Mr_Reaper Місяць тому
Thank you - I had this problem
@sunwukong6268
@sunwukong6268 3 роки тому
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 роки тому
Programming Raspberry Pi with Raspberry Pi :D Glad to see you back too
@gga3053
@gga3053 3 роки тому
Welcome back! Looking forward to this series!
@zille3000
@zille3000 3 роки тому
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 роки тому
I love you for telling me this information
@sihilius
@sihilius 2 роки тому
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 Рік тому
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.
@Emilymw154
@Emilymw154 Рік тому
amazing finally someone who explains stuff the way I need! Thank you
@thomaslidke2122
@thomaslidke2122 3 роки тому
Yes! Love this content. I'm trying to find the best way to control LEDs. Pico might be the most cost effective.
@johannes5000
@johannes5000 2 роки тому
Dude you're amazing!! Thank you for making the "intro to pico" so enjoyable :D
@calabrais
@calabrais Рік тому
Such a great video! Not only did you explain what the Pico is, you also gave example code to get started. Just subscribed 👍
@sharpblades117
@sharpblades117 2 роки тому
Thanks for the very useful vid! Glad to see programming can be nice and affordable!
@cheezeworm
@cheezeworm 8 місяців тому
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!
@SpiritTerrarium
@SpiritTerrarium 7 місяців тому
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
@kevindiamant415
@kevindiamant415 3 роки тому
Super excited you're back!
@Solstice42
@Solstice42 3 роки тому
keep up the projects - great pace and explainations
@yiannisserpico2646
@yiannisserpico2646 3 роки тому
Heeey. Nice we see u again.
@Tinkernut
@Tinkernut 3 роки тому
Nice to see you too!
@thomasm1964
@thomasm1964 Рік тому
Beautifully clear and simple explanation. Thank you. The puns were truly awful. You should take pride in that fact.
@MaxMacZone
@MaxMacZone 3 роки тому
Damn this channel is a throwback
@Tinkernut
@Tinkernut 3 роки тому
I JUST WON'T GO AWAY! I'm so old...
@jim_ryan
@jim_ryan 3 роки тому
So glad to see you back
@stillrabit73
@stillrabit73 3 роки тому
And when the world needed him most, he returned!
@Onlyindianpj
@Onlyindianpj 3 роки тому
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
@darktherapy
@darktherapy 3 роки тому
If you have several py files on the pico, which does it run first? Or does it only run one file?
@pulseweld
@pulseweld 3 роки тому
THE INTRO WAS FANTASTIC.
@Machiones
@Machiones 3 роки тому
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.
@yoshiyuki1732ify
@yoshiyuki1732ify 2 роки тому
Hi, Interesting video! Is it possible to do real-time audio synthesis using Micro Python? or an RTOS might be required?
@tseckwr3783
@tseckwr3783 2 роки тому
Glad to see you back. Do more stuff....
@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?
@dieselboats7886
@dieselboats7886 Рік тому
Great explanation and presentation - much appreciated. Subscribed.
@skankhunt-ef3vw
@skankhunt-ef3vw 2 роки тому
I love when you started blinking when you said "The blink example"
@AnonymousShaco
@AnonymousShaco 2 роки тому
thanks, nice and informative
@SciencewithRishit
@SciencewithRishit 3 роки тому
Please make more videos , i really like ur content
@prthviharishtc7295
@prthviharishtc7295 3 роки тому
The Return of the King....
@JoeldaSilvaVicenteFilho
@JoeldaSilvaVicenteFilho 3 роки тому
good to see you back man o/
@acquabr1908
@acquabr1908 3 місяці тому
Very good and easy to follow video. Thanks very much...
@burnsfamily1616
@burnsfamily1616 8 місяців тому
Thanks!
@SciencewithRishit
@SciencewithRishit 3 роки тому
Sir i was waiting for ur new video and here it is !!!!
@SciencewithRishit
@SciencewithRishit 3 роки тому
:-)
@SJ-ty8gb
@SJ-ty8gb 3 роки тому
Definitely something I will start learning about. Thanks for a very informative video. And at $4 what's to lose :-)
@romulosendoromulo
@romulosendoromulo 2 роки тому
Nice video, thanks!
@vickygreenday.4404
@vickygreenday.4404 11 місяців тому
For the first time I some how get to know what is a Coding and Respberry Pi is thanks to you Mr...
@raresoupninja
@raresoupninja Місяць тому
bro please do classes lol yur the most understandable mirco controller youtuber yet
@cognetic
@cognetic Рік тому
What if you save more than one .py file? Does it run them in alphabetical order? Or can there only be one .py file?
@demitidodaaloja2
@demitidodaaloja2 Рік тому
what software do i need to download, to use as an arcade stick, to play fighting games?
@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.
@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?
@zibbezabba2491
@zibbezabba2491 Рік тому
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 9 місяців тому
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)
@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.
@MiraMesaVizArts
@MiraMesaVizArts 5 місяців тому
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)
@KowboyUSA
@KowboyUSA 3 роки тому
He's back!
@tristagoodspeed4200
@tristagoodspeed4200 3 роки тому
Nice we see u again
@tamasmurcsik5002
@tamasmurcsik5002 3 місяці тому
At 4:27 I cannot select pico because i don't have that label with actual python version at the bottom right corner.
@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
@dawidmatura3337
@dawidmatura3337 Рік тому
Is there Raspbian OS being used? Can I not download any Linux distro and Pi will just normally work?
@craftxbox
@craftxbox 3 роки тому
oh my god you're back!!
@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
@user-hb4de1jn6d
@user-hb4de1jn6d 3 роки тому
Go on you are wonderful💝
@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.
@chilson88
@chilson88 2 роки тому
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 роки тому
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.
@anonymous_boi
@anonymous_boi 3 місяці тому
Hi, I just received my first Pico W and when I tried the blink program, it was not working. Any idea why?
@jugnu361
@jugnu361 3 роки тому
How to debug using st link and swd pins
@s.aravindh6227
@s.aravindh6227 3 роки тому
Nice bro 😀😀
@iam.jasonhoward
@iam.jasonhoward 3 роки тому
OMG he’s back.
@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 7 місяців тому
Same... did you solve the problem?
@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
@tothangela9292
@tothangela9292 2 роки тому
wait, does that mean it runs "microPython" on the go? you can initiate real python functions at runtime???
@grimtagnbag
@grimtagnbag 3 роки тому
add wifi then make it be a sensors for open doors and windows alarms?? Idk
@ultralaggerREV1
@ultralaggerREV1 3 місяці тому
Uhhh can you show how to do this through the Arduino IDE?
@cursto9037
@cursto9037 Рік тому
When I connect it on windows it doesn't pop up in my file explorer
@nate6692
@nate6692 Рік тому
Another awesome advantage of micropython is avoiding the most cryptic make system ever foisted upon the open source community.
@jackbepo4603
@jackbepo4603 Рік тому
it doesn't let me import machine or utime
@saritarathod4623
@saritarathod4623 3 роки тому
3:27 why is that linux logo so sad?
@mango-xp2er
@mango-xp2er Рік тому
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 7 місяців тому
@@aaryapatnaik4555 same... did you solve the problem?
@Squad2ND
@Squad2ND 6 місяців тому
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?
@John-lw7bz
@John-lw7bz 4 місяці тому
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 🙄😐
@christiancoding
@christiancoding 3 роки тому
Interesting
@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
@notanthpect101
@notanthpect101 Рік тому
0:22 Oh!
@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.
@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.
@Sam-tg4ii
@Sam-tg4ii Рік тому
5:56 seems like as of now, you should type "LED" instead of 25
@nicolas_iglesias9111
@nicolas_iglesias9111 Рік тому
TYHAKTYO YU BVEERY MUCH
@williamschmidt9184
@williamschmidt9184 Рік тому
I'm new to this stuff and this might be dumb question. But I can code with a Chromebook
@TheCodingHat
@TheCodingHat Рік тому
depends
@justsjekabsons299
@justsjekabsons299 Рік тому
That intro 😂😂
@turtleb01
@turtleb01 3 роки тому
You can get ESP32 (a board with WiFi) for $4 with free shipping
@RAndrewNeal
@RAndrewNeal Рік тому
So this one really is just an Arduino (of sorts) made by Raspberry Pi? My curiosity with it has been satiated.
@dudesemidecent894
@dudesemidecent894 2 роки тому
says "NameError: name 'mashine' isn't defined" please help
@milanzuiderveld5189
@milanzuiderveld5189 3 роки тому
Can you make another tutorial on how to make a Atari 2600 game?
@user-qh9qs2nv9z
@user-qh9qs2nv9z Рік тому
I don't find micropython (raspberry pi pico) in my thonny any help please
@user-qh9qs2nv9z
@user-qh9qs2nv9z Рік тому
Never mind I get the answer
@duncanwalduck7715
@duncanwalduck7715 3 роки тому
You're winding us up with that 2×AA battery: Any fule know that's ≤ 3V. I thought you were going to show us a BBC MicroBit: but then, of course, Arduino IS the didactic micro-controller system par excellence //thus far. (and typically gets a 9V 'PP3' battery when 'off grid', to 5V internal.) Nice pace to the vid., nice reaction to the Blink sketch (6:51), so ...."underwhelming". [Blink ═» Signs of Life. End.]
@slowmosheet3367
@slowmosheet3367 2 роки тому
I thought CircuitPython was recommended for Picos
@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 ;)
@devshekhawat7
@devshekhawat7 3 роки тому
our tech grandpa is back.. I'm getting old 😓
@WilliamGenzer
@WilliamGenzer 2 роки тому
Thank you for not making the music in your videos louder than your voice.
@brandonbrand2338
@brandonbrand2338 Рік тому
Great video, quite the joker, lol.
@trevorbohlen3052
@trevorbohlen3052 Рік тому
What about Unix man
@user-nj2uu1tb8j
@user-nj2uu1tb8j 5 місяців тому
I use an Android device with an app called micro REPL.
@WiseguyMemes
@WiseguyMemes 8 місяців тому
import machine import utime led_pin = machine.Pin(25, machine.Pin.OUT) while True: led_pin.value(1) utime.sleep(3) led_pin.value(0) utime.sleep(3)
Arduino vs Pico - Which is the Best Microcontroller For You?
20:38
Gary Explains
Переглядів 277 тис.
The Raspberry Pi Pico WAS Overrated! But that changed!
10:18
GreatScott!
Переглядів 580 тис.
10 Minutes To Escape Or This Room Explodes!
10:00
MrBeast
Переглядів 64 млн
BRAWLER MUTATIONS WILL BREAK THE GAME! - Brawl Talk
09:34
Brawl Stars
Переглядів 25 млн
Raspberry Pi 4 Getting Started
24:54
Crosstalk Solutions
Переглядів 2,3 млн
Raspberry Pi Pico - Control the (I/O) World
1:03:16
DroneBot Workshop
Переглядів 597 тис.
Turning a Raspberry Pi Pico into a GPU!
16:42
element14 presents
Переглядів 98 тис.
3 HACKING gadgets you have to TRY!!
19:34
NetworkChuck
Переглядів 1,4 млн
I Can Save You Money! - Raspberry Pi Alternatives
15:04
Linus Tech Tips
Переглядів 3,2 млн
We should use this amazing mechanism that's inside a grasshopper leg
19:19
the Raspberry Pi 5
17:57
NetworkChuck
Переглядів 1 млн
LCD Basics for the Pi Pico
7:31
Tinkernut
Переглядів 106 тис.
10 Minutes To Escape Or This Room Explodes!
10:00
MrBeast
Переглядів 64 млн