Meet the new Raspberry Pi Pico; a tiny microcontroller filled with big possibilities.

Specifications
  • Brand: Raspberry Pi
  • CPU: Dual-core 133Mhz ARM
  • Memory: 264Kb
  • Ports: microUSB
Pros
  • Powerful ARM Processor
  • Micro-USB Connectivity
  • Breadboard Mountable
  • Easy-To-Use Interface
  • Absolutely Adorable
  • Inexpensive
Cons
  • No Wi-Fi or Bluetooth connectivity
  • No Header Pins
  • I/O Port Labelling on One Side Only
  • No USB-C Connectivity
Buy This Product
Raspberry Pi Pico

We’ve managed to get our hands on the coveted Raspberry Pi Pico. Today, we’re going to be looking at some of the most important features and putting it toe-to-toe with some of the biggest names in small electronics.

We’ll be showing you what the Pico can do, and we’ll get you started with MicroPython, one of Pico’s supported programming languages. We’ll even offer up some code to try in case you decide to buy a Pico of your own.

What Is a Raspberry Pi Pico?

Raspberry Pi Pico is a new budget microcontroller designed by Raspberry Pi. It’s a tiny computer built around a single chip, with onboard memory, and programmable in/out ports. Historically, microcontrollers are used in a variety of devices from medical implants to power tools. If you have an electronic device sitting in your vicinity, there’s a good chance that there’s a microcontroller inside of it.

Key Features of the Pico

Pi Pico on Silver Tray With Reflection

The Pico is built around the RP2040 microcontroller chip, which was designed by Raspberry Pi UK. It’s a Dual-Core ARM processor with a flexible clock that can run up to 133 MHz. The Pico also supports 1.8-5.5 DC input voltage, has a micro-USB input port, and an onboard temperature sensor.

Flanking the chip on all sides are a series of castellations that allow easy soldering to a Veroboard or breadboard. This dual in-line package (DIP) style form factor is stackable, and can also be used in carrier board applications.

Technical Specifications

  • 21 mm x 51 mm
  • 264kb on-chip RAM
  • 2 MB on-board QSPI flash
  • 2 UART
  • 26 GPIO
  • 2 SPI controllers
  • 2 ISC controllers
  • 16 PWM channels
  • Accelerated integer and floating-point libraries
  • 3-pin ARM Serial Wire Debug (SWD) port

What’s So Special About the Pi Pico?

The Pi Pico is a different kind of microcontroller. It’s Raspberry Pi’s first, and it features ARM technology in its RP2040 silicon chip. Many technology companies are embracing silicon ARM chips, with major manufacturers like Apple leading the charge.

The punchy little Pico packs a staggering 26 multifunction general purpose input/output (GPIO) ports, including 3 that are analog. Alongside these ports are 8 programmable input/output (PIO) ports. Compare this to other microcontrollers like the Arduino Nano, and the Pico packs roughly 18% more GPIO capability.

The most considerable difference between the Pico and its competitors, however, is the $4 price tag. Low cost is the main selling point of this unique offering.

At launch, many online retailers sold out of the device due to the interest and Raspberry Pi’s favorable reputation. By setting the price so low, the Pico opens the door for a new class of high-powered, budget microcontrollers.

There are many potential applications for the new Pico. With its onboard temperature sensor, the device is an obvious choice for IoT projects.

One talented retro gaming enthusiast even used a Pico to build a gaming console with full VGA video support.

This means that makers who have been curious about Raspberry Pi, or microcontrollers in general, now have the ability to experiment for less than the price of a fancy cup of coffee.

Related: The Raspberry Pi Comes of Age With the Pi 400 Desktop

The Raspberry Pi Pico Processor

Pi Pico Arm Processor

The RP2040 ARM chip is an interesting choice for the Pico. At 133MHz, the chip is capable of leaving more expensive boards, like the Arduino Uno, in the dust.

