Raspberry Pi Pico - A Beginners Guide

  Рет қаралды 260,967

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.raspberryp...
Getting started - www.raspberryp...
____________________________
💰💰💰💰 SUPPORT THE SHOW 💰💰💰💰
______________________
www.tinkernut....
____________________________
📢📢📢📢 Follow 📢📢📢📢
____________________________
redd.it/5o3tp8
/ tinkernut_the_tinkernerd
/ tinkernut
/ tinkernut
‪@raspberrypi‬ ‪@JeffGeerling‬
#raspberrypi #tinkernut #pico #micropython

Пікірлер: 160
@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!
@AshesOfEther
@AshesOfEther 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
@AshesOfEther
@AshesOfEther 3 жыл бұрын
@@darktherapy I suggest you look that up.
@jamesschiffli9898
@jamesschiffli9898 3 жыл бұрын
it would be like $100 because the uno is like $20
@TheSuitedEngineer
@TheSuitedEngineer 3 жыл бұрын
Glad you're back!
@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 2 жыл бұрын
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.
@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
@Fisheatpho
@Fisheatpho Ай бұрын
All I gotta say is wow. You made it so easy to understand for a true beginner. Thank you!!
@gga3053
@gga3053 3 жыл бұрын
Welcome back! Looking forward to this series!
@yiannisserpico2646
@yiannisserpico2646 3 жыл бұрын
Heeey. Nice we see u again.
@Tinkernut
@Tinkernut 3 жыл бұрын
Nice to see you too!
@cheezeworm
@cheezeworm Жыл бұрын
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!
@AlyssaGeology
@AlyssaGeology 2 ай бұрын
I'm new to micropython and using a raspberry pi pico, this was very helpful. thanks!
@Emilymw154
@Emilymw154 Жыл бұрын
amazing finally someone who explains stuff the way I need! Thank you
@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 👍
@acquabr1908
@acquabr1908 6 ай бұрын
Very good and easy to follow video. Thanks very much...
@MaxMacZone
@MaxMacZone 3 жыл бұрын
Damn this channel is a throwback
@Tinkernut
@Tinkernut 3 жыл бұрын
I JUST WON'T GO AWAY! I'm so old...
@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
@SciencewithRishit
@SciencewithRishit 3 жыл бұрын
Sir i was waiting for ur new video and here it is !!!!
@SciencewithRishit
@SciencewithRishit 3 жыл бұрын
:-)
@SpiritTerrarium
@SpiritTerrarium 10 ай бұрын
This really brought a whole lot of clarity on how to use the Raspberry Pi Pico! Thanks!
@johannes5000
@johannes5000 2 жыл бұрын
Dude you're amazing!! Thank you for making the "intro to pico" so enjoyable :D
@MiraMesaVizArts
@MiraMesaVizArts 8 ай бұрын
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)
@thomasm1964
@thomasm1964 2 жыл бұрын
Beautifully clear and simple explanation. Thank you. The puns were truly awful. You should take pride in that fact.
@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.
@stillrabit73
@stillrabit73 3 жыл бұрын
And when the world needed him most, he returned!
@kevindiamant415
@kevindiamant415 3 жыл бұрын
Super excited you're back!
@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.
@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...
@pembaman22
@pembaman22 Ай бұрын
Thanks mate, very good!
@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
@raresoupninja
@raresoupninja 5 ай бұрын
bro please do classes lol yur the most understandable mirco controller youtuber yet
@pulseweld
@pulseweld 3 жыл бұрын
THE INTRO WAS FANTASTIC.
@prthviharishtc7295
@prthviharishtc7295 3 жыл бұрын
The Return of the King....
@skankhunt-ef3vw
@skankhunt-ef3vw 2 жыл бұрын
I love when you started blinking when you said "The blink example"
@SciencewithRishit
@SciencewithRishit 3 жыл бұрын
Please make more videos , i really like ur content
@jim_ryan
@jim_ryan 3 жыл бұрын
So glad to see you back
@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.
@BrightleafRG
@BrightleafRG 2 ай бұрын
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?
@sharpblades117
@sharpblades117 2 жыл бұрын
Thanks for the very useful vid! Glad to see programming can be nice and affordable!
@darktherapy
@darktherapy 3 жыл бұрын
If you have several py files on the pico, which does it run first? Or does it only run one file?
@mango-xp2er
@mango-xp2er 2 жыл бұрын
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 2 жыл бұрын
I have the same problem. Were you able to solve this?
@h.b6463
@h.b6463 11 ай бұрын
@@aaryapatnaik4555 same... did you solve the problem?
@anonymous_boi
@anonymous_boi 6 ай бұрын
Hi, I just received my first Pico W and when I tried the blink program, it was not working. Any idea why?
@demitidodaaloja2
@demitidodaaloja2 Жыл бұрын
what software do i need to download, to use as an arcade stick, to play fighting games?
@burnsfamily1616
@burnsfamily1616 11 ай бұрын
Thanks!
@tamasmurcsik5002
@tamasmurcsik5002 6 ай бұрын
At 4:27 I cannot select pico because i don't have that label with actual python version at the bottom right corner.
@tseckwr3783
@tseckwr3783 3 жыл бұрын
Glad to see you back. Do more stuff....
@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 Жыл бұрын
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)
@Solstice42
@Solstice42 3 жыл бұрын
keep up the projects - great pace and explainations
@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.
@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 :-)
@Squad2ND
@Squad2ND 9 ай бұрын
Blinking LED's give me serious hard-ons. I'm gonna order one right now.
@jackbepo4603
@jackbepo4603 2 жыл бұрын
it doesn't let me import machine or utime
@dieselboats7886
@dieselboats7886 Жыл бұрын
Great explanation and presentation - much appreciated. Subscribed.
@pfmoreir
@pfmoreir 2 жыл бұрын
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.
@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
@KowboyUSA
@KowboyUSA 3 жыл бұрын
He's back!
@JoeldaSilvaVicenteFilho
@JoeldaSilvaVicenteFilho 3 жыл бұрын
good to see you back man o/
@tristagoodspeed4200
@tristagoodspeed4200 3 жыл бұрын
Nice we see u again
@nate6692
@nate6692 Жыл бұрын
Another awesome advantage of micropython is avoiding the most cryptic make system ever foisted upon the open source community.
@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?
@dawidmatura3337
@dawidmatura3337 Жыл бұрын
Is there Raspbian OS being used? Can I not download any Linux distro and Pi will just normally work?
@ultralaggerREV1
@ultralaggerREV1 6 ай бұрын
Uhhh can you show how to do this through the Arduino IDE?
@saritarathod4623
@saritarathod4623 3 жыл бұрын
3:27 why is that linux logo so sad?
@yoshiyuki1732ify
@yoshiyuki1732ify 2 жыл бұрын
Hi, Interesting video! Is it possible to do real-time audio synthesis using Micro Python? or an RTOS might be required?
@christiancoding
@christiancoding 3 жыл бұрын
Interesting
@John-lw7bz
@John-lw7bz 7 ай бұрын
Mine works with these lines changed-> From machine import Pin led_pin = Pin("LED", Pin.OUT)
@williamschmidt9184
@williamschmidt9184 Жыл бұрын
I'm new to this stuff and this might be dumb question. But I can code with a Chromebook
@TheCodingHat
@TheCodingHat Жыл бұрын
depends
@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 11 ай бұрын
Same... did you solve the problem?
@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.
@craftxbox
@craftxbox 3 жыл бұрын
oh my god you're 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?
@romulosendoromulo
@romulosendoromulo 2 жыл бұрын
Nice video, thanks!
@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
@s.aravindh6227
@s.aravindh6227 3 жыл бұрын
Nice bro 😀😀
@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
@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?
@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
@AnonymousShaco
@AnonymousShaco 3 жыл бұрын
thanks, nice and informative
@Tristan-5511
@Tristan-5511 2 жыл бұрын
When I connect it on windows it doesn't pop up in my file explorer
@iam.jasonhoward
@iam.jasonhoward 3 жыл бұрын
OMG he’s back.
@Androidzombie1
@Androidzombie1 2 жыл бұрын
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.
@joeshmoe7899
@joeshmoe7899 Жыл бұрын
How run micropython Pico on 32bit Ubuntu machine?
@teapot401
@teapot401 2 жыл бұрын
0:22 Oh!
@tothangela3105
@tothangela3105 3 жыл бұрын
wait, does that mean it runs "microPython" on the go? you can initiate real python functions at runtime???
@user-hb4de1jn6d
@user-hb4de1jn6d 3 жыл бұрын
Go on you are wonderful💝
@jugnu361
@jugnu361 3 жыл бұрын
How to debug using st link and swd pins
@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 🙄😐
@RAndrewNeal
@RAndrewNeal 2 жыл бұрын
So this one really is just an Arduino (of sorts) made by Raspberry Pi? My curiosity with it has been satiated.
@grimtagnbag
@grimtagnbag 3 жыл бұрын
add wifi then make it be a sensors for open doors and windows alarms?? Idk
@valiza123
@valiza123 3 жыл бұрын
third?
@turtleb01
@turtleb01 3 жыл бұрын
You can get ESP32 (a board with WiFi) for $4 with free shipping
@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.
@justsjekabsons299
@justsjekabsons299 Жыл бұрын
That intro 😂😂
@user-qh9qs2nv9z
@user-qh9qs2nv9z 2 жыл бұрын
I don't find micropython (raspberry pi pico) in my thonny any help please
@user-qh9qs2nv9z
@user-qh9qs2nv9z 2 жыл бұрын
Never mind I get the answer
@vighneshmallampally6627
@vighneshmallampally6627 3 жыл бұрын
Yay!! First to comment
@user-nj2uu1tb8j
@user-nj2uu1tb8j 9 ай бұрын
I use an Android device with an app called micro REPL.
@PeetHobby
@PeetHobby 2 жыл бұрын
Always learn C, that is what the world uses, C is just as easy to learn as any thing else you don't know jet. ;)
@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
@hitechhuckleberry3678
@hitechhuckleberry3678 Жыл бұрын
I appreciate your efforts very much but please for god sake we don't need micro python we need c/cpp.
@slowmosheet3367
@slowmosheet3367 2 жыл бұрын
I thought CircuitPython was recommended for Picos
@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.]
Raspberry Pi Pico
16:16
ExplainingComputers
Рет қаралды 307 М.
LCD Basics for the Pi Pico
7:31
Tinkernut
Рет қаралды 112 М.
A little girl was shy at her first ballet lesson #shorts
00:35
Fabiosa Animated
Рет қаралды 21 МЛН
Secret Experiment Toothpaste Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 42 МЛН
Parenting hacks and gadgets against mosquitoes 🦟👶
00:21
Let's GLOW!
Рет қаралды 11 МЛН
When Did Raspberry Pi become the villain?
21:54
Jeff Geerling
Рет қаралды 1,5 МЛН
I Can Save You Money! - Raspberry Pi Alternatives
15:04
Linus Tech Tips
Рет қаралды 3,3 МЛН
Try these 16 Brilliant ESP32 projects!!!
11:18
ToP Projects Compilation
Рет қаралды 564 М.
What's the difference? Arduino vs Raspberry Pi
6:21
Tinkernut
Рет қаралды 1,8 МЛН
Arduino vs Pico - Which is the Best Microcontroller For You?
20:38
Gary Explains
Рет қаралды 290 М.
I built my own computer. by hand.
13:03
jdh
Рет қаралды 1,2 МЛН
13 Stunning Raspberry Pi Projects for 2024!!!
10:23
ToP Projects Compilation
Рет қаралды 234 М.
A little girl was shy at her first ballet lesson #shorts
00:35
Fabiosa Animated
Рет қаралды 21 МЛН