The Raspberry Pi Pico WAS Overrated! But that changed!

  Переглядів 579,632

GreatScott!

GreatScott!

День тому

Free Altium Designer Trial: altium.com/yt/greatscott!
OctoPart: octopart.com/
Previous video: • Mechanical Switches a...
Arduino Alternative video series: • Arduino Alternatives
Facebook: / greatscottlab
Twitter: / greatscottlab
Instagram: / great.scott.lab
Support me for more videos: www.patreon.com/GreatScott?ty=h
You can get the Raspberry Pi Pico (W) here: (affiliate links)
Amazon.com: amzn.to/3P5HuTI
Amazon.de: amzn.to/3bS9Pib
In this video we will be having a closer look at the first microcontroller board from Raspberry Pi, the Raspberry Pi Pico. The board is 1.5 years old but back then I was convinced that it was overrated. But things changed and nowadays I think it is a good Arduino alternative. So let me show you how to use the board and what exactly happened that made me change my mind. Let's get started!
Websites which were shown/used in the video:
datasheets.raspberrypi.com/pi...
datasheets.raspberrypi.com/rp...
datasheets.raspberrypi.com/pi...
www.raspberrypi.com/documenta...
www.raspberrypi.com/documenta...
www.raspberrypi.com/documenta...
github.com/earlephilhower/ard...
arduino-pico.readthedocs.io/e...
github.com/khoih-prog/RPI_PIC...
www.arduinolibraries.info/arc...
www.instructables.com/Raspber...
www.instructables.com/Arbitra...
www.breatharian.eu/hw/picovga/...
forum.arduino.cc/t/libraries-...
Thanks to Altium for sponsoring this video.
0:00 Why I think the Pico was Overrated!
1:24 Intro
2:00 General Overview of the Pico
3:43 Good Parts of the Pico
6:55 One Bad Thing about the Pico
8:01 Truly Great Stuff about the Pico
9:35 Verdict

