Raspberry Pi Pico W
RP2040 with Wi-Fi onboard
Raspberry Pi Pico W · RP2040 + Infineon CYW43439
A Pico with a radio: the RP2040 (two Cortex-M0+ cores at up to 133 MHz) with 2 MB of flash, 26 GPIOs at 3.3 V, and an on-board CYW43439 for 2.4 GHz Wi-Fi and Bluetooth 5.2.
Tested in the SolderHub Simulator. Opens a ready-wired circuit that runs in your browser.
- CPU
- 2 × 133 MHz
- GPIO
- 26
- SRAM / Flash
- 264 kB / 2 MB
- Radio
- Wi-Fi + BT 5
Every header pin at a glance
- 26 safe I/O
- 0 use with care
- 0 avoid
- 0 not available
- 14 power, ground & other
01Pinout
Every pin, live
Pins 1–20 down the left, 21–40 up the right, numbered as on the board. Every GP pin has SPI, UART, I2C and PWM options.
40 of 40 pins match
Hover or tap any pin on the board
PINS 1–20 header · pin 1
GP0
Safe to use
Nothing else on the board depends on this pin. A good first choice for sensors, LEDs and buttons.
Can be used as
- SPI (direct)
- UART
- I2C
- PWM out
Signals on this pad
- GPIO0
- SPI0 RX
- UART0 TX
- I2C0 SDA
- PWM0 A
Full header tables (PINS 1–20, PINS 21–40)
PINS 1–20 · left side
| No. | Pin | Signals | Status |
|---|---|---|---|
| 1 | GP0 | SPI0 RX, UART0 TX, I2C0 SDA, PWM0 A | OK |
| 2 | GP1 | SPI0 CSn, UART0 RX, I2C0 SCL, PWM0 B | OK |
| 3 | GND | Ground | |
| 4 | GP2 | SPI0 SCK, UART0 CTS, I2C1 SDA, PWM1 A | OK |
| 5 | GP3 | SPI0 TX, UART0 RTS, I2C1 SCL, PWM1 B | OK |
| 6 | GP4 | SPI0 RX, UART1 TX, I2C0 SDA, PWM2 A | OK |
| 7 | GP5 | SPI0 CSn, UART1 RX, I2C0 SCL, PWM2 B | OK |
| 8 | GND | Ground | |
| 9 | GP6 | SPI0 SCK, UART1 CTS, I2C1 SDA, PWM3 A | OK |
| 10 | GP7 | SPI0 TX, UART1 RTS, I2C1 SCL, PWM3 B | OK |
| 11 | GP8 | SPI1 RX, UART1 TX, I2C0 SDA, PWM4 A | OK |
| 12 | GP9 | SPI1 CSn, UART1 RX, I2C0 SCL, PWM4 B | OK |
| 13 | GND | Ground | |
| 14 | GP10 | SPI1 SCK, UART1 CTS, I2C1 SDA, PWM5 A | OK |
| 15 | GP11 | SPI1 TX, UART1 RTS, I2C1 SCL, PWM5 B | OK |
| 16 | GP12 | SPI1 RX, UART0 TX, I2C0 SDA, PWM6 A | OK |
| 17 | GP13 | SPI1 CSn, UART0 RX, I2C0 SCL, PWM6 B | OK |
| 18 | GND | Ground | |
| 19 | GP14 | SPI1 SCK, UART0 CTS, I2C1 SDA, PWM7 A | OK |
| 20 | GP15 | SPI1 TX, UART0 RTS, I2C1 SCL, PWM7 B | OK |
PINS 21–40 · right side
| No. | Pin | Signals | Status |
|---|---|---|---|
| 21 | GP16 | SPI0 RX, UART0 TX, I2C0 SDA, PWM0 A | OK |
| 22 | GP17 | SPI0 CSn, UART0 RX, I2C0 SCL, PWM0 B | OK |
| 23 | GND | Ground | |
| 24 | GP18 | SPI0 SCK, UART0 CTS, I2C1 SDA, PWM1 A | OK |
| 25 | GP19 | SPI0 TX, UART0 RTS, I2C1 SCL, PWM1 B | OK |
| 26 | GP20 | SPI0 RX, UART1 TX, I2C0 SDA, PWM2 A | OK |
| 27 | GP21 | SPI0 CSn, UART1 RX, I2C0 SCL, PWM2 B | OK |
| 28 | GND | Ground | |
| 29 | GP22 | SPI0 SCK, UART1 CTS, I2C1 SDA, PWM3 A | OK |
| 30 | RUN | RP2040 enable, pulled up internally (~50 kΩ). Short to GND to reset. | |
| 31 | GP26 | SPI1 SCK, UART1 CTS, I2C1 SDA, PWM5 A, ADC0 | OK |
| 32 | GP27 | SPI1 TX, UART1 RTS, I2C1 SCL, PWM5 B, ADC1 | OK |
| 33 | AGND | Ground reference for GPIO26–29 (the ADC). Can go to normal ground if ADC accuracy doesn't matter. | |
| 34 | GP28 | SPI1 RX, UART0 TX, I2C0 SDA, PWM6 A, ADC2 | OK |
| 35 | ADC_VREF | ADC supply and reference, filtered from 3.3 V. Feed an external reference here for better ADC accuracy. | |
| 36 | 3V3(OUT) | 3.3 V from the on-board SMPS. Keep the load under 300 mA. | |
| 37 | 3V3_EN | SMPS enable, pulled high to VSYS through 100 kΩ. Short low to switch off 3.3 V (and the RP2040). | |
| 38 | GND | Ground | |
| 39 | VSYS | Main system input, 1.8 to 5.5 V, into the buck-boost SMPS. | |
| 40 | VBUS | Micro-USB 5 V (0 V when USB isn't connected). |
02Layout
How the board fits together
The RP2040 runs your code; the CYW43439 adds Wi-Fi and Bluetooth through a private SPI link.
Micro-USB
VBUS power, BOOTSEL programming, USB serial
Buck-boost SMPS
1.8–5.5 V on VSYS → 3.3 V
RP2040
2 × Cortex-M0+ · 133 MHz · 264 kB SRAM · 2 MB flash
26 GPIO
GP0–22 and GP26–28; 3 ADC inputs
CYW43439
Wi-Fi 802.11n + Bluetooth 5.2 over an internal SPI link (GPIO23–25, 29)
03Specs
Full specifications
Microcontroller
- Chip
- Raspberry Pi RP2040Dual Arm Cortex-M0+, up to 133 MHz.
- SRAM
- 264 kB
- Flash
- 2 MB (on board)
- PIO
- 8 state machinesProgrammable I/O for custom protocols.
Wireless
- Chip
- Infineon CYW43439
- Wi-Fi
- 802.11n, 2.4 GHz
- Bluetooth
- 5.2
Power
- Logic level
- 3.3 V
- VSYS input
- 1.8 to 5.5 VOn-board buck-boost SMPS makes the 3.3 V.
- 3V3 output
- Keep under 300 mA
Analog
- Inputs
- 3 on the header (GP26–28)
- ADC
- 12-bit, 500 ksps
- Reference
- ADC_VREF (3.3 V filtered)
Board
- USB
- Micro-USB
- Programming
- BOOTSEL drag-and-drop or SWD
- User LED
- On the wireless chip (WL_GPIO0)Not on GPIO25 like the original Pico.
04Buses
Where each bus lives
I2C
Two controllers, I2C0 and I2C1, each available on several pin pairs (e.g. I2C0 SDA/SCL on GP0/GP1, GP4/GP5, GP8/GP9…). Every GP pin has an I2C option.
SPI
SPI0 on GP0–7 and GP16–22, SPI1 on GP8–15 and GP26–28. Pick one RX/CSn/SCK/TX set.
UART
UART0 and UART1, e.g. UART0 TX/RX on GP0/GP1, UART1 TX/RX on GP4/GP5.
PWM
8 slices × 2 channels; every GP pin is a PWM output (GPn uses slice n/2, channel A on even pins, B on odd).
ADC
ADC0–2 on GP26–28. ADC3 (GPIO29) measures VSYS/3 internally.
05Power & start
Power it up and get connected
Power options
- Micro-USB5 V on VBUS; also BOOTSEL drag-and-drop programming and USB serial.
- VSYS pin1.8 to 5.5 V, e.g. a battery pack. The buck-boost SMPS keeps 3.3 V steady.
- 3V3(OUT)Powers sensors and modules; keep the total under 300 mA.
- 3V3_ENShort to ground to switch the whole board off.
- 1
Hold BOOTSEL and plug in
The Pico W appears as a USB mass-storage drive.
- 2
Drag a .uf2 onto the drive
Copying a .uf2 build (MicroPython for Pico W, or your own firmware) writes it to flash and restarts the board.
- 3
Blink the user LED
It sits on the wireless chip's WL_GPIO0, so drive it through your firmware's Pico W LED support rather than an RP2040 GPIO.
- 4
No board on your desk?
Open the tested Pico W circuit in the SolderHub Simulator below.
06Gotchas
Things that trip people up
01
The LED isn't on GPIO25
On the Pico W the user LED hangs off the wireless chip (WL_GPIO0). Code that toggles GPIO25 for the original Pico won't light it; use the Pico W build of your firmware, which routes the LED through the wireless chip.
02
GPIO23, 24, 25 and 29 are taken
They run the link to the wireless chip and VSYS sensing, so they're not on the header. Plan with GP0–22 and GP26–28.
03
Only three analog pins
GP26, GP27 and GP28. For cleaner readings, use AGND as their ground and feed a reference into ADC_VREF.
04
It's a 3.3 V board
Don't feed 5 V signals into GP pins; use a level shifter or divider.
05
Mind the 3V3 budget
Keep the load on 3V3(OUT) under 300 mA; power hungry parts belong on their own supply.
07SolderHub Simulator
Wire up the Raspberry Pi Pico W without the hardware
The simulator runs Raspberry Pi Pico W sketches in your browser. Start from the tested board circuit, then change the wiring or the code.
Board Basics
Introduction, pinout, and protocols — all in one guide.
Sensor Modules & Library
Wiring sensors and modules, plus the library you need to talk to them.
Sensor Integration
Coming soon
Library & Setup
Coming soon
Projects
SolderHub Simulator
Raspberry Pi Pico W circuits you can run in the browser
Ready-wired circuits with working code. Open one, press run, then change the wiring or the sketch.
- Board self-testRaspberry Pi Pico W board testBoard test: LED on GP13 follows the button on GP14; HC-SR04 (TRIG GP10, ECHO GP11) and DHT11 (GP2) shown on the 1.3" OLED (0x3C) and LCD1602 I2C (0x27) on GP4/GP5; SG90 servo on GP15 sweeps 0-180-0. Expected Serial: T=24.0 H=50 D about 100 cm.Open in simulator
- CircuitHotspot repeaterSaved from SolderHub SimulatorOpen in simulator
More From This Board
6More Raspberry Pi Pico W guides worth reading.
XIAO RP2040 Pinout: D0–D10, Analog, I2C, SPI, UART and LEDs
7mRP2040-Zero Pinout: GPIO Pads, Analog, RGB LED and Power
7mWemos D1 R32 Pinout: Uno Headers on an ESP32 (and the Traps)
7mESP-01 Pinout: The 8 Pins, Boot Modes and How to Program It
7mXIAO ESP32S3 Pinout: D0–D10, ADC, Touch, I2C, SPI and Battery
7mRaspberry Pi Pico Pinout: Every GP Pin, ADC, I2C, SPI, UART and Power
7m