SAMD21 M0-Mini, 32-bit ARM Cortex-M0+ Development Board
Overview
The RobotDyn SAMD21 M0-Mini is a compact Arduino M0-compatible board based on the Atmel SAMD21G18 — the same chip used in the official Arduino Zero. It runs at 48 MHz (3× faster than ATmega328) with a 32-bit ARM Cortex-M0+ core, includes native USB (no separate USB-serial chip needed), and provides a 12-bit ADC and 10-bit DAC.
The Pro Mini-like form factor (56.5 × 18 mm) makes it ideal for embedded projects that need more processing power than an ATmega without the bulk of a full UNO/Mega board.
Why SAMD21 vs. ATmega?
| Feature | ATmega328P (Uno) | SAMD21G18 (M0-Mini) |
|---|---|---|
| Core | 8-bit AVR | 32-bit ARM Cortex-M0+ |
| Clock | 16 MHz | 48 MHz |
| Flash | 32 KB | 256 KB (8×) |
| SRAM | 2 KB | 32 KB (16×) |
| ADC resolution | 10-bit | 12-bit |
| DAC | none | 10-bit |
| Native USB | no | yes |
| Logic level | 5 V | 3.3 V only |
⚠️ 3.3 V Logic Warning
The SAMD21 is NOT 5 V-tolerant. Connecting a 5 V signal directly to any GPIO will likely destroy the pin. If you’re migrating from a 5 V Arduino with 5 V sensors:
- Use a level shifter (BSS138 or TXB0108)
- Or use sensors that operate at 3.3 V
Pinout
20 GPIO pins broken out, plus power (3.3 V, 5 V from USB, GND) and reset. The DAC output is on A0 (analog pin).
Programming
Native USB means no driver installation on macOS/Linux. Windows may install a generic CDC driver automatically.
- Install the Arduino SAMD Boards core via Boards Manager
- Tools → Board → Arduino M0
- Upload as normal
Common Uses
- Battery-powered IoT sensors (low-power Cortex-M0+)
- Audio synthesis (10-bit DAC + 32 KB RAM for samples)
- USB MIDI / HID devices (native USB)
- Data logging with SD cards (SPI)
- Signal generators
Related Products
- SAMD21 M0 — full Arduino R3 form factor with same chip
Documentation
- Pinout PDF — coming soon
- DAC output examples — coming soon