Tom's Hardware

2023-02-15 15:40:40 By : Mr. Jeff Lu

When you purchase through links on our site, we may earn an affiliate commission. Here’s how it works.

How to make the most of the Raspberry Pi Pico and Raspberry Pi Pico W

The Raspberry Pi Pico is a radical change from previous Pis, because it’s not a Linux computer, but a a microcontroller board like Arduino . The biggest selling points of the Raspberry Pi Pico are the price, $4 and the RP2040 chip which provides ample power for embedded projects and enables users of any age or ability to learn coding and electronics. If you have a Windows, Apple, Linux computer or even a different Raspberry Pi, then you are already well on your way to using the Raspberry Pi Pico in your next project. Unlike most other Raspberry Pi, the Pico comes with an unsoldered header, but using one of the best soldering irons from our list will soon see your Pico ready for big projects.

In June 2022, Raspberry Pi announced its latest iteration, the Raspberry Pi Pico W. As you can probably guess, the W stand for Wi-Fi and this is provided via Infineon's CYW43439 chip which provides 2.4 GHz Wi-Fi using an onboard antenna. For just $6, $2 more than the original Pico, we have a low cost and easy to use IoT platform.

In our review we managed to get our Pico W online in mere moments, a combination of great hardware and an easy to use MicroPython module means the Pico W will soon be powering thousands of IoT devices across the world.

The Raspberry Pi Pico is vastly different from any model before it. It is the first device to use RP2040 “Pi Silicon” which is a custom System on Chip (SoC) developed by the Raspberry Pi team which features a dual core Arm Cortex M0+ running at 133 MHz, 264KB of SRAM and 2MB of flash memory used to store files. 

The one downside of the Raspberry Pi Pico is that there is no wireless connectivity. Something that has since been rectified thanks to the Raspberry Pi Pico W. The RP2040 is the first microcontroller in the Pi range and this brings with it a new way of working. The Pico is not a computer, rather we need to write code in an external application on a different computer and “flash” the code to the microcontroller over USB. In our tutorial on how to get started with Raspberry Pi Pico, we explain how to connect a PC to the Pico and use it to upload MicroPython code.

The Pico and third-party RP2040 boards can use a variety of programming languages, include MicroPython, CircuitPython, C/C++ and Arduino language. There's even Piper Play, a block-based version of Python for the Pico.

MicroPython and C/C++ are the officially supported languages from the Pi Foundation, but CircuitPython, which is similar, has certain advantages such as its built-in support for USB HID, which means that you can turn your Pico into a keyboard, mouse or joystick that's recognized by a PC.

MicroPython is a version of Python 3 for microcontrollers. It was created by Damien George and first used with the PyBoard development board back in 2014. Since then, more devices have adopted this easy to use language and there is a further fork of MicroPython,CircuitPython created by Adafruit which adds further enhancements for their range of boards.  Writing MicroPython code for the Raspberry Pi Pico is possible using the Thonny Python IDE, which is available for all the major OSes, and it is the most accessible way to get started with your Pico. 

With the release of the Raspberry Pi Pico W, we now see two different firmware options, one for the new Pico W 2 and the other for the original board. In the announcement blog post, Raspberry Pi LTD CEO explains why this is required.

"This UF2 firmware we’re making available for Pico W is a separate build to the existing MicroPython firmware for our original Pico board. We’ll be upstreaming the changes to the main MicroPython repository soon after launch, but as MicroPython has separate binaries on a per-board rather than per-architecture basis there will always be two distinct UF2 firmware releases going forward. One for Pico, the other for Pico W."

A fork of MicroPython, CircuitPython has been released for RP2040 boards. Created by Adafruit, CircuitPython has an impressive library of pre-written modules for sensors, LCD / OLED / LED screens and output devices such as thermal printers. Flashing CircuitPython to the Raspberry Pi Pico is as simple as flashing MicroPython, and it is reversible should you wish to revert back to MicroPython or C/C++.