Using ARM processors seems to be an emerging trend in the world of microcontrollers. In addition to Raspberry Pi, both Sparkfun and Adafruit also offer boards with similar ARM technology.

The industry-wide switch was made for a single reason—speed. ARM processors give a considerable boost over standard Atmel chips. In a board this size, using an ARM processor is like dropping a fully kitted Porsche engine into a Volkswagen. On the other hand, many microcontrollers don’t require that much processing speed. Yet.

Ramping up performance means that makers who want to push the limits of the Pico will have an abundance of power to do so.

The I/O Ports

Pi Pico GPIO pinout Labels

The GPIO ports on the Pi Pico feature several interesting functions for common uses such as operating a screen, running lighting, or incorporating servos/relays. Some functions of the GPIO are available on all ports, and some only work for specific uses. GPIO 25, for example, controls the Pico’s onboard LED, and GPIO 23 controls the onboard SMPS Power Save feature.

The Pico also has both VSYS (1.8V — 5.5V) and VBUS (5V when connected to USB) ports, which are designed to deliver current to the RP2040 and its GPIO. This means that powering the Pico can be done with or without the use of the onboard micro-USB.

A full list of the I/O ports is available on Raspberry Pi’s website in its complete Pico documentation.

Pico vs. Arduino vs. Others

Pi Pico in the hand

One question on the minds of many makers is whether or not the Raspberry Pi Pico is better than Arduino?

That depends. Pound-for-pound, higher-end Arduino boards like the Portenta H7 make the Pico look like a toy. However, the steep cost for a board of that caliber might be a tough pill for the microcontroller hobbyist to swallow. That's why the smaller price tag on the Pico makes it a win for makers who enjoy low-risk experimentation.

Along with minimal cost, the Raspberry Pi jams an extensive feature set into the Pico, comparable to boards like the Teensy LC, and the ESP32. But neither of these competitors manage to challenge the budget-friendly Pico on price.

That's what makes the Pico such a fantastic value, and a great choice for hobbyists and power users alike.

The Pi Pico: What’s Not To Love?

Pi Pico Floating Shot

Unfortunately, to drive the price of the Pico down, Raspberry Pi had to make a few compromises. The most notable of which is the lack of an onboard radio module. Neither Bluetooth nor Wi-Fi is supported without add-ons.

The Wi-Fi limitation can be eliminated by adding a module like the ESP-01. Bluetooth support may prove a bit more challenging. If you need an all-in-one solution for your products, you’re better off skipping the Pico, and spending a little extra for something like the Pi Zero W, or ESP32.

Additionally, many early adopters are complaining about the lack of GPIO labeling on the top of the board. Raspberry Pi provides an extensive amount of documentation on its website to address this, but pointing-and-clicking, or thumbing through paperwork when you have a hot soldering iron in your hands isn’t often desirable.

Lastly, the lack of I/O pin headers is something of an issue for some, as it means less convenience when swapping I/O components. This minor annoyance can be solved via the use of leads, soldering the component wiring directly to the Pico, or using a breadboard.

If you’ve been using microcontrollers or small electronics for any period of time, then an unpopulated board is most likely a non-issue. Of course, you could also add your own pin headers if you plan on regular experimentation with different external components.

The final rub with the Pico is the micro-USB port. With many other microcontrollers like the Portenta H7 moving toward USB-C, Raspberry Pi's micro-USB port seems dated.

Logically however, the decision to use micro-USB makes sense. It was done by Raspberry Pi to keep costs as low as possible, and to keep interface capability almost universal. Everyone we know has at least a few micro-USB cables tucked away somewhere in their homes.

However, with future versions, a USB-C interface would be a nice addition to an already spectacular package.

Related: A Beginners Guide To Breadboarding With Raspberry Pi

Programming the Raspberry Pi Pico

Interfacing with the Pi Pico can be done via C/C++, or via MicroPython in the Read-Eval-Print-Loop or REPL (pronounced “Reh-pul”). The REPL is essentially a command line interface that runs line-by-line code in a loop.

