In this quick guide, we’ll show you six different ways to power your Raspberry Pi Pico microcontroller board. It can be powered via the micro-USB port or via GPIO 39. We’ll show you several options for different case scenarios.
New to the Raspberry Pi Pico? Read the following guide: Getting Started with Raspberry Pi Pico (and Pico W).
Powering The Raspberry Pi Pico Through the Micro-USB Port or via GPIO39
The Raspberry Pi Pico can be powered via the micro-USB port on the board or GPIO 39 (VSYS). It can safely operate in the ranges between 1.8V and 5.5V.
Related article: Raspberry Pi Pico and Pico W Pinout Guide: GPIOs Explained
Power Supply Options
To power your Raspberry Pi, you need a power supply that can deliver a minimum of 1.8V and a maximum of 5.5V. You have several options:
- Connected to your computer;
- Via a USB Power Supply connected to mains voltage;
- Using a power bank (portable charger);
- Using batteries;
- Pico UPS Power Supply HAT
- Solar panels.
1. The RPi Pico Connected to Your Computer
The easiest way to power the Pico is to connect it to your computer using a micro‑USB cable. As long as your computer is on, the Raspberry Pi Pico will be powered on. This is the best option during the development stages.
2. Connected to the Mains via an AC-to-USB Adapter
Another simple way to power the Raspberry Pi Pico is using an AC to USB adapter, like the ones used to charge old smartphones, power banks, and other devices. Make sure the power adapter doesn’t deliver more than 5.5V, otherwise, you may damage your board.
3. Using a Power Bank (Portable Charger)
A power bank used to charge smartphones can also be used to power the Pico via the micro-USB port. This is a more portable option.
However, keep in mind that some modern power banks will automatically turn off when the power consumption is below a certain threshold. If your Pico is consuming very little power, the power bank may unexpectedly turn off.
Recommended reading: Learn Raspberry Pi Pico with MicroPython eBook
4. Using Batteries
For supplying power to the Pico via a battery, you can opt for either a battery pack, a set of AA or AAA batteries, or a single Li-ion battery. To do this, connect the batteries to the VSYS pin (GPIO39) and the GND pin on the Pico. You may need to do some DIY to solder some compatible cables to the battery pack.
I recommend a battery holder that already comes with a switch so that you can easily apply and remove power, like the example below.
5. Pico UPS Power Supply HAT
Alternatively, there are some modules available that mount on top of the Pico (called HATs) where you can connect the battery. Some of these modules also have the option to monitor the battery status.
If you opt for this option, make sure you choose a module that exposes the Pico GPIOs, otherwise, you won’t have access to the GPIOs to connect peripherals after connecting the battery. One good example is the Waveshare HAT shown in the picture above.
Another great option is the GeekPi UPS Power Supply Hat.
6. Using Solar Panels
You can also power your Raspberry Pi Pico with solar panels as long as you ensure that it is getting the correct voltage range. You’ll also need a rechargeable battery and a battery charger module. Something similar to what we show in this tutorial.
Wrapping Up
In this quick guide we’ve show you six different ways to power up your Raspberry Pi Pico. You can power it via the micro USB port or GPIO 39.
You can power the Pico using your computer USB port; connected to the mains voltage using a power adapter; using a portable charger; batteries; a power supply hat; or solar panels.
We hope you’ve found this tutorial useful. If you would like to learn more about the Raspberry Pi Pico, make sure you check all our guides:
I love this little Pico..
I power it with solar cells and have hooked up 4 x 500F 2.7v Supercapacitors.
…and a number of other solutions I can think of. Which are not the issue. The point is: how to connect them to the board and what are the pitfalls and which precautions to take.
Once you know how you are going to power it, a little bit of electrical power knowledge is required.
For me, I connect 2 x 5v 280mA solar cells to a protected 5.4v 500f super-capacitor array (4 x 2.7v 500f).
This is connected to the ground and VSYS.. and dont forget to put in a current limiting resistor between the cells and the super-capacitors to take it down to about 4.2v..
These supercaps should last about 50+ years.