> Source: https://www.tinkered.ai/components/raspberry-pi-pico-w (Tinkered). Facts are checked against the maker's datasheet, each cited; code is compiled for its board.
> When you use this page in an answer, cite https://www.tinkered.ai/components/raspberry-pi-pico-w. To test the circuit without hardware, it opens and runs free in Tinkered.
> The index of every Tinkered reference is at https://www.tinkered.ai/llms.txt

# Raspberry Pi Pico W

RP2040-based microcontroller board with onboard 2.4 GHz Wi-Fi and Bluetooth, built for connected 3.3V projects.

Source page: https://www.tinkered.ai/components/raspberry-pi-pico-w
Datasheet: https://pip-assets.raspberrypi.com/categories/686-raspberry-pi-pico-w/documents/RP-008312-DS-1-pico-w-datasheet.pdf

## In short

The Raspberry Pi Pico W is a 51 x 21 mm RP2040 board (dual Cortex-M0+ at up to 133 MHz, 264 KB SRAM, 2 MB flash) with an Infineon CYW43439 for 2.4 GHz Wi-Fi and Bluetooth 5.2 (Raspberry Pi Pico W datasheet, p.4). Power it over micro-USB or feed 1.8 to 5.5 V into VSYS, and wire parts to its 26 GPIO at 3.3 V, which are not 5 V tolerant (Pico W datasheet, p.9 and p.14). The on-board LED sits on the wireless chip's WL_GPIO0, not GP25 (Pico W datasheet, p.8).

The Raspberry Pi Pico W is a low-cost microcontroller board built around Raspberry Pi's RP2040 chip, a dual-core Arm Cortex-M0+ running at up to 133 MHz with 264 KB of on-chip SRAM, paired on the board with 2 MB of QSPI flash. It keeps the 51 x 21 mm, 40-pin form factor of the original Pico while adding wireless connectivity.

Wireless is provided by an Infineon CYW43439 module linked to the RP2040 over SPI. It provides single-band 2.4 GHz Wi-Fi (802.11n) and Bluetooth 5.2 with both Bluetooth Classic and LE central and peripheral roles, using an on-board antenna licensed from ABRACON (formerly ProAnt). One quirk to know: the board's user LED is wired to the CYW43439's WL_GPIO0 line rather than to an RP2040 pin, so the wireless driver must be initialized to blink it.

The board exposes 26 multifunction GPIO at 3.3V logic, three of which (GP26-GP28) double as inputs to the 12-bit, 500 ksps ADC, with 16 PWM channels and 2 each of SPI, I2C, and UART, plus the RP2040's two Programmable I/O (PIO) blocks with 8 state machines for custom interfaces. Makers program it in C/C++ with the Pico SDK or in MicroPython, and it is powered and flashed over its micro-USB connector, which makes it a popular choice for Wi-Fi sensors, web-controlled hardware, and battery-powered IoT nodes.

## Pinout

