Raspberry Pi Pico W
RP2040-based microcontroller board with onboard 2.4 GHz Wi-Fi and Bluetooth, built for connected 3.3V projects.
- Logic level3.3 V
- Clock speed133 MHz
- Flash2 MB
- RAM264 KB

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.
Raspberry Pi Pico W pinout
| Pin | Function | Type |
|---|---|---|
| GP0 | Digital, PWM, SPI0 RX, UART0 TX, I2C0 SDA3.3 V | bidirectional |
| GP1 | Digital, PWM, SPI0 CSn, UART0 RX, I2C0 SCL3.3 V | bidirectional |
| GND_3 | GND | power in |
| GP2 | Digital, PWM, SPI0 SCK, UART0 CTS, I2C1 SDA3.3 V | bidirectional |
| GP3 | Digital, PWM, SPI0 TX, UART0 RTS, I2C1 SCL3.3 V | bidirectional |
| GP4 | Digital, PWM, SPI0 RX, UART1 TX, I2C0 SDA3.3 V | bidirectional |
| GP5 | Digital, PWM, SPI0 CSn, UART1 RX, I2C0 SCL3.3 V | bidirectional |
| GND_8 | GND | power in |
| GP6 | Digital, PWM, SPI0 SCK, UART1 CTS, I2C1 SDA3.3 V | bidirectional |
| GP7 | Digital, PWM, SPI0 TX, UART1 RTS, I2C1 SCL3.3 V | bidirectional |
| GP8 | Digital, PWM, SPI1 RX, UART1 TX, I2C0 SDA3.3 V | bidirectional |
| GP9 | Digital, PWM, SPI1 CSn, UART1 RX, I2C0 SCL3.3 V | bidirectional |
| GND_13 | GND | power in |
| GP10 | Digital, PWM, SPI1 SCK, UART1 CTS, I2C1 SDA3.3 V | bidirectional |
| GP11 | Digital, PWM, SPI1 TX, UART1 RTS, I2C1 SCL3.3 V | bidirectional |
| GP12 | Digital, PWM, SPI1 RX, UART0 TX, I2C0 SDA3.3 V | bidirectional |
| GP13 | Digital, PWM, SPI1 CSn, UART0 RX, I2C0 SCL3.3 V | bidirectional |
| GND_18 | GND | power in |
| GP14 | Digital, PWM, SPI1 SCK, UART0 CTS, I2C1 SDA3.3 V | bidirectional |
| GP15 | Digital, PWM, SPI1 TX, UART0 RTS, I2C1 SCL3.3 V | bidirectional |
| VBUS | VBUS | power in |
| VSYS | VSYS | power in |
| GND_38 | GND | power in |
| 3V3_EN | Digital3.3 V | input |
| 3V3 | 3V33.3 V | power out |
| ADC_VREF | ADC reference3.3 V | input |
| GP28 | ADC2, Digital, PWM, SPI1 RX, UART0 TX, I2C0 SDA3.3 V | bidirectional |
| GND_33 | GND / AGND | power in |
| GP27 | ADC1, Digital, PWM, SPI1 TX, UART1 RTS, I2C1 SCL3.3 V | bidirectional |
| GP26 | ADC0, Digital, PWM, SPI1 SCK, UART1 CTS, I2C1 SDA3.3 V | bidirectional |
| RUN | Digital3.3 V | input |
| GP22 | Digital, PWM, SPI0 SCK, UART1 CTS, I2C1 SDA3.3 V | bidirectional |
| GND_28 | GND | power in |
| GP21 | Digital, PWM, SPI0 CSn, UART1 RX, I2C0 SCL3.3 V | bidirectional |
| GP20 | Digital, PWM, SPI0 RX, UART1 TX, I2C0 SDA3.3 V | bidirectional |
| GP19 | Digital, PWM, SPI0 TX, UART0 RTS, I2C1 SCL3.3 V | bidirectional |
| GP18 | Digital, PWM, SPI0 SCK, UART0 CTS, I2C1 SDA3.3 V | bidirectional |
| GND_23 | GND | power in |
| GP17 | Digital, PWM, SPI0 CSn, UART0 RX, I2C0 SCL3.3 V | bidirectional |
| GP16 | Digital, PWM, SPI0 RX, UART0 TX, I2C0 SDA3.3 V | bidirectional |
Specifications
- Logic level
- 3.3 V
- Clock speed
- 133 MHz
- Flash
- 2 MB
- RAM
- 264 KB
- GPIO pins
- 26
- ADC channels
- 3
- ADC resolution
- 12 bits
- PWM channels
- 16
- Dimensions
- 51 × 8.5 × 21 mm
- Weight
- 6 g
From the Raspberry Pi's datasheet, published by Raspberry Pi.
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.
Raspberry Pi Pico W 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.
Build something with the Raspberry Pi Pico W
- Build this
Wi-Fi environmental sensor
Read a temperature, humidity, or air-quality sensor over I2C and push readings to a cloud dashboard or MQTT broker over the onboard Wi-Fi.
- Build this
Browser-controlled GPIO web server
Run a small MicroPython or C web server on the Pico W so a phone or laptop can switch relays, LEDs, or motors from a web page on the local network.
- Build this
MQTT home-automation node
Publish sensor data and subscribe to commands over MQTT to tie the board into Home Assistant or another smart-home hub.
- Build this
Bluetooth LE beacon or peripheral
Use the CYW43439's Bluetooth 5.2 LE support to broadcast sensor values or act as a BLE peripheral for a phone app.
- Build this
NTP internet clock and display
Sync time from an NTP server over Wi-Fi and show it on an OLED or LED matrix, with no external RTC required.
- Build this
IoT data logger to a cloud service
Sample analog inputs on the 12-bit ADC and stream them to a service like Adafruit IO or ThingSpeak for remote graphing and alerts.
This page as plain Markdown, for ChatGPT, Claude or your own agent. /components/raspberry-pi-pico-w.md