In order to access the REPL, you’ll need to install MicroPython onto the Pico. This process is simple and only involves four steps.

Installing MicroPython

  • Download MicroPython for Raspberry Pi Pico from the Raspberry Pi Website
  • Connect the Pico to your computer via micro-USB while holding the BOOTSEL button
  • Wait for the Pico to appear as an external drive
  • Copy the MicroPython file to the Pi Pico, and it will automatically reboot

You can access the REPL in a number of ways. We used the screen command in a macOS terminal window to access the serial bus connected to the Pico. To accomplish this with Terminal, you’ll first open a new terminal window, then type ls /dev/tty*

Bash Shell ls dev tty command

From there, find the port where the Pico is connected. It should be labeled something like /dev/tty.usbmodem0000000000001. Then run the command:

screen /dev/tty.usbmodem0000000000001

Your cursor should change. Hit Return and the cursor will change again to >>>.

In the image below we've included the classic Hello World (Hello, Pico) command-line program in the REPL, along with a few lines of code that will turn the Pico's LED on and off. Feel free to try them yourself.

Pi Pico REPL Hello World

For more information, we recommend you invest in the official starter guide to MicroPython that Raspberry Pi has published on their website.

Download: MicroPython for Raspberry Pi Pico (free)

Using the Raspberry Pi Pico With Thonny

Thonny Screen Shot Connected To Pi Pico

If you’re looking for a more proper coding environment, the Raspberry Pi Pico will also allow access to the REPL with Thonny. To enable this feature, first download and install Thonny. Once installed, connect your Pi Pico. Open Thonny and you'll see information indicating your Pico is connected in the Shell.

At the bottom right of the screen, you should see a version of Python. Click this version and select MicroPython (Raspberry Pi Pico) from the drop-down menu.

Now you can type commands into the Shell, or you can use Thonny’s editor to write or import multiple lines of code.

The abundance of interface possibilities make the Raspberry Pi Pico easy to program. For those who are familiar with MicroPython, this should be nothing new. For beginners, however, Thonny provides a powerful interface and debugger to get started with programming.

Download: Thonny (Free) Windows | Mac

Should I Buy the Raspberry Pi Pico?

The Raspberry Pi Pico is a powerful budget board that is perfect for hobbyists, or makers just starting out with microcontrollers. The documentation, low cost, and wide range of possibilities for the Pico also make it a great choice for seasoned small electronics wizards. If you’re a DIYer who loves to tinker, or you just want to challenge yourself to a weekend project, then you’ll love playing with the Pico.

On the other hand, if you don't have one or more projects in mind that need a microcontroller, then this board is probably not for you. Also, if your project needs Wi-Fi connectivity or Bluetooth, then the Pico won’t scratch that itch. And finally, for users who aren’t comfortable learning MicroPython, or exploring C/C++, the Pico isn't ideal. And remember: this Raspberry Pi is not like the others. It will not run a full Linux operating system.

But, if you dream in Python, or if you love the smell of solder, then you won't regret grabbing this tiny powerhouse. Most of all, if the sight of the sports-car-sleek RP2040 gets your creative gears turning, then we think you’ll really benefit from picking up the Pico.

Serving up Several Sweet Possibilities

While it isn’t perfect, the Raspberry Pi Pico is a strong entry into the world of microcontrollers. The reputation that Raspberry Pi has built for quality electronic components at a relatively low price extends to the Pico.

It’s everything a Raspberry Pi should be: small, sweet, and superb. It’s beautifully designed, and extremely inexpensive. But the best part isn’t the looks or the low cost.

The best part about this small wonder is picking it up, and holding it in your hands. It's feeling the tug of electronic inspiration. It's realizing just how powerful the Pico is, and what it means for microcontrollers going forward.

And truthfully, we think it's amazing that something as small as the Pico can offer so many unique possibilities.