# Adafruit Metro RP2040

> Arduino-Uno-compatible development board powered by the RP2040 with 16MB QSPI flash, microSD slot, STEMMA QT, onboard NeoPixel, USB-C, and an RX/TX switch for serial flexibility.

## Quick Facts

- **Brand:** Adafruit
- **Board Type:** dev-board
- **Price:** ~$14.95
- **Product Readiness:** developer
- **CPU:** RP2040
- **CPU Architecture:** ARM Cortex-M0+
- **CPU Cores:** 2
- **RAM:** 264 KB
- **Flash:** 16MB
- **Power:** 5V via USB-C or 6-12V DC barrel jack
- **Operating Voltage:** 3.3V
- **SD Card:** microSD

## Open Source

- **Firmware:** Yes
- **Schematics:** No
- **PCB Layout:** No

## Certifications

RoHS

## Compatible Firmware

circuitpython, micropython, arduino, C/C++

## Use Cases

- prototyping
- education
- data-logging
- iot
- arduino-shields

## Components

- **RP2040** (mcu): Dual-core ARM Cortex-M0+ at 133 MHz, 264KB SRAM, 8 PIO state machines. — [Datasheet](https://openhardware.directory/r?to=https%3A%2F%2Fdatasheets.raspberrypi.com%2Frp2040%2Frp2040-datasheet.pdf&ref=openhardware.directory&product=adafruit-metro-rp2040&source=md-export)
- **NeoPixel RGB LED** (led): Onboard addressable RGB NeoPixel for status indication. — [Datasheet](https://openhardware.directory/r?to=https%3A%2F%2Fcdn-shop.adafruit.com%2Fdatasheets%2FWS2812B.pdf&ref=openhardware.directory&product=adafruit-metro-rp2040&source=md-export)

## Protocols

- **I2C**: SDA: GPIO22, SCL: GPIO23
- **SPI**: MOSI: GPIO19, MISO: GPIO20, SCK: GPIO18
- **UART**: TX: GPIO1, RX: GPIO0
- **SWD**: 

## GPIO Map

| Pin | Name | Type | Functions |
|-----|------|------|-----------|
| GPIO0 | D0 / RX | UART | uart-rx, digital |
| GPIO1 | D1 / TX | UART | uart-tx, digital |
| GPIO2 | D2 | GPIO | digital, pwm |
| GPIO3 | D3 | GPIO | digital, pwm |
| GPIO4 | D4 | GPIO | digital, pwm |
| GPIO5 | D5 | GPIO | digital, pwm |
| GPIO6 | D6 | GPIO | digital, pwm |
| GPIO7 | D7 | GPIO | digital, pwm |
| GPIO8 | D8 | GPIO | digital, pwm |
| GPIO9 | D9 | GPIO | digital, pwm |
| GPIO10 | D10 | GPIO | digital, pwm |
| GPIO11 | D11 | GPIO | digital, pwm |
| GPIO12 | D12 | GPIO | digital, pwm |
| GPIO13 | D13 | GPIO | digital, pwm |
| GPIO18 | SCK | SPI | spi-sck, digital |
| GPIO19 | MOSI | SPI | spi-mosi, digital |
| GPIO20 | MISO | SPI | spi-miso, digital |
| GPIO22 | SDA | I2C | i2c-sda, digital |
| GPIO23 | SCL | I2C | i2c-scl, digital |
| GPIO26 | A0 | GPIO | analog, digital |
| GPIO27 | A1 | GPIO | analog, digital |
| GPIO28 | A2 | GPIO | analog, digital |
| GPIO29 | A3 | GPIO | analog, digital |

## Available Software

- **[CircuitPython](https://openhardware.directory/r?to=https%3A%2F%2Fcircuitpython.org%2Fdownloads&ref=openhardware.directory&product=adafruit-metro-rp2040&source=md-export)**
- **[Pico SDK](https://openhardware.directory/r?to=https%3A%2F%2Fgithub.com%2Fraspberrypi%2Fpico-sdk&ref=openhardware.directory&product=adafruit-metro-rp2040&source=md-export)**

## Description

## Overview

The Adafruit Metro RP2040 brings the powerful Raspberry Pi RP2040 microcontroller into an Arduino Uno-compatible form factor, enabling use with the vast ecosystem of Arduino shields. Unlike typical Metro boards, it provides 16 MB of QSPI flash, a microSD card slot (supporting both SPI and advanced SDIO modes), and a dedicated STEMMA QT connector for plug-and-play I2C sensor attachment.

The RP2040 features dual ARM Cortex-M0+ cores at 133 MHz, 264 KB SRAM, 8 programmable PIO state machines for custom hardware interfaces, and a built-in USB 1.1 controller with host and device support. The Metro RP2040 exposes 24 GPIO pins with 4 analog inputs and 16 PWM channels. A DPDT switch allows swapping the D0/D1 serial pins for greater wiring flexibility, and a 3-pin JST SH Pico Probe debug connector plus a standard 2×5 SWD header are included for debugging.

Power input options include USB Type-C (data and power) and a 5.5mm/2.1mm DC barrel jack (6–12V). An onboard NeoPixel, red LED on pin 13, reset and boot buttons, and an on/off power switch for the DC jack are included, along with four rubber bumper feet for desk use. Fully supported by CircuitPython, MicroPython (official port), and informal Arduino support.

## Where to Buy

- [Adafruit](https://openhardware.directory/r?to=https%3A%2F%2Fwww.adafruit.com%2Fproduct%2F5786&ref=openhardware.directory&product=adafruit-metro-rp2040&source=md-export) — 14.95

## Resources

- [product](https://openhardware.directory/r?to=https%3A%2F%2Fwww.adafruit.com%2Fproduct%2F5786&ref=openhardware.directory&product=adafruit-metro-rp2040&source=md-export)
- [learn guide](https://openhardware.directory/r?to=https%3A%2F%2Flearn.adafruit.com%2Fadafruit-metro-rp2040&ref=openhardware.directory&product=adafruit-metro-rp2040&source=md-export)

## Tags

`adafruit`, `metro`, `rp2040`, `arduino-compatible`, `circuitpython`, `microsd`, `pio`, `stemma`

## Images

![Adafruit Metro RP2040](https://nbg1.your-objectstorage.com/openhardware-directory/entities/adafruit-metro-rp2040/9cee957b3c66.jpg)
![Adafruit Metro RP2040](https://nbg1.your-objectstorage.com/openhardware-directory/entities/adafruit-metro-rp2040/e7f3b06819e9.jpg)
![Adafruit Metro RP2040](https://nbg1.your-objectstorage.com/openhardware-directory/entities/adafruit-metro-rp2040/5702ea0312f0.jpg)

---
[View full device page](https://openhardware.directory/devices/adafruit-metro-rp2040)