Source: https://mokxi.com/learn/nano-rp2040-connect-pinout
Updated: 2026-11-20

Learn

# Nano RP2040 Connect pinout: the Nano names and the GPIO behind each

Beginner

Written by the Mokxi team, updated November 20, 2026

Start building free Open the editor

Or see every lesson.

- 526 parts on the bench
- 46 boards running now
- 1.00x real time, on every board

Hold the button

A pushbutton on D2 of the Nano RP2040 Connect lights the LED on D13, with the RP2040’s own pull-up and the Nano’s pin names.

The Arduino Nano RP2040 Connect puts the same RP2040 chip as the Raspberry Pi Pico on the classic Nano outline, with the Nano's pin names and an LED on D13. It runs at 3.3 V logic. This page lists every pin and what it can do, so you can wire your circuit with confidence. Mokxi models the RP2040 and its pins only, not the extra chips on the real board.

Mokxi numbers pins the way the arduino-pico core does for this board. A bare number is a GPIO number, and the Nano's names are defined as GPIO numbers instead. So write D13, A0 and LED_BUILTIN rather than bare numbers. Arduino's own Mbed core numbers pins the Arduino way, but the names mean the same pins under both cores, so names are the safe choice.

## Every pin on the board

The table has one row for each of the 30 holes of the Nano RP2040 Connect in Mokxi, in the order of the part's pin list, which follows the board's headers. A row that says "Not a GPIO" is a supply, a ground or a control pin, and a sketch cannot drive it.

Every row below is worked out from the same board model the simulator runs: the pin list, the Circuit Doctor's pin data and the default bus pins.

Nano RP2040 Connect: every hole in Mokxi's pin list
Pin | Sketch name | What it can do | Watch out for

D12 | D12 (GPIO 4) | Digital in and out. PWM. SPI MISO (default). | 3.3 V logic.

D11 | D11 (GPIO 7) | Digital in and out. PWM. SPI MOSI (default). | 3.3 V logic.

D10 | D10 (GPIO 5) | Digital in and out. PWM. SPI SS (default). | 3.3 V logic.

D9 | D9 (GPIO 21) | Digital in and out. PWM. | 3.3 V logic.

D8 | D8 (GPIO 20) | Digital in and out. PWM. | 3.3 V logic.

D7 | D7 (GPIO 19) | Digital in and out. PWM. | 3.3 V logic.

D6 | D6 (GPIO 18) | Digital in and out. PWM. | 3.3 V logic.

D5 | D5 (GPIO 17) | Digital in and out. PWM. | 3.3 V logic.

D4 | D4 (GPIO 16) | Digital in and out. PWM. | 3.3 V logic.

D3 | D3 (GPIO 15) | Digital in and out. PWM. | 3.3 V logic.

D2 | D2 (GPIO 25) | Digital in and out. PWM. | 3.3 V logic.

GND | - | Ground. | -

RESET | - | The board's RESET pin. | Not a GPIO. Pulled low, it holds the chip in reset.

TX | D1 (GPIO 0) | Digital in and out. PWM. UART TX. | 3.3 V logic.

RX | D0 (GPIO 1) | Digital in and out. PWM. UART RX. | 3.3 V logic.

D13 | D13 (GPIO 6) | Digital in and out. PWM. SPI SCK (default). The on-board LED is on this pin. | 3.3 V logic.

3V3 | - | A 3.3 V power pin: 3V3. | Not a GPIO.

AREF | - | The board's AREF pin. | Not a GPIO. Open as the board ships.

A0 | A0 (GPIO 26) | Digital in and out. Analog in. PWM. | 3.3 V logic.

A1 | A1 (GPIO 27) | Digital in and out. Analog in. PWM. | 3.3 V logic.

A2 | A2 (GPIO 28) | Digital in and out. Analog in. PWM. | 3.3 V logic.

A3 | A3 (GPIO 29) | Digital in and out. Analog in. PWM. | 3.3 V logic.

A4 | A4 (GPIO 12) | Digital in and out. PWM. I2C SDA (default). | 3.3 V logic.

A5 | A5 (GPIO 13) | Digital in and out. PWM. I2C SCL (default). | 3.3 V logic.

A6 | - | The board's A6 pin. | Not a GPIO. Open: it belongs to the radio module, which Mokxi does not model.

A7 | - | The board's A7 pin. | Not a GPIO. Open: it belongs to the radio module, which Mokxi does not model.

5V | - | A 5 V power pin: 5V. | Not a GPIO. Open as the board ships: the USB rail reaches it only once the VUSB jumper is bridged.

RESET | - | The board's RESET pin. | Not a GPIO. Pulled low, it holds the chip in reset.

GND | - | Ground. | -

VIN | - | A power input pin: VIN. | Not a GPIO. Open as the board ships.

## How to read the table

The Pin column is what is printed on the board. The Sketch name column is what a sketch writes, with the GPIO number in brackets, because a bare number on this board is a GPIO number: write D13 and A0, not 13 and 0. RX is D0 and TX is D1.