КОМЕНТАРІ: 853
@ste76539
@ste76539 Рік тому
"Back then" you completely missed the point of the Pico. It's a decently powerful board, not particularly special, BUT the price is the point. £3.00 for a powerful, easy to use microcontroller is big. Also, you were never limited to Micropython - there was a C/C++ sdk from day one. It completely blows the commonly used Arduino (Nano and Uno) out of the water. Andit only got better with Arduino IDE compatibility when that became available (something not available at first, but we knew it was coming from day one)
@Henry-sv3wv
@Henry-sv3wv Рік тому
plus there are two arduino support libs, official uses mbed os, inofficial based on pi c/c++ sdk (earlephilhower/arduino-pico), so depending what libs you want to prog against you have two choices
@BH4x0r
@BH4x0r Рік тому
i love the low price, but if i really need anything more powerful than a Nano i use a Teensy, the Teensy 4.1's power and speed just can't be beaten in the Arduino/MCU world, albeit it costs 8x more in my country
@uis246
@uis246 Рік тому
RP2040 price around 1$ or 0.8$ if in 250 pcs reel. Pretty cheap actually.
@misham6547
@misham6547 Рік тому
Yeah if anything it's the actual Arduino and clones which are overrated, with pico pi which is easier and esp32 which is more power both way cheaper than most of the clones
@BH4x0r
@BH4x0r Рік тому
@@misham6547 i'd say the other way around, i don't like Python and only really know C++ so it needs to be accessible through C++ for me, to me it doesn't matter wether that is in Arduino or a similar IDE, but in price/perf it shits on all Arduino and ESP32 variants, other than that Pi Pico with C++/Arduino code or Platformio is now the best option, unless you need power then it's the Teensy 4.1
@TimSavage-drummer
@TimSavage-drummer Рік тому
With the help of a second pico (with picoprobe installed) you can also add breakpoints and step through your running code. A big help for debugging more complex code.
@greatscottlab
@greatscottlab Рік тому
Thanks for the tip :-)
@jonnypista52
@jonnypista52 Рік тому
I should had done that instead using a million print and sleeps so I have time to read the prints and follow the code.
@jonnypista52
@jonnypista52 Рік тому
@@marc-andreservant201 I don't have a Raspberry computer and being in stock was not a problem, but I'm not paying over 100 euro for a Zero (at least it was that price when I needed it), the 4 started near 200 euro
@dozog
@dozog Рік тому
THAT... I would love to know more about. Debugging is by far the most time consuming problem on any of my code.
@dozog
@dozog Рік тому
@@TimSavage-drummer saw your unedited comment yesterday.. thanks for editing it. I m going to have a look.
@adamsfusion
@adamsfusion Рік тому
I wouldn't sleep on the RP2040 C/C++ library and included CMake plugins. It's seriously well made and the documentation is a good read. Beyond that, I've yet to see anything in the affordable range that comes close to matching the power of the PIOs. I've been able to take complex timing interfaces I've done in the past on Blue Pills and convert them into PIO only programs. Those 9 instructions are insanely expressive and make it possible to implement something like QSPI in just a handful of operations. The RP2040 is my favorite microcontroller to come out of this decade and it's going to be a tough match to beat.
@LittleRainGames
@LittleRainGames Рік тому
I agree. The price and PIO are a game changer.
@LittleRainGames
@LittleRainGames Рік тому
With Visual GDB it makes it so easy to use as well.
@Alacritous
@Alacritous Рік тому
@@LittleRainGames I remember when it came out, people were saying it has no power and it's pretty useless. They didn't know.
@alexforget
@alexforget Рік тому
Do you think it would be possible to make quadrature encoder interface with PIO?
@Henry-sv3wv
@Henry-sv3wv Рік тому
there is an inofficial arduino version based on the c/c++ pi sdk
@fmdj
@fmdj Рік тому
For development it's also worth considering platform IO with vs code to program it in C++ directly and get something less hackish than the Arduino compatibility layer.
@Samuel-eu1ts
@Samuel-eu1ts Рік тому
Honestly compared to other vendors, the rp2040/pico C++ sdk is awesome, the documentation amazing and really easy to understand, I would say it's no less complicated than seting up platformio And the fact that the rp2040 is in stock is a major advantage
@darkfire2703
@darkfire2703 Рік тому
Documentation is really good on the rp2040. Especially compare to the horrible docs that almost all other manufacturers provide
@NinjaSpotted
@NinjaSpotted Рік тому
I agree the Pico C/C++ SDK is amazing and easy to use
@talk2azs
@talk2azs Рік тому
Yes the c++ SDK is great, and by far so much faster. Setting up the c++ user studio is not recommended for newbies though. All I know is that I will NEVER go back to Micropython. Lol
@StephenHoldaway
@StephenHoldaway Рік тому
Yes! Came here to say this too. It's a very clear, clean API, and doesn't rely on cumbersome vendor tools. Compared to the STM32 HAL it's an absolute dream to work with.
@savejeff15
@savejeff15 Рік тому
Yeah but cmake. The SDK is good but platformjo with Arduino-pico core is in my opinion the best solution
@vaughnvarma8447
@vaughnvarma8447 Рік тому
One important thing to know when using the Arduino IDE with the Pico, is that, to my knowledge, it *doesn't* leverage the RP2040's fast floating point library (at least it didn't when I started playing around with it earlier this year). This is fine for many applications, and it's still way faster than a typical arduino, but switching to the C SDK does make those operations much, much faster. I tested this by running the same code, with a ton of floating point operations, compiled and uploaded via Arduino IDE, and via cmake/manual copy/paste, and IIRC it increased the cycles per second (running my entire program, not CPU cycles or FLOPS or anything) from something like 20-80k to 300k. Not a very comprehensive test, but it noticeably smoothed out the stepper motor movement I also had running in that loop, and made the Pico exceptional for my application, rather than acceptable.
@Oinikis
@Oinikis Рік тому
The first advantage I see with this over arduino is for various DIY flight controllers due to greater speed. I made a gyro stabilized active control for a rocket, and it had operating frequency of over 200Hz, with greater speed and memory, better flight control and less gyro drift should be achieved.
@deadboy9955
@deadboy9955 Рік тому
I was thinking about the flight controller benefits as well, because pico has 12 bit resolution. But seeing how noise can be an issue, I think it may cause some problems with accuracy.
@amansaxena5898
@amansaxena5898 Рік тому
The only disadvantage for me, with RP2040/Pico is the lack of an Ultra Low Power Domain, which results in a very lacking sleep functionality, and thus is unusable for battery powered projects, like sensor nodes
@MariusHeier1
@MariusHeier1 Рік тому
The most impressive things with the Pico was that it existed. For the past years the other products have not existed. And that Pi foundation still did not charge a premium for it because the other companies messed up their manufacturing.
@ChaonicMew
@ChaonicMew 5 місяців тому
Hah, didn't think I'd see you here in the wild! :D
@MariusHeier1
@MariusHeier1 5 місяців тому
@@ChaonicMew Sometimes I just cant shut up. Haha .. or .. yeah... You get it
@petrkucera3514
@petrkucera3514 Рік тому
If you want to measure ripple or transient, noise and amplitude when signal shape accuracy is important, you have to use spring on ground ring to make ground loop so small as possible. In 7:14 is typical example, how to not measure noise and ripple on SMPS supplies. When i did this last time, i catch 10× more higher values than reality was. Yeah, im sure that some noise will pass thru that tiny SMPS supply on board, but, are you sure, that this noise doesnt come from USB?
@KarlMiller
@KarlMiller Рік тому
Excellent job! Even I followed, so you did a great job of breaking down the Pico using the other MCUs as the comparison. That is a great strategy for sharing the relative benefits/drawback for new tech because it draws on something that many of us are already familiar. I'd be curious to know if the wifi Pico has the same power conditioning issue feeding the ADC (great job explaining that issue). I found myself thinking that almost every sentence you uttered would represent about a day worth of my time googling or reading to come to the same conclusion as you.
@fordrollhaus9086
@fordrollhaus9086 Рік тому
I mean I think one of the main advantages is the price. Getting a powerful, multi core microcontroller for $4, or $6 with wifi, is insane.
@seanocansey2956
@seanocansey2956 Рік тому
And also the fact it's actually procurable during the silicon -shortage- apocalypse
@kosmasraptis8374
@kosmasraptis8374 8 місяців тому
The wireless chip also supports Bluetooth, and with the new Pico SDK it's actually enabled in the drivers, so you also have Bluetooth LE now.
@henryshirlyshibindcruz6830
@henryshirlyshibindcruz6830 Рік тому
Thank you so much for sharing... I too was having the same noise problem but didn't know what to do.. I was using pico as a HID device for a joystick project...
@abhijeet_ghosh
@abhijeet_ghosh 2 місяці тому
Thank you so much for putting in the GPIO 23 command for this! I could not for the life of me figure out why the pi pico’s ADC was so bad, and after I ran this command the ADC is as accurate as I need!
@WistrelChianti
@WistrelChianti Рік тому
Wow the dual core code looks so much simpler than earlier stuff I looked at! Thanks for the update. Still not used mine yet but have an idea in mind driven by the available storage
@ilyam.1872
@ilyam.1872 Рік тому
As always, thank you very much for writing and cleaning subtitles.
@veisystems267
@veisystems267 Рік тому
LOL @ 9:38 "... I think that the Pico truly became a good alternative over time...". Up to that point in the video, the Pico didn't change, but rather your knowledge and opinion if it changed. ;)
@lovemadeinjapan
@lovemadeinjapan 2 місяці тому
Software changed a lot though. First months programming the Pico was horrible and let to killing a few with a hammer. Poor Picos.
@bheeshmavasuprasad
@bheeshmavasuprasad Рік тому
Thank you, I've wanted to buy one but wasn't sure if it was powerful enough and yes, micropython. I'm definitely reconsidering
@greatscottlab
@greatscottlab Рік тому
Glad I could help!
@zeberto1986
@zeberto1986 Рік тому
To be fair the pico / rp2040 is firmware agnostic meaning you dont have to stick with micopython. Arduino support has been official for a while now and there is a lot of documentation for c/c++ and circuitpython too. Its worth reconsidering.
@David-fh6rr
@David-fh6rr Рік тому
There's also a Rust HAL for the rp2040!
@ffff-gx7tn
@ffff-gx7tn Рік тому
As someone with very little programming knowledge, I was put off using it as I was more familiar with Arduino, but even I was able to make a simple PIO assembly program to blink the LED in a few minutes with micropython. The advantage of micropython (or circuitpython) is that they create a filesystem, so you can have multiple programs on the Pico (the one named main.py or boot.py starts on reset) which is great for breadboard prototyping, you don't need to reflash every time and you store the libraries you need on the Pico as well.
@MorRobots
@MorRobots Рік тому
Check out the Teensy boards. I can't praise these things enough for how good they are while still being a micro. I have absolutely no affiliation with PJRC.
@acestudioscouk-Ace-G0ACE
@acestudioscouk-Ace-G0ACE 11 місяців тому
I always learn something when I come to your channel, thanks!
@deltaray3
@deltaray3 Рік тому
Great to see your new intro and hear you do the old outro "and I'll see you NEXT TIME". Haven't heard that one in a while.
@amydamon2323
@amydamon2323 Рік тому
Thanks for this update. I wouldn't touch it when Python was the only option, but after watching your video I''ll have to try one out now.
@davidpetry7853
@davidpetry7853 Рік тому
You can also program it in C / C++. The documentation is really good
@andrewlankford9634
@andrewlankford9634 Рік тому
Prefer it, but why don't they explain the command line commands used to compile and link up an executable image rather than relying on the cmake garbage?
@keiyakins
@keiyakins Рік тому
@@andrewlankford9634 because C is a terrible language with terrible compilers that need to be coddled just so to work right, and humans basically can't use them directly.
@my3dprintedlife
@my3dprintedlife Рік тому
This is all good news! I'm still a novice with my Arduino so I'm happy to hear the pico can be programmed similarly to the Arduino. Thank you!
@electronics.unmessed
@electronics.unmessed Рік тому
Many thanks for the comprehensive review and comparison. Really a valuable when tinkering with this kind of boards.
@empty9360
@empty9360 Рік тому
I had tow laying around for more than a year but I used them both in the last two days and now I am in love with a new Microcontroller :D
@avejst
@avejst Рік тому
Great video as always 👍 Thanks for sharing your expirences with All of us 👍😃
@Thats_Mr_Random_Person_to_you
@Thats_Mr_Random_Person_to_you Рік тому
I do genuinely believe the PIO's are THE single biggest benefit to a pico that really does put it into a different class and can really really add additional features that blow the arduino/esp boards out the water. Your VGA example I think proves that.... but kinda as you point out, PIO is a very advanced feature that the average hobbyist is unlikely to fully benefit from. But given how commercial customers can now buy RP2040 chips standalone to integrate into things I think it bodes well for the 2040 ecosystem as a whole.
@xenoxaos1
@xenoxaos1 Рік тому
The Beaglebone had something similar to the PIO on a SBC way back in the day.
@user-fm7uq4fb3f
@user-fm7uq4fb3f Рік тому
PIO also allows easy and cheap access to communications that previously required someone to know how to use an FPGA It's incredibly useful for hacking and modding of things 😋
@Thats_Mr_Random_Person_to_you
@Thats_Mr_Random_Person_to_you Рік тому
@@xenoxaos1 its definitely not a 'new' thing for sure, more that for the price point of the RP2040 its really targeting other microcontrollers and SBC's are a different market segment etc.. Its nothing new, more just new in the 'lower performance' end of the microcontroller market (lower performance is a relative term you know what I mean, I know its a very powerful chip, but we have to grade things somehow!) Meaning compared to its direct competition PIO is the most impactful and can mean, depending on sustem requirements, it wipes the floor in terms of which people would choose.
@blacklion79
@blacklion79 Рік тому
A friend of mine tried to buy several hundreds of RP2040 as commercial customer - no luck. Waiting time is indefinite.
@djmips
@djmips Рік тому
" PIO is a very advanced feature that the average hobbyist is unlikely to fully benefit from." - why No! First of all you underestimate the average hobbyist and second of all, as more people who do want to design PIO routines they will share them with everyone else. This is not unlike how the average hobbyist makes their own keyboard controller with Arduino - someone already does the heavy lifting and they just have to tweak and craft the connections etc.
@r1273m
@r1273m Рік тому
Great video. When it was first released I was very underwhelmed due to the lack of WiFi. I decided to stay with my WEMOS devices. Now I may have to take a look at the Pico.
@greatscottlab
@greatscottlab Рік тому
Yep. Really looking forward that WiFi gets integrated in the Arduino IDE and then everything is possible :-)
@Gamezone-sd3er
@Gamezone-sd3er Рік тому
Wow something that I wanted for my projects 😁 and I think sir you should build an oscilloscope with this for us as a project kit it would be very helpful for learning more complicated projects 😁. As always thank u 🙂 for such a detail video
@pseudo_goose
@pseudo_goose Рік тому
The PIO is easily the best feature of the RP2040 in my opinion, and I hope the concept sticks around for a while and gets adopted by other chip designers. It is incredibly useful to have those separate execution contexts where you can control GPIO with very precise timing without sacrificing time on the main thread. The other day I discovered that someone has written a PIO program for USB FS signaling, and demoed it as both a host and device... Simply incredible
@rbus
@rbus 7 місяців тому
I was impressed with the RP2040 right at the start because of the programmable IO which would lead to some amazing projects, notably driving HDMI monitors, audio applications using optical S/PDIF or ADAT, or other applications that would normally need an FPGA.
@vincentocampo5901
@vincentocampo5901 Рік тому
Always a good great Explanation 👌
@obwanda9113
@obwanda9113 Рік тому
I like your videos, very detailed. I just saw your video about a DIY Oscilloscope. I also saw a simple plug-and-play Oscilloscope project with the Pico using a Smartphone as a display elsewhere. I wonder if it's possible to have the cheap Oscilloscope DIY revisited using Raspberry PI Pico but with the capability of measuring High Voltages with the ZMPT101B voltage sensor module and the SCT013 current sensor clamps for High Current. It should be interesting.
@easyelectronics4364
@easyelectronics4364 Рік тому
Can you make videos on protocol/peripheral driver implementations using polling, interrupts and dma. This can be your new series😊😊. Love your videos ❤️
@greatscottlab
@greatscottlab Рік тому
Maybe a bit too complicated for me. But I will see what I can do :-)
@easyelectronics4364
@easyelectronics4364 Рік тому
@@greatscottlab Sir i have learnt a lot from you and nothing is complicated for you that's what i know😅...
@IamTheHolypumpkin
@IamTheHolypumpkin Рік тому
The Pico is basically my ToGo Micropython/Circuitpython board. The large flash and the high clockspeed are great for an interpreted language. But for C++ I generally choose AVR or SamD chips.
@Adam-zf3bv
@Adam-zf3bv Рік тому
I have to thank raspberry pi foundation for providing such useful resources around the RP2040 allowing me to make a clone of the pico with some nice to have changes like a linear regulator so there is no switching noise, top side GPIO labels and a reset button.
@Dante-420
@Dante-420 7 місяців тому
9 instructions?! That's 8 more than I need!
@siddiqjr4660
@siddiqjr4660 Рік тому
thank you for explaining it . now its approachable if we can programme it with Arduino IDE
@ctonew6155
@ctonew6155 5 місяців тому
That was a good idea of soldering connectors on a solder-less lboard to get pins oriented correctly. I also moved away from Arduino IDE and have never looked back. Phyton with Thony is so much easier to program and understand.
@bakupcpu
@bakupcpu Рік тому
Very nice little board indeed! Thanks for sharing it with us. Cheers!
@trainspotting_and_tech2023
@trainspotting_and_tech2023 Рік тому
Thank you! Very informative! I think that there is no „the best board/microcontroller”! Each one has its own utility in certain areas! 🤔
@RoyalTech_2024
@RoyalTech_2024 Рік тому
Hi, GreatScott, good video. I have followed your steps to program Raspberry pi pico using Arduino IDE. The blank sketch also got uploaded successfully without selecting the port(Had to press and hold the boot select button when connecting to the PC, which you have not mentioned in your video). The problem is when I removed raspberry pi pico after the blank sketch upload and reconnect(Without pressing the boot select) it to the PC the PC shows the device as 'Arduino Pico' but can't create a COM Port, seems like the driver is not installed. Thus I can't select the port in arduino ide for the second upload and can't upload the sketch. Do I have to install any drivers for windows 8.1 for the pico to get recognized? Please help...
@tylersingleton7992
@tylersingleton7992 Рік тому
i've been watching you for years, your videos are way better than they used to be
@pieterpretorius1014
@pieterpretorius1014 Рік тому
how well does the pico play with stepper motors? i'm building a project that allows manual control of a stepper motor to eventually move a Ferris wheel style attachment and need a more compact setup than using an arduino mega. control input is given using a 12 button keypad to enter the amount of steps the motor should move. i'm also using a nema 17 style stepper
@ElectroBidouilleur
@ElectroBidouilleur Рік тому
The only thing lacking on the Pico is a set of 8/16 bit hardware timers that can be incremented with external or internal signals. Most other microcontrollers have that built-in.
@Stabby666
@Stabby666 Рік тому
You can do that with the PIOs.
@rubenjuanjuan7494
@rubenjuanjuan7494 Рік тому
Did you do nay evaluation to the Pico plus WiFi board? Looking forward to it.
@koushikb8128
@koushikb8128 Рік тому
The teasing of inevitable in the ending is awesome mate More Pico powered power electronics stuff yaaayyyyy !!!!!🤩
@RRKS_TF
@RRKS_TF Рік тому
Something interesting that I learnt about the compatibility layer is that C/C++ sdk functions are still directly accessible which was useful for my current project.
@Henry-sv3wv
@Henry-sv3wv Рік тому
yes, that is inofficial arduino support lib earlephilhower/arduino-pico the *alternative* 'official' arduino lib comes with mbed os (so not the pi sdk)
@RRKS_TF
@RRKS_TF Рік тому
@@Henry-sv3wv yeah, initially I was using mbed but had to change to earle's version and I definately prefer it.
@mikolaj8776
@mikolaj8776 Рік тому
Is there an option to protect your code? Like fusebits in Arduino? I haven't found any. Have you found any way to protect your projects?
@xani666
@xani666 Рік тому
2040 is really the place where you see a ton of benefits getting away from just arduino code, it has a lot of cool stuff that you kinda need to get low level to use well
@Nightsd01
@Nightsd01 Рік тому
I greatly prefer the ESP32. It’s also dual core, can support more RAM/storage, Even with completely custom designed ESP32 PCB boards that I build, it’s very easy to use them with the Arduino IDE, though for bigger projects I usually use ESP’s integrated development extension for VS code, it’s way more flexible than Arduino IDE.
@ssm445
@ssm445 Рік тому
I second that. The ESP32 is a great microcontroller, easily tops the Pico in terms of memory and cpu speed, and includes Wifi and Bluetooth (in the Wroom32 package). It's a bit more expensive, but it's only 2 bucks. VScode is great, but I am now using IntelliJ IDE. Both IDEs are several generations ahead of the Arduino IDE and are much more productive.
@jrioublanc
@jrioublanc Рік тому
Good point to show back compatibility with legacy projects. Danke.
@PovlKvols
@PovlKvols Рік тому
Wow - that looks like a pretty amazing board! Thank you for sharing!
@daveb7999
@daveb7999 Рік тому
No Pico, so far, but did get the Arduino Nano RP2040 Connect with at least a taste of Pico Pi, along with all sorts of onboard gizmos. Thank You for the Pico update! Now, back to the Esp32 LoRa boards ... I just never realized how catching this MCU bug was going to be ...
@Zed_Oud
@Zed_Oud Рік тому
The chip, the RP2040, is $1. We plan on using 5+ on a board that has tons of I/O because it’s cheaper than an I/O expansion IC and it’s reliably available.
@adamrak7560
@adamrak7560 Рік тому
wow, a uC is cheaper than an I/O expansion IC :D That is quite backwards!
@crestdazoltral7705
@crestdazoltral7705 Рік тому
How do you bootstrap and clock them? Do you throw a tiny SPI flash at each one of them or does some other MCU bootstrap them one at a time by emulating a compatible SPI flash? Are you running a 12MHz clock signal to each of them as required for the BootROM's USB bootloader or is the terrible internal RC clock after some tuning good enough for your application?
@vitalyl1327
@vitalyl1327 Рік тому
Why not a small FPGA (e.g., ice40)?
@Zed_Oud
@Zed_Oud Рік тому
@@vitalyl1327 There’s almost no supply for FPGAs and they are more expensive. And some of the same benefits of an FPGA can be replicated with the PIO feature of the RP2040 if needed. The different ICE40 ICs are $4-7 in bulk and a are out of stock or have less than a few K units available. A RP2040 is $1 without bulk ordering and 100K or more are available at any time. The big thing is that with how easy it is to program (and the documentation and community support), how cheap they are, how versatile they are, we might as well use RP2040s to replace all of our ICs.
@vitalyl1327
@vitalyl1327 Рік тому
@@Zed_Oud yes, forgot about the availability issue. Sitting on a stash of ice40s, so did not refill it for a while... There are small ice40 1k parts that are reasonably cheap (3-4£). Yes, PIOs are flexible, but still nowhere near as flexible as FPGAs for bit banging, so for me it is always a default choice.
@SGRAHMD
@SGRAHMD Рік тому
Thanks for making amazing videos for us. 🇧🇩
@dozog
@dozog Рік тому
I haven't looked through the comments yet.. but on some uc's you can select the ADC reference voltage (to a DC voltage on a reference pin). If you need less noise, you could create a reference off your DC supply. or even use an external voltage reference chip. Still an odd choice to use switched power supply on board. In linear voltage regulators the efficiency is usually a function of the voltage difference between input an output terminal. So you should ideally not power your uc with a 12V DC power supply.
@addaemichael4683
@addaemichael4683 Рік тому
Thanks for your tutorial. I see videos using the Pico to do electric drum. But have not seen some which is a standalone with display. Can you make one?
@anshulsingh8326
@anshulsingh8326 8 місяців тому
I have coding knowledge. But I don't have much electronics knowledge. Never used Arduino or Raspberry pi. But I want to get into it for some fun projects I have in mind. Any suggestions and tips how I should get started?
@SimonEllwood
@SimonEllwood Рік тому
I was confused by the first few minutes where you said you had to use python when there is no such restriction. It then became clear that it was not compatible with the Arduino IDE then the video made sense. Good video.
@arshiajalali3622
@arshiajalali3622 Рік тому
Awesome Video! I loved it! For your next Arduino Alternative Video (Which will now probably be in a millennia since you just did one), can you try out the Seeduino Xiao Boards? Thanks!
@greatscottlab
@greatscottlab Рік тому
I can put it on my to do list
@arshiajalali3622
@arshiajalali3622 Рік тому
@@greatscottlab Thanks
@edgeeffect
@edgeeffect Рік тому
The Arduino IDE was the first things that started my move away from the Arduino "ecosystem".
@humphet3750
@humphet3750 Рік тому
For sure its crappiest IDE ever (from modern ones)
@JGnLAU8OAWF6
@JGnLAU8OAWF6 Рік тому
Even calling it an "IDE" is too much IMO
@ScibbieGames
@ScibbieGames Рік тому
Currently some people are also looking into hacking the wifi hardware as it's firmware is uploaded by the pico bootloader from RAM, and because it's an ARM Cortex M3; could be converted into a number of smart peripherals for an extra boost in processing power.
@Davedarko
@Davedarko Рік тому
So the fuzz about the ADC is _not_ coming from the power conversion. I read that thread where somebody did a histogram of measured values and had some spikes for certain ADC values (see Errata 11 in the datasheet for the values). Those were the result of the wrong size of the internal capacitors used in their comparators.
@caseysheridan6752
@caseysheridan6752 Рік тому
Any chance you have a link to that thread? I’d love to read about it
@JamesHughes65
@JamesHughes65 Рік тому
@@caseysheridan6752 Late reply, but this is covered in the RP2040 datasheet.
@George196207
@George196207 Рік тому
Wow ten of these some coils a large capacitor , power tool battery a metal tube and you have a neat project .
@gabekramer6416
@gabekramer6416 Рік тому
Great Scott I have a serious question for you.....What type of pens do you use? I know I recognize them but don't remember what kind they are.
@paulmichaelfreedman8334
@paulmichaelfreedman8334 Рік тому
I made a led matrix scoller bar with a pico, using PIO. That little thing has some nice surprises on board.
@adinko7
@adinko7 Рік тому
Can you make an silent car alarm with lora long range and a device that you have at home and if the alarm is triggered in the car the device at home starts screaming.
@comfixit
@comfixit Рік тому
The Pico can also act as a HID (Human Interface Device) which is a nice feature that is found on some but certainly not all Arduino compatible boards.
@affieuk
@affieuk Рік тому
I wonder if the Pico can replace nice nano's, way over my head, so I guess I have a lot of learning to do!
@hacerdemirel9833
@hacerdemirel9833 Рік тому
To sum up, just put "digitalWrite(23, High)" on all your code. Is that all? Is that simple? No missing?
@dzuppi
@dzuppi Рік тому
Can you tell us a bit about the power consumption? E.g for a battery driven project? Thanks
@Slushee
@Slushee Рік тому
I got a pi pico a while back so I could build projects with embedded Rust. Being able to use Rust on a microcontroller is just the best
@TheSomar1991
@TheSomar1991 Рік тому
very helpful thank you
@ghostmantagshome-er6pb
@ghostmantagshome-er6pb 6 місяців тому
The tiny "screen" flashing numbers was really cool.
@gwm249
@gwm249 Рік тому
Have you checked out the Arduino Connect board that uses the RP2040 chip. Built in wifi, BT, Accelerometer and a bunch more.
@UpLateGeek
@UpLateGeek Рік тому
That's pretty interesting, I like the built-in buck-boost converter for battery powered applications. Hopefully they've addressed the sleep current in the wifi version, since that would be perfect for Internet of -shit- I mean things, if it has a decent battery life with deep sleep.
@anycatdessai
@anycatdessai Рік тому
There's a wifi version?
@SianaGearz
@SianaGearz Рік тому
@@anycatdessai It was mentioned right at the end of the video, and it came out... maybe a week ago? It's really fresh.
@anycatdessai
@anycatdessai Рік тому
@@SianaGearz Yeah I later read about it. No stock here in India yet.
@jasper265
@jasper265 Рік тому
I'm a little confused why you chose to compare the Raspberry Pi Pico to an arduino. It's been a while since I last did microcontroller things, but I was under the impression that the ESP family was the mark to beat, not the arduino family...
@ktteol
@ktteol Рік тому
Agreed... the Great Scott missed the beat on this comparison... Comparing a board introduced in 2008 with the "late in the game" Raspberry Pi Pico doesn't make any sense... The ESP32-PICO-D4 introduced in 2014 still puts this Raspberry Pi Pico to shame today! This is just the Raspberry Pi Foundation trying to enter the MCU game (late) and capitalize on their SBC reputation.
@gaborm4767
@gaborm4767 Рік тому
What do you think about RP2040 vs ESP32? As I see RP2040 with WiFi like Nano RP2040 Connect is 6x times more expensive than ESP32.
@LostDeadSoul
@LostDeadSoul Рік тому
How about adding decoupling capacitors to that power supply? If it has multiple frequencies at different loads, just decouple with different capacitors, a decade apart to have broad band decoupling.
@Stabby666
@Stabby666 Рік тому
What's really impressive is that someone ported Doom to run on the standard Pico - just need some resistors and a few jumper wires to connect a VGA monitor, and keyboard input, and audio output :) I was not interested in it when Python was the only option, but now C++ can access PIOs it's really powerful.
@Tracktark
@Tracktark Рік тому
When was python the only option? I was programming the pico in c and c++ since it came out. Even the MicroPython running on the pico is a c++ binary
@Stabby666
@Stabby666 Рік тому
@@Tracktark when it was first released there were no libs available for C++ and it was extremely annoying to burn the firmware. Sure the Pi foundation could do it because it’s their hardware and they had the tools. If you really were programming it in C++ since it came out you were alone. I bought one when it came out and left it on the shelf for months until the tools to program it in C++ became available 😁 (I refuse to use Python on microcontrollers).
@Tracktark
@Tracktark Рік тому
@@Stabby666 Also, yeah it is annoying to burn the firmware manually, but if you have another pico laying around, you can put the Picoprobe firmware on it and use it not only as a debugger, but also to upload your programs without having to disconnect and reconnect it all the time
@Stabby666
@Stabby666 Рік тому
@@Tracktark Yeah, if I'd had two of them it probably would have been different 🤣
@djmips
@djmips Рік тому
@@Stabby666 They are cheap so no reason to not have two!
@nziraniio5805
@nziraniio5805 Рік тому
this intro is just amazing !!
@lemon6521
@lemon6521 Рік тому
I take psychic damage every time he refers to normal microcontrollers as "arduino alternatives"
@michaelschecker2716
@michaelschecker2716 Рік тому
i ordered some and will have a try in MicroPhyton is there anywhere a list how long MicroPhyton commands need
@mccunnj
@mccunnj Рік тому
I found the state machines very useful for pulsing a stepper motor driver.
@user-ik3jh7kr5n
@user-ik3jh7kr5n Місяць тому
can you fix the analog noise by useing a battery as power input directly to the 3v line ?
@PaulSpades
@PaulSpades Рік тому
What's really missing for me is still a 12bit DAC. I would gladly give up some of the memory to have a DAC included.
@makapuf
@makapuf Рік тому
Im currently hesitating between this and a stm32 with an integrated dac for it..
@gerrikoio
@gerrikoio Рік тому
For those who want to use Arduino IDE and C++, but do not want the hassle of setting up earlephilhower's arduino-pico core, there is also the official Arduino Mbed OS RP2040 Boards option found in the Boards Manager tool. I've had no problems so far with version 3.n Another thing worth mentioning is that Pico board uses separate flash via QSPI should anyone think the RP2040 chip can be used on it's own (it only has room for bootloader).
@Gerald-iz7mv
@Gerald-iz7mv Рік тому
hi nice video. can you connect the raspberry pi camera module 3 to Raspberry Pi Pico? if so what additional hardware i need?
@osmanpasha96
@osmanpasha96 Рік тому
Could not agree more. Also I think that once it gains popularity, there will be shortage of it like Raspberry SBCs shortage at the moment. The RPI foundation really has a history of not being able to satisfy the demands of DIYers.
@kentahirono
@kentahirono Рік тому
What are the performance when comparing to the Arduino uno/nano/mini, especially with O2 or O3 optimizations into the compiler strings?
@Stabby666
@Stabby666 Рік тому
It's so much faster and has so many more peripherals - along with DMA and PIO units - there's no serious comparison. You might as well compare a wheelbarrow to an F1 car...
@Zagoorland
@Zagoorland Рік тому
Have you tried coding with VS Code and arduino plugins for it?
@MWGrossmann
@MWGrossmann Рік тому
Can it read from the outputs of a 555 circuit? Can it be connected to all pins to better "understand" what's going on with each analog component?
@candidmoe8741
@candidmoe8741 Рік тому
With MicroPython you don't have to write a "loop()" function, neither write a state-machine to implement complex process.
@kaunomedis7926
@kaunomedis7926 Рік тому
And if you need complex things? Not blinking leds with multicore mcu?
@candidmoe8741
@candidmoe8741 Рік тому
@@kaunomedis7926 MicroPython make things a lot easier.
@fatiheneskuru4332
@fatiheneskuru4332 5 місяців тому
I was thinking about the use of ferrite bead noise filter design to diminsh the noise on analog inputs. With the implication of this you might no longer need to de-activate the PFM mode, therefore improve the efficiency. 7:38
@clarencefultz6474
@clarencefultz6474 Рік тому
Hi, I'm not sure where to put this so I'm posting it here but I think a auto transfer switch could be a cool idea for diy or buy since it is pretty useful.
@Simon-lj8bb
@Simon-lj8bb Рік тому
Would this be any good for a diy weighing scale ? Maybe you could do another diy or buy episode!
@jonnypista52
@jonnypista52 Рік тому
My final thesis was on a pico, I programed it in C++ with exception handling, other than the low level, like the I/O, everything else is the basic C++, you can use classes and whatever the standard library offers. Can even dynamically allocate memory with the same syntax. ADC is trully not the best, but swithing to PWM mode, external reference (I needed one anyway for my DAC) and softvare help to reduce gain error it was acceptable. The best is the big RAM and the speed (can even be overclocked to 300 Mhz or 450Mhz if you don't use the flash), it can do something like 68Mhz SPI signal so even my big 240*320 16bit color display changed basically instantly. No clue how the display processed it as on oscilloscope the clock looked like I'm charging a capacitor, the PCB was not designed with high frequency in mind. Also the price, the ESP32 I managed to buy without waiting for China was 15 euro, while this thing was 4-5 euro and Arduinos are also cost more.
@mikejones-vd3fg
@mikejones-vd3fg Рік тому
I saw a video where a guy uses sprintf from C versus cout from c++ with the same code and the C++ binary was almost twice the size... im no sure c++ is your friend either when it comes to microcontrollers
@evanbarnes9984
@evanbarnes9984 Рік тому
I'm really curious what your thesis project was! I'm considering grad school for something like embedded systems
@jonnypista52
@jonnypista52 Рік тому
@@evanbarnes9984 For us there was a lot of project ideas for grabs, my was a transistor tester and identifier, it measure resistors, capacitors, diodes and transistors. Even draw characteristic diagrams for transistor fully automatically.
@jonnypista52
@jonnypista52 Рік тому
@@mikejones-vd3fg I used the whole serial out for debugging, the whole idea was to make it work as a standalone device, the end result had like 4 cout, which was redundant. I used C++ for OOP, I would had given up on it if I would had to do the whole thing with structs and basic polymorphism, overloading. Also it depends on which mode it is compiled, I used minimal size which cuts out a lot of useless part, like debug info.
@fkiesel9442
@fkiesel9442 Рік тому
@@jonnypista52 It the project available somewhere? It sounds really interesting.
@H3cJP
@H3cJP Місяць тому
another thing that i find really useful about the pico, not present in most arduinos is the HID capability, i think that on the arduino side its only present on the ones with the 32u4 and, i guess, the ones with the rp2040
@yash1152
@yash1152 Рік тому
so, will u switch to arduino IDE 2.0 ??
@aphoxema
@aphoxema Рік тому
I've fallen in love with Python but I wish uPy had more features available already, the other day I found out they haven't even ported Enum yet and I'm like damn maybe I should just try Circuitpython instead
@firstNamelastName-ho6lv
@firstNamelastName-ho6lv Рік тому
Dude circuitpython on VS code has been really good, but I'm thinking of switching to c++ for my use case.
@aphoxema
@aphoxema Рік тому
@@firstNamelastName-ho6lv I'm new to it all so I haven't had a chance to settle on anything, learning both at the same time has kind of been nice because it's helping me understand WHY both do what they do and the differences is giving me better perspective on how code encapsulation works in general
@nobytes2
@nobytes2 Рік тому
an enum lmao, you can solve that without an Enum class. Micropython is limited because well you can't never fit the entire python std library on 256kb.
@aphoxema
@aphoxema Рік тому
I figured it out but I got spoiled on it before, I'm really starting to appreciate just how big code gets really fast when I don't have libraries invisibly doing all the work for me
@aaron41
@aaron41 Рік тому
Isn't uPy still lacking interrupts? I saw that a while ago and didn't even bother trying it out even though python is my language of choice for PC.
@dmytroi5456
@dmytroi5456 Рік тому
Temperature sensor is integrated into "generic" Arduino (atmega328) too
Arduino vs Pico - Which is the Best Microcontroller For You?
20:38
Gary Explains
Переглядів 277 тис.
#370 Raspberry Pi Pico vs ESP32 (-S2) and STM32 Blackpill
15:53
Andreas Spiess
Переглядів 382 тис.
Мама и дневник Зомби (часть 1)🧟 #shorts
00:47
😱СНЯЛ ФИКСИКОВ НА КАМЕРУ‼️
00:35
OMG DEN
Переглядів 823 тис.
I tried the Cheapest Arduino Alternative (that Nobody heard of)
13:31
GreatScott!
Переглядів 454 тис.
When Did Raspberry Pi become the villain?
21:54
Jeff Geerling
Переглядів 1,2 млн
Hacking my garage door with the Raspberry Pi Pico W
11:50
Jeff Geerling
Переглядів 332 тис.
Turning a Raspberry Pi Pico into a GPU!
16:42
element14 presents
Переглядів 97 тис.
Every Apartment needs this Upgrade! (WhatsApp/Telegram Notifications)
10:05
The Best way to Solder? Hot Plate to the rescue! (DIY or Buy)
11:29
GreatScott!
Переглядів 841 тис.
I tried finding Hidden Gems on AliExpress AGAIN! (Part 6)
13:30
GreatScott!
Переглядів 822 тис.
The Pi Pico has problems, so I made my own, the ProPico
7:17
Dmytro Engineering
Переглядів 32 тис.
3 HACKING gadgets you have to TRY!!
19:34
NetworkChuck
Переглядів 1,4 млн
СКОЛЬКО ЕЩЕ БУДЕТ АКТУАЛЕН IPHONE 13?
14:10
DimaViper Live
Переглядів 43 тис.
Какой MacBook выбрать в 2024 - М1, М2 или М3?
24:56
Я Создал Новый Айфон!
0:59
FLV
Переглядів 771 тис.
Какой MacBook выбрать в 2024 - М1, М2 или М3?
24:56
If you do wire soldering with paste, soldering can be done very easily
0:26
Tech Electronics BD
Переглядів 2,5 млн