The Arduino Nano RP2040 Connect has many pins and onboard sensors. Let's take a tour of the board.

Pinout Diagram

Power Pins

  • Two GND pins are marked with a white silkscreen box on the top of the board
  • 3.3V provides 3.3V out and is marked with a red box in the picture
  • VIN is marked with a teal box in the picture
  • +5V is marked with green in the picture. It only provides 5V if the VUSB pads are soldered together on the back of the board, shown in the picture below.

I2C, SPI and UART

Just like other RP2040 boards, the Arduino Nano RP2040 Connect has I2C, SPI and UART connections available on multiple pins. In CircuitPython, there are board objects for I2C, SPI and UART to utilize the defaults defined by Arduino. These pins are labeled and outlined in red in the photo above.

  • board.I2C() uses SCL/SDA
  • board.SPI() uses SCK/MOSI/MISO
  • board.UART() uses RX/TX

Digital and Analog Logic Pins

There are 13 digital and 4 analog pin objects defined in CircuitPython. The digital pins are available at D2-D12, A4-A5 and the analog pins are available at A0-A3.

A more detailed pinout graphic PDF is available from Arduino and details each pin's full capabilities.

Please note that pins A6 and A7 on the pinout diagram are not routed through the RP2040 and are not accessible through CircuitPython.

WiFi

The Nina W102 uBlox module is the connect part of the Arduino Nano RP2040 Connect. It interfaces with the RP2040 microcontroller over SPI, which means that you can use the CircuitPython ESP32 SPI libraries to connect to WiFi. The SPI pins used for the module are not the board's default SPI pins. There is a secondary SPI connected to it and its definition in CircuitPython are as follows:

  • esp32_cs = DigitalInOut(board.CS1)
  • esp32_ready = DigitalInOut(board.ESP_BUSY)
  • esp32_reset = DigitalInOut(board.ESP_RESET)
  • spi = busio.SPI(board.SCK1, board.MOSI1, board.MISO1)

Accelerometer and Gyroscope

The onboard IMU is an LSM6DSOXTR and there is a CircuitPython library available for it. It has accelerometer and gyroscope capabilities and is controlled over I2C (board.I2C).

Microphone

The MP34DT05 is the onboard PDM microphone. Its control pins are available as an object in CircuitPython.

  • board.MICROPHONE_DATA
  • board.MICROPHONE_CLOCK

LEDs

There are two LEDs on the Arduino Nano RP2040 Connect. The power LED is outlined in green in the photo above. It turns on when the board is receiving power.

The built-in LED is defined as an object in CircuitPython as board.LED. It's outlined in red in the photo above.

This guide was first published on Jun 04, 2021. It was last updated on 2021-06-04 14:46:06 -0400.

This page (Pinouts) was last updated on Sep 18, 2021.

Text editor powered by tinymce.