Adafruit Metro RP2040

SKU: ADA5786 Brand: Adafruit

Choo! Choo! This is the RP2040 Metro Line, making all station stops at "Dual Cortex M0+...

$32.10 AUD, inc GST
$29.18 AUD, exc GST

Available with a lead time
Expect dispatch between May 20 and May 23

Quantity Discounts:

  • 10-25 $28.02 (exc GST)
  • 25+ $27.14 (exc GST)
- +

0 from local stock, 1 supplier stock; your order will dispatch between Dec 1 to Dec 10. And yes, stock levels and lead times are accurate!

Shipping:

  • $6+ Standard (5+ days*, tracked)
  • $10+ Express (2+ days*, tracked)
  • FREE Pickup (Newcastle only - must order online*)

Shipping costs may increase for heavy products or large orders.

Exact shipping can be calculated on the view cart page.

*Conditions apply, see shipping tab below.

Choo! Choo! This is the RP2040 Metro Line, making all station stops at "Dual Cortex M0+ mountain", "264K RAM round-about" and "16 Megabytes of Flash town". This train is pile high with hardware that complements the Raspberry Pi RP2040 chip to make it an excellent development board for projects that want Arduino-shape-compatibility or just need the extra space and debugging ports.

  • RP2040 main chip, 133MHz clock, 3.3V logic
  • 16 MB of QSPI flash for program storage
  • 24 GPIO, 4 of which are also analog inputs
  • Micro SD card wired up for SPI interfacing, also has extra pins connected for advanced-user SDIO interfacing (note that there's no released usage code for SDIO in Arduino/Python, so this is a super-cutting-edge setup)
  • Onboard RGB NeoPixel
  • Onboard #13 LED
  • Stemma QT port for I2C peripherals and sensors
  • Reset and Boot buttons on PCB edge
  • Pico Probe debug port - 3 pin JST SH compatible
  • SWD debug port - 2x5 0.05" standard connector
  • USB Type C power and data
  • 5.5mm / 2.1mm DC jack for 6-12VDC power
  • On/off switch for DC jack
  • GPIO pin numbers match classic Arduino pins, other than A4/A5 which are D24 and D25 (there's only 4 ADC pins on the RP2040)
  • RX / TX switch for swapping D0 and D1 locations

You may be wondering about the RX-TX switch: Adafruit added this because traditional Arduino board start counting the GPIO for the digital pins with 0-7 and then 8-13. However, the D0/D1 pins are also traditionally the hardware UART Serial1, where D0 is Rx and D1 is Tx. On the RP2040, however, the UART pins are the other around: D0 is Tx and D1 is Rx. Thus a DPDT switch: flip one way to have the GPIO go in order of 0-7, flip the other way to have the logical locations of the hardware UART correct but now the pin order is 1, 0, 2, 3..7. Of course, it's also handy if, like us, you often swap the pins - now you don't need to require or cut/solder traces!

About the RP2040

The RP2040 is a powerful chip, which has the clock speed of Adafruit's M4 (SAMD51), and two cores that are equivalent to Adafruit's M0 (SAMD21). Since it is an M0 chip, it does not have a floating point unit or DSP hardware support - so if you're doing something with heavy floating-point math, it will be done in software and thus not as fast as an M4. For many other computational tasks, you'll get close-to-M4 speeds!

For peripherals, there are two I2C controllers, two SPI controllers, and two UARTs that are multiplexed across the GPIO - check the pinout for what pins can be set to which. There are 16 PWM channels, each pin has a channel it can be set to (ditto on the pinout).

You'll note there's no I2S peripheral, or SDIO, or camera, what's up with that? Well, instead of having specific hardware support for serial-data-like peripherals like these, the RP2040 comes with the PIO state machine system, which is a unique and powerful way to create custom hardware logic and data processing blocks that run on their own without taking up a CPU. For example, NeoPixels - often Adafruit bitbang the timing-specific protocol for these LEDs. For the RP2040, Adafruit instead use PIO object that reads in the data buffer and clocks out the right bitstream with perfect accuracy. Same with I2S audio in or out, LED matrix displays, 8-bit or SPI based TFTs, even VGA! In MicroPython and CircuitPython, you can create PIO control commands to script the peripheral and load it in at runtime. There are 2 PIO peripherals with 4 state machines each.

There is great C/C++ supportunofficial (but really good) Arduino support, an official MicroPython port, and a CircuitPython port! We, of course, recommend CircuitPython because we think it's the easiest way to get started, and it has support with most of Adafruit's drivers, displays, sensors, and more, supported out of the box so you can follow along with Adafruit's CircuitPython projects and tutorials.

While the RP2040 has lots of onboard RAM (264KB), it does not have built-in FLASH memory. Instead, that is provided by the external QSPI flash chip. On this board, there is 16 MB, which is shared between the program it's running and any file storage used by MicroPython or CircuitPython. When using C/C++, you get the whole flash memory, if using Python, you will have about 7 MB remaining for code, files, images, fonts, etc.

RP2040 Chip features:

  • Dual ARM Cortex-M0+ @ 133MHz
  • 264kB on-chip SRAM in six independent banks
  • Support for up to 16MB of off-chip Flash memory via dedicated QSPI bus
  • DMA controller
  • Fully-connected AHB crossbar
  • Interpolator and integer divider peripherals
  • On-chip programmable LDO to generate core voltage
  • 2 on-chip PLLs to generate USB and core clocks
  • 30 GPIO pins, 4 of which can be used as analog inputs
  • Peripherals
    • 2 UARTs
    • 2 SPI controllers
    • 2 I2C controllers
    • 16 PWM channels
    • USB 1.1 controller and PHY, with host and device support
    • 8 PIO state machines

This product is listed in:

Raspberry Pi>Pico>RP2040 Boards

Product Comments

Exact shipping can be calculated on the view cart page (no login required).

Products that weigh more than 0.5 KG may cost more than what's shown (for example, test equipment, machines, >500mL liquids, etc).

We deliver Australia-wide with these options (depends on the final destination - you can get a quote on the view cart page):

  • $3+ for Stamped Mail (typically 10+ business days, not tracked, only available on selected small items)
  • $6+ for Standard Post (typically 6+ business days, tracked)
  • $10+ for Express Post (typically 2+ business days, tracked)
  • Pickup - Free! Only available to customers who live in the Newcastle region (must order online and only pickup after we email to notify you the order is ready). Orders placed after 2PM may not be ready until the following business day.

Non-metro addresses in WA, NT, SA & TAS can take 2+ days in addition to the above information.

Some batteries (such as LiPo) can't be shipped by Air. During checkout, Express Post and International Methods will not be an option if you have that type of battery in your shopping cart.

International Orders - the following rates are for New Zealand and will vary for other countries:

  • $11+ for Pack and Track (3+ days, tracked)
  • $16+ for Express International (2-5 days, tracked)

If you order lots of gear, the postage amount will increase based on the weight of your order.

Our physical address (here's a PDF which includes other key business details):

Unit 18, 132 Garden Grove Parade
Adamstown
NSW, 2289
Australia

Take a look at our customer service page if you have other questions such as "do we do purchase orders" (yes!) or "are prices GST inclusive" (yes they are!). We're here to help - get in touch with us to talk shop.

Have a product question? We're here to help!

Write Your Own Review

Videos

View All

Guides

Raspberry Pi 5 Vs Raspberry Pi 4 Model B | Comparison & Benchmarking

The Raspberry Pi 5 is here and one of the biggest questions is, how does it stack up against the pr...
The Raspberry Pi 5 is here and one of the biggest questions is, how does it stack up against the pr...

Raspberry Pi 5 | Review, Performance & Benchmarks

The Raspberry Pi 5 is here! Our favourite credit card-sized computer has just gotten an update and ...
The Raspberry Pi 5 is here! Our favourite credit card-sized computer has just gotten an update and ...

3D Printed Case For Raspberry Pi Pico and PiicoDev Boards

Let me introduce a new 3D printable case for the Raspberry Pi Pico and the PiicoDev ecosystem. There...
Let me introduce a new 3D printable case for the Raspberry Pi Pico and the PiicoDev ecosystem. There...

Upgrade your Project for the Raspberry Pi 4

The New Version of the Raspberry Pi 4 has started going out to makers everywhere. If you are wanting...
The New Version of the Raspberry Pi 4 has started going out to makers everywhere. If you are wanting...

Projects

safePower

I like working with the Pi Zero W and Pi 4 as they are very compact, very powerful and very cheap fo...
I like working with the Pi Zero W and Pi 4 as they are very compact, very powerful and very cheap fo...

ESP32 IR-Triggered Camera with Home Assistant Integration

I love the ESP line-up. I started by messing around with the ESP8266 and I completely fell in love w...
I love the ESP line-up. I started by messing around with the ESP8266 and I completely fell in love w...

LuMa 1 - The Neo Disco Ball

It is real and here it is! Including everything you need to make one a Luma 1 for yourself! S...
It is real and here it is! Including everything you need to make one a Luma 1 for yourself! S...

Educational Workshops

Raspberry Pi Workshop for Beginners

Welcome to the Raspberry Pi Workshop for Beginners! Here you'll be able to follow along with our s...
Welcome to the Raspberry Pi Workshop for Beginners! Here you'll be able to follow along with our s...
Feedback

Please continue if you would like to leave feedback for any of these topics:

  • Website features/issues
  • Content errors/improvements
  • Missing products/categories
  • Product assignments to categories
  • Search results relevance

For all other inquiries (orders status, stock levels, etc), please contact our support team for quick assistance.

Note: click continue and a draft email will be opened to edit. If you don't have an email client on your device, then send a message via the chat icon on the bottom left of our website.

Makers love reviews as much as you do, please follow this link to review the products you have purchased.