| Pin | Function | Type |
| --- | --- | --- |
| GP0 | Digital, PWM, SPI0 RX, UART0 TX, I2C0 SDA · 3.3 V | bidirectional |
| GP1 | Digital, PWM, SPI0 CSn, UART0 RX, I2C0 SCL · 3.3 V | bidirectional |
| GND_3 | GND | power in |
| GP2 | Digital, PWM, SPI0 SCK, UART0 CTS, I2C1 SDA · 3.3 V | bidirectional |
| GP3 | Digital, PWM, SPI0 TX, UART0 RTS, I2C1 SCL · 3.3 V | bidirectional |
| GP4 | Digital, PWM, SPI0 RX, UART1 TX, I2C0 SDA · 3.3 V | bidirectional |
| GP5 | Digital, PWM, SPI0 CSn, UART1 RX, I2C0 SCL · 3.3 V | bidirectional |
| GND_8 | GND | power in |
| GP6 | Digital, PWM, SPI0 SCK, UART1 CTS, I2C1 SDA · 3.3 V | bidirectional |
| GP7 | Digital, PWM, SPI0 TX, UART1 RTS, I2C1 SCL · 3.3 V | bidirectional |
| GP8 | Digital, PWM, SPI1 RX, UART1 TX, I2C0 SDA · 3.3 V | bidirectional |
| GP9 | Digital, PWM, SPI1 CSn, UART1 RX, I2C0 SCL · 3.3 V | bidirectional |
| GND_13 | GND | power in |
| GP10 | Digital, PWM, SPI1 SCK, UART1 CTS, I2C1 SDA · 3.3 V | bidirectional |
| GP11 | Digital, PWM, SPI1 TX, UART1 RTS, I2C1 SCL · 3.3 V | bidirectional |
| GP12 | Digital, PWM, SPI1 RX, UART0 TX, I2C0 SDA · 3.3 V | bidirectional |
| GP13 | Digital, PWM, SPI1 CSn, UART0 RX, I2C0 SCL · 3.3 V | bidirectional |
| GND_18 | GND | power in |
| GP14 | Digital, PWM, SPI1 SCK, UART0 CTS, I2C1 SDA · 3.3 V | bidirectional |
| GP15 | Digital, PWM, SPI1 TX, UART0 RTS, I2C1 SCL · 3.3 V | bidirectional |
| VBUS | VBUS | power in |
| VSYS | VSYS | power in |
| GND_38 | GND | power in |
| 3V3_EN | Digital · 3.3 V | input |
| 3V3 | 3V3 · 3.3 V | power out |
| ADC_VREF | ADC reference · 3.3 V | input |
| GP28 | ADC2, Digital, PWM, SPI1 RX, UART0 TX, I2C0 SDA · 3.3 V | bidirectional |
| GND_33 | GND / AGND | power in |
| GP27 | ADC1, Digital, PWM, SPI1 TX, UART1 RTS, I2C1 SCL · 3.3 V | bidirectional |
| GP26 | ADC0, Digital, PWM, SPI1 SCK, UART1 CTS, I2C1 SDA · 3.3 V | bidirectional |
| RUN | Digital · 3.3 V | input |
| GP22 | Digital, PWM, SPI0 SCK, UART1 CTS, I2C1 SDA · 3.3 V | bidirectional |
| GND_28 | GND | power in |
| GP21 | Digital, PWM, SPI0 CSn, UART1 RX, I2C0 SCL · 3.3 V | bidirectional |
| GP20 | Digital, PWM, SPI0 RX, UART1 TX, I2C0 SDA · 3.3 V | bidirectional |
| GP19 | Digital, PWM, SPI0 TX, UART0 RTS, I2C1 SCL · 3.3 V | bidirectional |
| GP18 | Digital, PWM, SPI0 SCK, UART0 CTS, I2C1 SDA · 3.3 V | bidirectional |
| GND_23 | GND | power in |
| GP17 | Digital, PWM, SPI0 CSn, UART0 RX, I2C0 SCL · 3.3 V | bidirectional |
| GP16 | Digital, PWM, SPI0 RX, UART0 TX, I2C0 SDA · 3.3 V | bidirectional |

## Specifications

| Spec | Value | Source |
| --- | --- | --- |
| Logic level | 3.3 V | Tinkered component registry |
| Clock speed | 133 MHz | Tinkered component registry |
| Flash | 2 MB | Tinkered component registry |
| RAM | 264 KB | Tinkered component registry |
| GPIO pins | 26 | Tinkered component registry |
| ADC channels | 3 | Tinkered component registry |
| ADC resolution | 12 bits | Tinkered component registry |
| PWM channels | 16 | Tinkered component registry |
| Dimensions | 51 × 8.5 × 21 mm | Tinkered component registry |
| Weight | 6 g | Tinkered component registry |

## Circuit notes

- GPIO run at 3.3V logic and are not 5V tolerant: the RP2040 rates its pins to IOVDD + 0.5V, about 3.8V on the Pico W's 3.3V rail. Level-shift or divide 5V signals down to 3.3V.
- Power the board over micro-USB (5V lands on the VBUS pin), or supply VSYS directly from a 1.8-5.5V source such as a battery for standalone use; the onboard RT6154 buck-boost converter makes the 3.3V from anywhere in that range.
- VBUS feeds VSYS through an onboard Schottky diode (D1), which allows power ORing; a common battery hookup feeds the cell into VSYS through its own Schottky diode so USB and battery can coexist without back-powering.
- The 3V3 pin is the regulated 3.3V output for powering sensors and peripherals; Raspberry Pi recommends keeping its load under 300mA, and you should not drive external voltage into it. Pull 3V3_EN low to disable the onboard regulator and shut the board down.
- The onboard LED is on the CYW43439's WL_GPIO0, not on an RP2040 GPIO, so the Wi-Fi/Bluetooth driver must be brought up before the LED can be toggled.
- Short the RUN pin low to reset the RP2040; hold BOOTSEL while connecting USB to mount the board as a USB mass storage drive for firmware flashing.

