Raspberry Pi Pico - A Beginners Guide

  Рет қаралды 253,815

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

Пікірлер: 157
@TheSuitedEngineer
@TheSuitedEngineer 3 жыл бұрын
Glad you're back!
@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!
@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
@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!
@cheezeworm
@cheezeworm 10 ай бұрын
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!
@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.
@johannes5000
@johannes5000 2 жыл бұрын
Dude you're amazing!! Thank you for making the "intro to pico" so enjoyable :D
@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 👍
@sharpblades117
@sharpblades117 2 жыл бұрын
Thanks for the very useful vid! Glad to see programming can be nice and affordable!
@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
@AlyssaGeology
@AlyssaGeology 11 күн бұрын
I'm new to micropython and using a raspberry pi pico, this was very helpful. thanks!
@SpiritTerrarium
@SpiritTerrarium 9 ай бұрын
This really brought a whole lot of clarity on how to use the Raspberry Pi Pico! Thanks!
@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.
@kevindiamant415
@kevindiamant415 3 жыл бұрын
Super excited you're back!
@MaxMacZone
@MaxMacZone 3 жыл бұрын
Damn this channel is a throwback
@Tinkernut
@Tinkernut 3 жыл бұрын
I JUST WON'T GO AWAY! I'm so old...
@Solstice42
@Solstice42 3 жыл бұрын
keep up the projects - great pace and explainations
@thomasm1964
@thomasm1964 2 жыл бұрын
Beautifully clear and simple explanation. Thank you. The puns were truly awful. You should take pride in that fact.
@jim_ryan
@jim_ryan 3 жыл бұрын
So glad to see you back
@acquabr1908
@acquabr1908 4 ай бұрын
Very good and easy to follow video. Thanks very much...
@yiannisserpico2646
@yiannisserpico2646 3 жыл бұрын
Heeey. Nice we see u again.
@Tinkernut
@Tinkernut 3 жыл бұрын
Nice to see you too!
@dieselboats7886
@dieselboats7886 Жыл бұрын
Great explanation and presentation - much appreciated. Subscribed.
@stillrabit73
@stillrabit73 3 жыл бұрын
And when the world needed him most, he returned!
@AnonymousShaco
@AnonymousShaco 2 жыл бұрын
thanks, nice and informative
@SciencewithRishit
@SciencewithRishit 3 жыл бұрын
Sir i was waiting for ur new video and here it is !!!!
@SciencewithRishit
@SciencewithRishit 3 жыл бұрын
:-)
@yoshiyuki1732ify
@yoshiyuki1732ify 2 жыл бұрын
Hi, Interesting video! Is it possible to do real-time audio synthesis using Micro Python? or an RTOS might be required?
@romulosendoromulo
@romulosendoromulo 2 жыл бұрын
Nice video, thanks!
@tseckwr3783
@tseckwr3783 2 жыл бұрын
Glad to see you back. Do more stuff....
@pulseweld
@pulseweld 3 жыл бұрын
THE INTRO WAS FANTASTIC.
@raresoupninja
@raresoupninja 3 ай бұрын
bro please do classes lol yur the most understandable mirco controller youtuber yet
@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 :-)
@skankhunt-ef3vw
@skankhunt-ef3vw 2 жыл бұрын
I love when you started blinking when you said "The blink example"
@burnsfamily1616
@burnsfamily1616 10 ай бұрын
Thanks!
@JoeldaSilvaVicenteFilho
@JoeldaSilvaVicenteFilho 3 жыл бұрын
good to see you back man o/
@SciencewithRishit
@SciencewithRishit 3 жыл бұрын
Please make more videos , i really like ur content
@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...
@darktherapy
@darktherapy 3 жыл бұрын
If you have several py files on the pico, which does it run first? Or does it only run one file?
@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.
@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.
@user-hb4de1jn6d
@user-hb4de1jn6d 3 жыл бұрын
Go on you are wonderful💝
@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
@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?
@craftxbox
@craftxbox 3 жыл бұрын
oh my god you're back!!
@MiraMesaVizArts
@MiraMesaVizArts 6 ай бұрын
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)
@iam.jasonhoward
@iam.jasonhoward 3 жыл бұрын
OMG he’s back.
@KowboyUSA
@KowboyUSA 3 жыл бұрын
He's back!
@demitidodaaloja2
@demitidodaaloja2 Жыл бұрын
what software do i need to download, to use as an arcade stick, to play fighting games?
@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 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)
@tristagoodspeed4200
@tristagoodspeed4200 3 жыл бұрын
Nice we see u again
@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.
@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?
@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
@s.aravindh6227
@s.aravindh6227 3 жыл бұрын
Nice bro 😀😀
@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.
@Squad2ND
@Squad2ND 8 ай бұрын
Blinking LED's give me serious hard-ons. I'm gonna order one right now.
@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?
@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.
@BrightleafRG
@BrightleafRG 8 күн бұрын
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?
@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.
@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
@prthviharishtc7295
@prthviharishtc7295 3 жыл бұрын
The Return of the King....
@dawidmatura3337
@dawidmatura3337 Жыл бұрын
Is there Raspbian OS being used? Can I not download any Linux distro and Pi will just normally work?
@jugnu361
@jugnu361 3 жыл бұрын
How to debug using st link and swd pins
@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?
@nate6692
@nate6692 Жыл бұрын
Another awesome advantage of micropython is avoiding the most cryptic make system ever foisted upon the open source community.
@tothangela3105
@tothangela3105 3 жыл бұрын
wait, does that mean it runs "microPython" on the go? you can initiate real python functions at runtime???
@ultralaggerREV1
@ultralaggerREV1 5 ай бұрын
Uhhh can you show how to do this through the Arduino IDE?
@jackbepo4603
@jackbepo4603 2 жыл бұрын
it doesn't let me import machine or utime
@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 Жыл бұрын
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 жыл бұрын
Interesting
@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
@Tristan-5511
@Tristan-5511 2 жыл бұрын
When I connect it on windows it doesn't pop up in my file explorer
@joeshmoe7899
@joeshmoe7899 Жыл бұрын
How run micropython Pico on 32bit Ubuntu machine?
@saritarathod4623
@saritarathod4623 3 жыл бұрын
3:27 why is that linux logo so sad?
@grimtagnbag
@grimtagnbag 3 жыл бұрын
add wifi then make it be a sensors for open doors and windows alarms?? Idk
@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.
@williamschmidt9184
@williamschmidt9184 Жыл бұрын
I'm new to this stuff and this might be dumb question. But I can code with a Chromebook
@TheCodingHat
@TheCodingHat Жыл бұрын
depends
@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
@John-lw7bz
@John-lw7bz 6 ай бұрын
Mine works with these lines changed-> From machine import Pin led_pin = Pin("LED", Pin.OUT)
@RAndrewNeal
@RAndrewNeal Жыл бұрын
So this one really is just an Arduino (of sorts) made by Raspberry Pi? My curiosity with it has been satiated.
@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 🙄😐
@brandonbrand2338
@brandonbrand2338 2 жыл бұрын
Great video, quite the joker, lol.
@teapot401
@teapot401 2 жыл бұрын
0:22 Oh!
@milanzuiderveld5189
@milanzuiderveld5189 3 жыл бұрын
Can you make another tutorial on how to make a Atari 2600 game?
@dudesemidecent894
@dudesemidecent894 2 жыл бұрын
says "NameError: name 'mashine' isn't defined" please help
@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.
@turtleb01
@turtleb01 3 жыл бұрын
You can get ESP32 (a board with WiFi) for $4 with free shipping
@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
@DennisJDuran
@DennisJDuran Жыл бұрын
I thought he was gonna start rapping haha
@justsjekabsons299
@justsjekabsons299 Жыл бұрын
That intro 😂😂
@slowmosheet3367
@slowmosheet3367 2 жыл бұрын
I thought CircuitPython was recommended for Picos
@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
@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 11 ай бұрын
please help mine goes off
@trevorbohlen3052
@trevorbohlen3052 Жыл бұрын
What about Unix man
@WilliamGenzer
@WilliamGenzer 2 жыл бұрын
Thank you for not making the music in your videos louder than your voice.
@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.]
LCD Basics for the Pi Pico
7:31
Tinkernut
Рет қаралды 109 М.
Arduino vs Pico - Which is the Best Microcontroller For You?
20:38
Gary Explains
Рет қаралды 283 М.
СНЕЖКИ ЛЕТОМ?? #shorts
00:30
Паша Осадчий
Рет қаралды 7 МЛН
Василиса наняла личного массажиста 😂 #shorts
00:22
Денис Кукояка
Рет қаралды 8 МЛН
Homemade Professional Spy Trick To Unlock A Phone 🔍
00:55
Crafty Champions
Рет қаралды 53 МЛН
Program A Raspberry Pi In 7 Minutes
6:47
Tinkernut
Рет қаралды 203 М.
Raspberry Pi Pico - Control the (I/O) World
1:03:16
DroneBot Workshop
Рет қаралды 601 М.
Blink LED in C/C++ on the Raspberry Pi Pico [Linux SDK Setup]
8:36
Low Level Learning
Рет қаралды 40 М.
Raspberry Pi Pico
16:16
ExplainingComputers
Рет қаралды 303 М.
The new Raspberry Pi Pico W is just $6
7:56
Jeff Geerling
Рет қаралды 429 М.
I Can Save You Money! - Raspberry Pi Alternatives
15:04
Linus Tech Tips
Рет қаралды 3,2 МЛН
Raspberry Pi Pico W: Wireless Weather Station
17:13
ExplainingComputers
Рет қаралды 279 М.
The Raspberry Pi Pico WAS Overrated! But that changed!
10:18
GreatScott!
Рет қаралды 592 М.
10 Amazing R-pi Zero projects to try in 2023!
7:50
ToP Projects Compilation
Рет қаралды 231 М.
СНЕЖКИ ЛЕТОМ?? #shorts
00:30
Паша Осадчий
Рет қаралды 7 МЛН