# Raspberry Pi Pico Pinout

The **Raspberry Pi Pico** is a microcontroller development board built by the same makers of the Raspberry Pi. As seen in the Raspberry Pi Pico pinout diagram below, it has 40 GPIO pins with 3 analog inputs. It features the* RP2040*, a 32-bit dual ARM cortex M0+ microcontroller chip with a processing speed of 133 Mhz. The Raspberry Pi Pico is just one of many dev boards featuring the RP2040.

The Pico can run code either through CMAKE , Arduino IDE, or Python. Its pins are at a 3.3V level, just like most ARM-based microcontrollers.

**Raspberry Pi Pico Pinout Description**

Multiple pins for the Pico have multiple functions. In general, you can categorize the pin functions as GPIO, UART, I2C, ADC, or SPI.

**General Purpose Pins**

[one_fifth]**Pin Name**[/one_fifth][one_fifth]**UART?**[/one_fifth][one_fifth]**I2C?**[/one_fifth][one_fifth]**SPI?**[/one_fifth][one_fifth_last]**ADC?**[/one_fifth_last]

[one_fifth]GPIO0[/one_fifth][one_fifth]✓[/one_fifth][one_fifth]✓[/one_fifth][one_fifth]✓[/one_fifth][one_fifth_last][/one_fifth_last]

[one_fifth]GPIO1[/one_fifth][one_fifth]✓[/one_fifth][one_fifth]✓[/one_fifth][one_fifth]✓[/one_fifth][one_fifth_last][/one_fifth_last]

[one_fifth]GPIO2[/one_fifth][one_fifth][/one_fifth][one_fifth]✓[/one_fifth][one_fifth]✓[/one_fifth][one_fifth_last][/one_fifth_last]

[one_fifth]GPIO3[/one_fifth][one_fifth][/one_fifth][one_fifth]✓[/one_fifth][one_fifth]✓[/one_fifth][one_fifth_last][/one_fifth_last]

[one_fifth]GPIO4[/one_fifth][one_fifth]✓[/one_fifth][one_fifth]✓[/one_fifth][one_fifth]✓[/one_fifth][one_fifth_last][/one_fifth_last]

[one_fifth]GPIO5[/one_fifth][one_fifth]✓[/one_fifth][one_fifth]✓[/one_fifth][one_fifth]✓[/one_fifth][one_fifth_last][/one_fifth_last]

[one_fifth]GPIO6[/one_fifth][one_fifth][/one_fifth][one_fifth]✓[/one_fifth][one_fifth]✓[/one_fifth][one_fifth_last][/one_fifth_last]

[one_fifth]GPIO7[/one_fifth][one_fifth][/one_fifth][one_fifth]✓[/one_fifth][one_fifth]✓[/one_fifth][one_fifth_last][/one_fifth_last]

[one_fifth]GPIO8[/one_fifth][one_fifth]✓[/one_fifth][one_fifth]✓[/one_fifth][one_fifth]✓[/one_fifth][one_fifth_last][/one_fifth_last]

[one_fifth]GPIO9[/one_fifth][one_fifth]✓[/one_fifth][one_fifth]✓[/one_fifth][one_fifth]✓[/one_fifth][one_fifth_last][/one_fifth_last]

[one_fifth]GPIO10[/one_fifth][one_fifth][/one_fifth][one_fifth]✓[/one_fifth][one_fifth]✓[/one_fifth][one_fifth_last][/one_fifth_last]

[one_fifth]GPIO11[/one_fifth][one_fifth][/one_fifth][one_fifth]✓[/one_fifth][one_fifth]✓[/one_fifth][one_fifth_last][/one_fifth_last]

[one_fifth]GPIO12[/one_fifth][one_fifth]✓[/one_fifth][one_fifth]✓[/one_fifth][one_fifth]✓[/one_fifth][one_fifth_last][/one_fifth_last]

[one_fifth]GPIO13[/one_fifth][one_fifth]✓[/one_fifth][one_fifth]✓[/one_fifth][one_fifth]✓[/one_fifth][one_fifth_last][/one_fifth_last]

[one_fifth]GPIO14[/one_fifth][one_fifth][/one_fifth][one_fifth]✓[/one_fifth][one_fifth]✓[/one_fifth][one_fifth_last][/one_fifth_last]