Writing code in C/C++ is made possible via two methods. Firstly we can write the code directly in a text editor of our choice and then follow a workflow to build the files which are then flashed to the Pico. Or we can use a graphical workflow and have Microsoft’s Visual Studio Code handle the creation, build and flash process in one application. 

You can now now use the Arduino IDE to write code for your Pico. Arduino code is loosely a version of C/C++ so this might be a simpler way to write and upload your code.

Operating at 3.3V, the Raspberry Pi Pico and the newer Raspberry Pi Pico W both have a 40 pin GPIO. The GPIO does not share the same form factor as the Raspberry Pi that came before it. We have GPIO pins for digital inputs / outputs, pulse width modulation (PWM) and for specialist communication protocols such as I2C, SPI, UART/Serial. The GPIO also has three Analog inputs, something other Raspberry Pis lack,  that use variable voltages to connect to, for example, a potentiometers, joystick or light-dependent resistor (see resistor color codes).  

The GPIO pins themselves feature castellations, small cutouts that permit the Raspberry Pi Pico to be soldered in place into a project or carrier board.  

More importantly, we can also solder header pins to the Pico and use it in a breadboard. See our tutorial on how to solder Raspberry Pi Pico pins for more details. 

Retailing for $4, the Raspberry Pi Pico is a cost effective means to tinker with electronics projects and study physical computing. 

We can use the power of Pico at the heart of robotics and motorized projects, collect data using sensors for temperature, humidity, light and pollution and we can learn the basics of programming and electronics.

The Raspberry Pi Pico is the first but not the only board to use RP2040. There are around a dozen third-party boards that have been announced and three that we know have hit the market thus far. 

Our favorite third-party RP2040 board is Adafruit's Feather RP2040, which features 16MB of storage (versus 2MB on the Pico), 4 ADC channels (versus 3 on the Pico), an RGB light, a built-in Lipo battery connector and, most importantly, the ability to connect to Adafruit's huge ecosystem of Featherwing add-on boards.

We've also tested the Pimoroni Tiny RP2040, which is an extremely-small board that sports 4 ADC channels, 8MB of storage and an RGB light. SparkFun's MicroMod RP2040 puts the SoC on a tiny M.2 board which you can plug into a variety of carrier boards with different features.

Adafruit has also announced an ItsyBitsy 2040, which follows the "ItsyBitsy" form factor and a tiny QT Py 2040 board. Arduino have announced that they are working on the Arduino Nano RP2040 Connect, a variant of the RP2040 with WiFi and Bluetooth. In addition to the MicroMod, SparkFun has two other RP2040 boards coming out. 

First and third part accessories are the life blood of the Raspberry Pi and maker communities. They bring extra features and enable projects to be realised more easily. 

With the Raspberry Pi Pico's new form factor there is a need for new accessories and the first to market at Pimoroni, a UK based official Raspberry Pi reseller. They have released 12 new accessories for the Pico that range from simple breakout boards enabling multiple addons to be used at once, to advanced audio output devices and a VGA Demo board which uses the Programmable IO of the RP2040 to create DVI video signals. If your interests are more LED inclined then the Unicorn Pack sees 112 RGB LEDs ready to dazzle your eyeballs. 

We've had a chance to review several Pico accessories, including:

The best things about Raspberry Pi is the great community and the thousands of tutorials that have been created. From basic to complex there are great tutorials to help you learn new skills. 

In the relatively short time that the Pico has been on the market, the Raspberry Pi community has already developed a ton of resources. At Tom's Hardware, we've been publishing our fair share of Pico how-tos, which you can find below. 

Get instant access to breaking news, in-depth reviews and helpful tips.

Les Pounder is an associate editor at Tom's Hardware. He is a creative technologist and for seven years has created projects to educate and inspire minds both young and old. He has worked with the Raspberry Pi Foundation to write and deliver their teacher training program "Picademy".

Tom's Hardware is part of Future US Inc, an international media group and leading digital publisher. Visit our corporate site (opens in new tab) .

© Future US, Inc. Full 7th Floor, 130 West 42nd Street, New York, NY 10036.