Adafruit Trinket M0 - image 1
1 / 8
Adafruit·Dev Board

Adafruit Trinket M0

Ultra-compact ATSAMD21E18 ARM Cortex-M0+ board at 48 MHz with 256KB flash, 32KB RAM, 5 GPIO pins, built-in RGB DotStar LED, capacitive touch, native USB, and CircuitPython support. Weighs just 1.4g in 27mm × 15mm form factor.

Starting from

$8.95

Compatible Firmware

Specifications

ArchitectureARM Cortex-M0+
CPU Cores1
Clock Speed48 MHz
Flash256KB
GPIO Level3.3V
Antennanone
Storagenone
Dimensions27 × 15.3 × 2.75 mm
Weight1.4g

Components

MCUMCUDatasheet

ARM Cortex-M0+ at 48MHz, 256KB flash, 32KB SRAM, native USB supporting serial/HID/MIDI.

Bus Interfaces

SPI
MISO: PA06MOSI: PA07
I2C
SCL: PA07SDA: PA06
UART
RX: PA08TX: PA02
USB

GPIO Map

PA08
D0 — GPIO / UART RX / Analog / Capacitive Touch
digital-inputdigital-outputanalog-input
UART
PA02
D1 — GPIO / UART TX / Analog / Capacitive Touch / DAC
digital-inputdigital-outputanalog-inputanalog-output
UART
PA09
D2 — GPIO / Analog / Capacitive Touch
digital-inputdigital-outputanalog-input
PA07
D3/SCL — GPIO / I2C SCL / PWM / SPI MOSI / Analog
digital-inputdigital-outputanalog-inputpwm
I2C
PA06
D4/SDA — GPIO / I2C SDA / PWM / SPI MISO / Analog
digital-inputdigital-outputanalog-inputpwm
I2C

Overview

The Adafruit Trinket M0 is the smallest ARM Cortex-M0+ board in Adafruit's lineup, measuring just 27 × 15.3 mm and weighing 1.4 grams. Despite its tiny size, it runs the ATSAMD21E18 at 48 MHz with 256KB of flash and 32KB of SRAM — the same chip architecture used in the much larger Feather M0.

All five GPIO pins are independently usable (none are shared with USB), and all support 12-bit analog input. Three pins support hardware capacitive touch for touch-sensitive applications without any additional hardware. A true DAC output is available on one pin, and two high-speed PWM outputs are provided.

The built-in RGB DotStar LED (APA102-style) can be used for status indication or creative effects. The board also has a DMA-capable NeoPixel pin and enough memory to drive 8000+ NeoPixels or DotStars in sequence — despite the board's tiny size. A green power LED and red pin #13 LED round out the onboard indicators.

CircuitPython runs natively on the Trinket M0, allowing Python scripts to be developed without any compilation step — just copy a .py file onto the USB drive. The Arduino IDE is also fully supported. The Trinket M0 is ideal for small form factor projects, wearables, embedded installations, and anywhere you need a capable microcontroller in the smallest possible footprint.

Use Cases

5

Resources

Where to Buy

Explore more of the directory — popular use cases, firmware, and specs to browse next.