Store

Adafruit

5.0 (1 review)

$17.83 |
In stock
5.0 (1 review)

The Adafruit Trinket M0 is a tiny but powerful microcontroller board built around the ATSAMD21E18 32-bit Cortex M0+ processor. It shares the same compact for...

Estimated Delivery
Arrives
Disclaimer
View Markdown
Secure checkout

The Adafruit Trinket M0 is a tiny but powerful microcontroller board built around the ATSAMD21E18 32-bit Cortex M0+ processor. It shares the same compact form factor and pinout as the original Trinket, but with a massive upgrade in processing power, memory, and connectivity — including native USB and support for both CircuitPython and the Arduino IDE.

The Trinket M0 ships with CircuitPython pre-loaded. Plug it in and it appears as a small USB drive with a main.py file — edit it with any text editor to start building your project in Python. No installs, IDE, or compiler needed, so it works on any computer including Chromebooks.

Key Features

  • ATSAMD21E18 Processor – 48 MHz 32-bit Cortex M0+, 256KB flash, 32KB RAM
  • CircuitPython & Arduino IDE – Ships with CircuitPython; also fully compatible with the Arduino IDE
  • Native USB – USB serial console, keyboard/mouse HID, and USB mass storage for Python scripts
  • 5 GPIO Pins – All independent (not shared with USB), with digital I/O and internal pull-ups/pull-downs
  • 3 Analog Inputs12-bit resolution on three I/O pins
  • True Analog Output – 10-bit DAC on one pin for audio playback
  • 2 PWM Outputs – For servos, LEDs, and more
  • 3 Capacitive Touch Pins – Hardware touch sensing with no additional components
  • Hardware I2C, SPI, and Serial – True hardware support (not bit-banged)
  • NeoPixel & DotStar Support – Drive 8000+ pixels from any pin, with DMA-NeoPixel support on one pin
  • Built-in LEDs – Green power LED, red pin #13 LED, and RGB DotStar LED
  • Automatic Power Switching – Powers from USB or external source, switches automatically
  • Reset Button – Restart your code or enter bootloader mode
  • Mounting Holes – For secure installation

Ideal For

  • CircuitPython and Arduino projects in a compact form factor
  • USB HID devices (custom keyboards, mice, macro pads)
  • NeoPixel and DotStar LED projects
  • Wearable electronics and embedded builds
  • Learning Python on hardware

Package Contents

  • 1× Adafruit Trinket M0 (with CircuitPython and example code pre-loaded)

Resources

Jargon buster

Plain-language definitions for the technical terms used above.

12-bit resolution
12-bit resolution means the sensor’s measurement is divided into 4096 possible digital values. Higher resolution can make small changes in motion or tilt easier to detect, as long as the sensor range and noise are suitable for the project.
Bootloader
Small starter software on a microcontroller that lets new code be uploaded before the main program runs. Knowing how to enter bootloader mode matters when you need to program the board or recover it after a faulty sketch.
CircuitPython
A beginner-friendly version of Python designed to run directly on microcontroller boards. If a product supports CircuitPython, you can often program it by copying code files onto the board rather than setting up a more complex toolchain.
DAC
A digital-to-analogue converter turns numbers from the microcontroller into a real analogue voltage. It matters if you want to generate simple waveforms, audio-style signals, or variable control voltages rather than just on/off outputs.
GPIO
General-purpose input/output pins are microcontroller pins you can set in software to read signals, switch devices on and off, or connect to peripherals. The number of GPIO pins matters because it limits how many buttons, LEDs, sensors, and other parts you can wire directly to the board.
HID
Human Interface Device is a USB device class used for keyboards, mice, gamepads and similar controls. If a board supports HID over USB, it can act like an input device to a computer without needing a custom driver.
I2C
I2C is a two-wire communication bus used by many sensors and small modules. It matters because several I2C devices can share the same two wires, but each device needs a compatible address and your controller must support I2C.
IDE
Short for Integrated Development Environment, a program used to write, run and manage code. It matters because some learners prefer a traditional coding workspace instead of a guided notebook-style lesson.
LED
A light-emitting diode is a small electronic component that lights up when current flows through it in the correct direction. In this kit, LEDs create the flashing effect, so polarity and correct soldering matter for the project to work.
microcontroller
A microcontroller is a small computer on a chip that runs your program and controls connected inputs and outputs. For this product, it is the part that reads buttons and sensors, drives the display and speaker, and communicates over Bluetooth.
native USB
Native USB means the microcontroller itself handles USB communication, rather than using a separate USB-to-serial chip. This matters for programming, debugging, and projects that need the board to act directly as a USB device.
NeoPixel
A type of addressable LED system where colour data is sent along a single digital data line from one LED or controller to the next. Compatibility matters because the timing and signal format must match for the lights or driver board to respond correctly.
PWM
Pulse Width Modulation is a way for a digital pin to simulate variable output power by switching on and off very quickly. It matters for controlling things like LED brightness, motor speed, or servo-style signals from a microcontroller pin.
RAM
RAM is temporary memory used while a device is running, and its contents are lost when power is removed. A “Run in RAM” mode is useful for testing settings without permanently programming the module, but it may not support every feature.
RGB
Short for red, green and blue, usually referring to an LED that can mix those three colours. It matters because controlling an RGB LED teaches how separate outputs combine to create different colours.
SPI
A fast serial communication bus often used for displays, memory cards, and sensors. It matters because SPI devices need specific pins for clock and data, plus a separate chip-select line for each device.
UPS
An uninterruptible power supply is a battery-backed power system that keeps a device running when external power is unplugged or fails. For an embedded computer, it helps prevent sudden shutdowns that can corrupt files or interrupt a project.
USB mass storage
USB mass storage is the standard USB device class used by many flash drives and external storage devices. If a board supports it, your project may be able to read and write files on compatible USB storage, provided the software library also supports the device.
Stella
Stella Expert

Ask me anything about this product

Maddy, co-founder of Little Bird

Need help? We're here for you!

Hi, I'm Maddy. My team and I are ready to help with your order or any questions.