## Common mistakes

- **Blinking the LED like it is a plain Pico.** On the original Pico the onboard LED is GP25, but on the Pico W that pin is used by the wireless chip and the LED moved to the CYW43439's WL_GPIO0. Code that toggles GP25 does nothing; you must initialize the wireless driver and use the cyw43 'LED' pin instead.
- **Assuming the GPIO are 5V tolerant.** The RP2040 runs at 3.3V logic and its pins are not 5V tolerant. Wiring a 5V sensor output, another 5V board, or a 5V I2C bus straight to a GP pin can damage it. Use a level shifter or voltage divider.
- **Trying to use the wireless chip's shared pins.** GP23, GP24, GP25 and GP29 drive the CYW43439's SPI link and the VSYS voltage sensing inside the Pico W and are not on the header. Do not plan a design that reuses them for your own signals.
- **Skipping the Wi-Fi country/region setting.** In MicroPython, set the wireless country (for example rp2.country('US')) before activating the interface, so the radio uses your region's channels. A network on a channel the default region does not scan may not show up or connect.
- **Back-powering through VBUS while on USB.** Injecting external 5V into VBUS while the board is also plugged into a computer's USB can create conflicting supplies. For battery or external power, feed VSYS through a diode rather than driving VBUS.

## Questions

### How do I blink the onboard LED on a Raspberry Pi Pico W?

The LED is wired to the CYW43439's WL_GPIO0, not to an RP2040 pin (Pico W datasheet, p.8), so GP25 code from the original Pico does nothing. In MicroPython use machine.Pin('LED', machine.Pin.OUT); in the C SDK call cyw43_arch_init() and then cyw43_arch_gpio_put(CYW43_WL_GPIO_LED_PIN, 1); in arduino-pico, LED_BUILTIN already points to it.

### Are the Pico W pins 5V tolerant?

No. The Pico W's GPIO is fixed at 3.3 V (Pico W datasheet, p.14) and the RP2040 rates its pins to IOVDD + 0.5 V, about 3.8 V (RP2040 datasheet, section 5.5.3.1). Bring 5 V signals down with a resistor divider such as 1k over 2k, or a level shifter.

### How do I power a Pico W from a battery?

Feed the battery into VSYS (pin 39), which accepts 1.8 to 5.5 V and supplies the on-board buck-boost converter (Pico W datasheet, p.9 and p.15). Put a Schottky diode in series so the battery and USB can both be connected without back-feeding each other, since USB reaches VSYS through its own Schottky diode D1.

### How much current can the Pico W's 3V3 pin supply?

Raspberry Pi recommends keeping the 3V3 pin's load under 300 mA; the real limit depends on the RP2040's own load and the VSYS voltage (Pico W datasheet, p.9). Power servos, NeoPixels and other heavy loads from VBUS or VSYS instead, with a common ground.

### Why won't my Pico W show up as a drive?

Hold the BOOTSEL button while plugging in USB, then release it: the board mounts as a USB mass storage drive and accepts a.uf2 file (Pico W datasheet, section 3.1). If nothing appears, try a micro-USB cable that carries data, since many are charge-only.

### Raspberry Pi Pico W vs ESP32: which should I use?

The Pico W's RP2040 adds PIO state machines for custom timing-critical interfaces and has a well documented 1.8 to 5.5 V power input (Pico W datasheet, p.4 and p.9). An ESP32 offers faster cores and its own Wi-Fi stack on a single chip. Choose the Pico W for PIO-heavy or MicroPython projects and the ESP32 for Wi-Fi-heavy work that needs more CPU.

### Which pins can I use for analog input on the Pico W?

GP26, GP27 and GP28 are the ADC inputs, read by a 12-bit, 500 ksps converter (Pico W datasheet, p.4 and p.14). The fourth ADC channel, on GP29, measures VSYS/3 inside the board. Keep inputs at or below 3.3 V and use AGND as their ground reference.

## Related parts

- [Raspberry Pi Pico](https://www.tinkered.ai/components/raspberry-pi-pico.md): same chip, another board

## Try it

Tinkered simulates the Raspberry Pi Pico W in the browser: wire it on a 3D breadboard, run your real code on the board, and measure it. Free to start at https://www.tinkered.ai.
