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
Glad you're back!
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!
Now we need a full single-board Arduino computer.
I refuse to sleep at night until this happens!!!
The "Latte Panda" is an SBC with integrated Arduino, which is the closest thing we have to an Arduino Computer
@@narayanbandodker5482 its expensive for a sbc
@@darktherapy I suggest you look that up.
it would be like $100 because the uno is like $20
Welcome back! Looking forward to this series!
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
Programming Raspberry Pi with Raspberry Pi :D Glad to see you back too
amazing finally someone who explains stuff the way I need! Thank you
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!
Dude you're amazing!! Thank you for making the "intro to pico" so enjoyable :D
Such a great video! Not only did you explain what the Pico is, you also gave example code to get started. Just subscribed 👍
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.
I love you for telling me this information
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!
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.
Super excited you're back!
This really brought a whole lot of clarity on how to use the Raspberry Pi Pico! Thanks!
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
Thanks for the very useful vid! Glad to see programming can be nice and affordable!
Yes! Love this content. I'm trying to find the best way to control LEDs. Pico might be the most cost effective.
keep up the projects - great pace and explainations
Hi, Interesting video! Is it possible to do real-time audio synthesis using Micro Python? or an RTOS might be required?
And when the world needed him most, he returned!
So glad to see you back
Beautifully clear and simple explanation. Thank you.
The puns were truly awful. You should take pride in that fact.
If you have several py files on the pico, which does it run first? Or does it only run one file?
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.
I'm new to micropython and using a raspberry pi pico, this was very helpful. thanks!
Damn this channel is a throwback
I JUST WON'T GO AWAY! I'm so old...
Great explanation and presentation - much appreciated. Subscribed.
Glad to see you back. Do more stuff....
Thanks mate, very good!
THE INTRO WAS FANTASTIC.
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?
Very good and easy to follow video. Thanks very much...
I love when you started blinking when you said "The blink example"
Heeey. Nice we see u again.
Nice to see you too!
Definitely something I will start learning about. Thanks for a very informative video. And at $4 what's to lose :-)
Please make more videos , i really like ur content
Nice video, thanks!
thanks, nice and informative
good to see you back man o/
Sir i was waiting for ur new video and here it is !!!!
:-)
For the first time I some how get to know what is a Coding and Respberry Pi is thanks to you Mr...
what software do i need to download, to use as an arcade stick, to play fighting games?
Thanks!
What if you save more than one .py file? Does it run them in alphabetical order? Or can there only be one .py file?
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
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
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.
He's back!
The Return of the King....
oh my god you're back!!
bro please do classes lol yur the most understandable mirco controller youtuber yet
Nice we see u again
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?
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)
OMG he’s back.
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?
Hi, I just received my first Pico W and when I tried the blink program, it was not working. Any idea why?
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.
Go on you are wonderful💝
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.
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?
Is there Raspbian OS being used? Can I not download any Linux distro and Pi will just normally work?
At 4:27 I cannot select pico because i don't have that label with actual python version at the bottom right corner.
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
How to debug using st link and swd pins
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.
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
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.
Nice bro 😀😀
Uhhh can you show how to do this through the Arduino IDE?
wait, does that mean it runs "microPython" on the go? you can initiate real python functions at runtime???
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
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
Same... did you solve the problem?
Blinking LED's give me serious hard-ons. I'm gonna order one right now.
How run micropython Pico on 32bit Ubuntu machine?
add wifi then make it be a sensors for open doors and windows alarms?? Idk
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.
I have the same problem. Were you able to solve this?
@@aaryapatnaik4555 same... did you solve the problem?
Interesting
When I connect it on windows it doesn't pop up in my file explorer
it doesn't let me import machine or utime
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)
3:27 why is that linux logo so sad?
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.
Mine works with these lines changed->
From machine import Pin
led_pin = Pin("LED", Pin.OUT)
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 🙄😐
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
Great video, quite the joker, lol.
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.
Can you make another tutorial on how to make a Atari 2600 game?
So this one really is just an Arduino (of sorts) made by Raspberry Pi? My curiosity with it has been satiated.
0:22 Oh!
Another awesome advantage of micropython is avoiding the most cryptic make system ever foisted upon the open source community.
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 ;)
says "NameError: name 'mashine' isn't defined" please help
That intro 😂😂
You can get ESP32 (a board with WiFi) for $4 with free shipping
I'm new to this stuff and this might be dumb question. But I can code with a Chromebook
depends
I don't find micropython (raspberry pi pico) in my thonny any help please
Never mind I get the answer
I thought he was gonna start rapping haha
my computer wont notice this through a USB connector :( please help
hold the button if that still doesnt work use a different connector
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.
please help mine goes off
our tech grandpa is back.. I'm getting old 😓
5:56 seems like as of now, you should type "LED" instead of 25
TYHAKTYO YU BVEERY MUCH
Thank you for not making the music in your videos louder than your voice.