Pinout

Pin assignment of the EduRP2040.

Header J1 (left side)

Phys pinGPIOAlternative function
1GNDGround
23V33.3 V output
3GP0UART0 TX / I2C0 SDA
4GP1UART0 RX / I2C0 SCL
5GP2SPI0 SCK
6GP3SPI0 MOSI
7GP4SPI0 MISO
8GP5SPI0 CS

Header J2 (right side)

Phys pinGPIOAlternative function
1GNDGround
2VBUS5 V from USB
3GP26ADC0
4GP27ADC1
5GP28ADC2
6GP15PWM7B
7GP14PWM7A
8GP13PWM6B

On-board peripherals

LabelGPIOType
LED1GP25Output
LED2GP16Output
LED3GP17Output
NEOPIXGP18WS2812
BTN_USRGP20Input (pull-up)

Remember all GPIOs are PWM-capable, and many share ADC, SPI, I2C, UART roles.

Comments

...