[one_fifth]GPIO15[/one_fifth][one_fifth][/one_fifth][one_fifth]✓[/one_fifth][one_fifth]✓[/one_fifth][one_fifth_last][/one_fifth_last]

[one_fifth]GPIO16[/one_fifth][one_fifth]✓[/one_fifth][one_fifth]✓[/one_fifth][one_fifth]✓[/one_fifth][one_fifth_last][/one_fifth_last]

[one_fifth]GPIO17[/one_fifth][one_fifth]✓[/one_fifth][one_fifth]✓[/one_fifth][one_fifth]✓[/one_fifth][one_fifth_last][/one_fifth_last]

[one_fifth]GPIO18[/one_fifth][one_fifth][/one_fifth][one_fifth]✓[/one_fifth][one_fifth]✓[/one_fifth][one_fifth_last][/one_fifth_last]

[one_fifth]GPIO19[/one_fifth][one_fifth][/one_fifth][one_fifth]✓[/one_fifth][one_fifth]✓[/one_fifth][one_fifth_last][/one_fifth_last]

[one_fifth]GPIO20[/one_fifth][one_fifth][/one_fifth][one_fifth]✓[/one_fifth][one_fifth][/one_fifth][one_fifth_last][/one_fifth_last]

[one_fifth]GPIO21[/one_fifth][one_fifth][/one_fifth][one_fifth]✓[/one_fifth][one_fifth][/one_fifth][one_fifth_last][/one_fifth_last]

[one_fifth]GPIO22[/one_fifth][one_fifth][/one_fifth][one_fifth][/one_fifth][one_fifth][/one_fifth][one_fifth_last][/one_fifth_last]

[one_fifth]GPIO26[/one_fifth][one_fifth✓][/one_fifth][one_fifth][/one_fifth][one_fifth][/one_fifth]✓[one_fifth_last][/one_fifth_last]

[one_fifth]GPIO27[/one_fifth][one_fifth]✓[/one_fifth][one_fifth][/one_fifth][one_fifth][/one_fifth]✓[one_fifth_last]✓[/one_fifth_last]

[one_fifth]GPIO28[/one_fifth][one_fifth][/one_fifth][one_fifth][/one_fifth][one_fifth][/one_fifth][one_fifth_last]✓[/one_fifth_last]

**Power Pins**

The Pico runs on 3.3 V logic levels. While VBUS is generally 5 V, it is not recommended to power other devices from it.

[one_third]**Pin Name**[/one_third][one_third]**Pin Number(s)**[/one_third][one_third_last]**Description**[/one_third_last]

[one_third]3.3 V[/one_third][one_third]36[/one_third][one_third_last]3.3V Power Source[/one_third_last]

[one_third]3.3 V EN[/one_third][one_third]37[/one_third][one_third_last]SMPS/Regulator enable pin. Shorting this to ground disables 3.3 V output and also turns off the Pico[/one_third_last]

[one_third]RUN[/one_third][one_third]30[/one_third][one_third_last]RP2040 enable pin. Shorting this to ground resets the RP2040[/one_third_last]

[one_third]VBUS[/one_third][one_third]40[/one_third][one_third_last]The microUSB input voltage, usually 5V [/one_third_last]

[one_third]VSYS[/one_third][one_third]39[/one_third][one_third_last]System voltage used by the SMPS/Regulator to provide 3.3V to RP2040. Can be between 1.8V to 5.5V[/one_third_last]

[one_third]GND[/one_third][one_third]3,8,13,18,33,28,23[/one_third][one_third_last]Ground[/one_third_last]

[one_third]ADC_VREF[/one_third][one_third]35[/one_third][one_third_last]Reference voltage for the analog-to-digital converter[/one_third_last]

**SWD Pins**

The SWD pins are used to reprogram the Raspberry Pi Pico's flash memory or for interactive code debugging.

[one_half]**Pin Name**[/one_half][one_half_last]**Description**[/one_half_last]

[one_half]SWDIO[/one_half][one_half_last]SWD data pin[/one_half_last]

[one_half]SWCLK[/one_half][one_half_last]SWD clock pin[/one_half_last]

[one_half]GND[/one_half][one_half_last]Ground pin[/one_half_last]