The overview, with examples running, is on the board page.
The Arduino Nano RP2040 Connect
The Pico's RP2040 on the classic Nano outline, with the Nano's pin names and an LED on D13.
What it is
The same RP2040 as the Raspberry Pi Pico, a Cortex-M0+, on a board 45 by 18 mm with two fifteen-pin rows 0.6 inch apart. 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.
Pin numbers: by GPIO number
Mokxi builds this board the way the arduino-pico core's "Arduino Nano RP2040
Connect" does: a bare number is a GPIO, and the Nano's names are defined as
GPIO numbers. So write D13, A0 and LED_BUILTIN, not bare numbers.
Arduino's own Mbed core numbers the pins the Arduino way instead; the names
mean the same pins under both.
| Pin | GPIO | Also |
|---|---|---|
RX (D0) |
1 | UART RX |
TX (D1) |
0 | UART TX |
D2 |
25 | |
D3 to D9 |
15 to 21 | |
D10 |
5 | SPI SS |
D11 |
7 | SPI MOSI |
D12 |
4 | SPI MISO |
D13 |
6 | SPI SCK, the LED |
A0 to A3 |
26 to 29 | |
A4, A5 |
12, 13 | I2C SDA, SCL |
A6, A7 |
none | the radio module's |
What is left open
A6 and A7 are pins of the NINA-W102, not of the RP2040, so they are open.
5V carries the USB rail only once the board's VUSB jumper is bridged, which
it is not out of the box, so it is open too, as are VIN and AREF. Both
RESET pins hold the chip in reset when pulled low.
The LED
LED_BUILTIN is the LED on D13 (GPIO 6), which lights when the pin is HIGH.
The RGB LED on the real board belongs to the radio module and stays dark.
What is not modeled
The NINA-W102 (WiFi, Bluetooth and the RGB LED: WiFiNINA.h has nothing to
talk to), the LSM6DSOX and the crypto chip on the I2C bus (nothing answers at
their addresses) and the PDM microphone.
The RP2040's ADC is modeled, as on the Pico: analogRead() on A0 to A3
reads the voltage on the net, ten bits against 3.3 V by default. A4 and A5
are GPIO 12 and 13, with no converter behind them, so they read 0, and A6
and A7 belong to the radio module.
CircuitPython
Pick CircuitPython (code.py) in the board's Firmware panel and Run boots
the official CircuitPython 10.3.1 firmware built for the Nano RP2040 Connect.
board.LED is the LED on D13 (GPIO 6), and board.I2C() is on A4 and
A5. Your code.py is saved onto the board's CIRCUITPY drive over USB and
runs, and the Adafruit libraries it imports go into lib/ by themselves. The
drive is 1 MB here, where a real Nano's 16 MB flash leaves 15 MB. See
CircuitPython on the Pico, which covers
both boards.
Common mistakes
digitalWrite(13, HIGH) to light the LED. Here 13 is GPIO 13, which is A5.
Write digitalWrite(LED_BUILTIN, HIGH) or digitalWrite(D13, HIGH).
Starter project
Nano RP2040 button is the board across a breadboard with a pushbutton on
D2 lighting the LED on D13.