A hole that has no sketch name is a supply, a ground or a control pin. It is listed so the table matches the board, hole for hole.

## Power and ground pins

The Nano RP2040 Connect has 2 ground holes in its pin list. Its 5 V pins are 5V. Its 3.3 V pins are 3V3. Its power input pins are VIN. Pins named for a job, not for a GPIO, are RESET, AREF, A6, A7 and RESET. A sketch cannot drive any of these with digitalWrite.

## PWM and analog pins

Every GPIO pad can drive PWM with analogWrite: every GPIO pad.

These pins can read an analog voltage with analogRead: A0, A1, A2 and A3. The pins run at 3.3 V.

## The default I2C and SPI pins

Wire uses SDA on A4 (GPIO 12) and SCL on A5 (GPIO 13).

SPI uses SCK on D13 (GPIO 6), MISO on D12 (GPIO 4), MOSI on D11 (GPIO 7) and SS on D10 (GPIO 5).

## Which pin should I use for what?

For an LED, a buzzer or a switch, any GPIO row in the table will do. For dimming, pick a PWM pin: every GPIO pad. For a potentiometer or an analog sensor, use A0, A1, A2 and A3. For an I2C module, wire SDA to A4 (GPIO 12) and SCL to A5 (GPIO 13). For an SPI module, wire SCK to D13 (GPIO 6), MISO to D12 (GPIO 4) and MOSI to D11 (GPIO 7), and use D10 (GPIO 5) for SS. The pins run at 3.3 V logic.

## Analog pins and PWM

Only A0, A1, A2 and A3 have a converter behind them. analogRead() on those pins reads the voltage on the net, ten bits against 3.3 V by default. A4 and A5 are plain GPIO pins with no converter, so they read 0 when you try analogRead() on them.

Every pin in the two lists on this page can do PWM. That means all of D0 to D13 plus A0 to A5. Use analogWrite() to fade an LED or drive a motor with any of them.

A6 and A7 are pins of the radio module, not of the RP2040, so they are open. Nothing you write can reach them.

## The LED and open pins

LED_BUILTIN is the LED on D13 (GPIO 6), and it lights when the pin is HIGH. The RGB LED on the real board belongs to the radio module and stays dark in Mokxi.

5V carries the USB rail only if the board's VUSB jumper is bridged, which it is not out of the box, so it is open. VIN and AREF are open too. Both RESET pins hold the chip in reset when pulled low.

The radio module, the IMU, the crypto chip and the microphone are not modeled. Nothing answers at their I2C addresses, and WiFiNINA.h has nothing to talk to.

## What is on the real board and what Mokxi runs

The board is 45 by 18 mm with two fifteen-pin rows 0.6 inch apart. Its chip is the same RP2040 as the Raspberry Pi Pico, a Cortex-M0+.

The real board also carries a u-blox NINA-W102 radio module, an LSM6DSOX IMU, a crypto chip and a PDM microphone. Mokxi runs the RP2040 and its pins, and none of the others.

Open this circuit in the editor. Nano RP2040 Connect: a button lights D13, wired as it runs at the top of this page. Change a part or a value and run it again.
Open the circuit

## Questions

What are the Nano RP2040 Connect I2C pins?

SDA is A4 (GPIO 12) and SCL is A5 (GPIO 13).

What are the Nano RP2040 Connect SPI pins?

SCK is D13 (GPIO 6), MISO is D12 (GPIO 4), MOSI is D11 (GPIO 7) and SS is D10 (GPIO 5).

Why doesn't digitalWrite(13, HIGH) light the LED?

Here 13 is GPIO 13, which is `A5`. Write `digitalWrite(LED_BUILTIN, HIGH)` or `digitalWrite(D13, HIGH)` instead.

Can I read analog values on A4 and A5?

No. `A4` and `A5` are GPIO 12 and 13, with no converter behind them, so they read `0`. Use `A0` to `A3` for `analogRead()`.

Do A6 and A7 work?

No. They are pins of the radio module, not of the RP2040, so they are open and nothing can reach them.

Can I use WiFi or Bluetooth?

No. The radio module is not modeled, so `WiFiNINA.h` has nothing to talk to. The IMU, crypto chip and microphone are not modeled either.

Which pins does I2C use?

I2C is on `A4` for `SDA` and `A5` for `SCL`. In CircuitPython, `board.I2C()` uses those same pins.

Related

## Keep going

Raspberry Pi Pico Pinout: GPIO, PWM, ADC and Power Arduino Nano Pinout: PWM, I2C, SPI, A6 and A7 RP2040-Zero Pinout: All 23 Pins, NeoPixel, PWM, ADC Run the Nano RP2040 Connect in the simulator Help: the Nano RP2040 Connect model The project page, with the full sketch Beginner

## Build this for real

Open the editor, change a value and watch the number move with it. Nothing to install, and no account needed.

Start building free Open the editor
