Interactive pinout
Raspberry Pi Pico W pinout
The Raspberry Pi Pico W 40-pin layout with the USB port at the top. Physical pin numbers are shown beside the GP names; use the GP number in code.
- GPIO
- Power
- Ground / N.C.
- Reset
- Has a warning
Selected pin
GP0GPIO0physical pin 1
Safe to use
GPIOPWMI2CSPIUART
Default UART0 TX.
- uart
- UART0 TX
- i2c
- I2C0 SDA
- spi
- SPI0 RX
Code for this pin
const int PIN = 0;
void setup() {
pinMode(PIN, OUTPUT);
}
void loop() {
digitalWrite(PIN, HIGH);
delay(500);
digitalWrite(PIN, LOW);
delay(500);
}Ad space · inline
Good to know
- ›Every GPIO can do PWM and work with PIO. Only GP26–GP28 can be analog inputs (ADC0–ADC2).
- ›GP29 (ADC3) is internally wired to measure VSYS/3 — it is not on the headers.
- ›The on-board LED is on the wireless chip (use Pin("LED") in MicroPython), not GP25.
- ›GP23, GP24, GP25 and GP29 are used by the Wi-Fi/Bluetooth chip and unavailable.
Where to buy
Affiliate links: databit.me may earn a small commission at no extra cost to you. Details.