NEW PRODUCT – Adafruit Trinket M0 – for use with CircuitPython & Arduino IDE

3500 iso ORIG

NEW PRODUCT – Adafruit Trinket M0 – for use with CircuitPython & Arduino IDE


The Adafruit Trinket M0 may be small, but do not be fooled by its size! It’s a tiny microcontroller board, built around the Atmel ATSAMD21, a little chip with a lot of power. We wanted to design a microcontroller board that was small enough to fit into any project, and low cost enough to use without hesitation. Perfect for when you don’t want to give up your expensive dev-board and you aren’t willing to take apart the project you worked so hard to design. It’s our lowest-cost CircuitPython programmable board!

We’ve taken the same form factor we used for the original ATtiny85-based Trinket and gave it an upgrade. The Trinket M0 has swapped out the lightweight ATtiny85 for a ATSAMD21E18 powerhouse. It’s just as small, and it’s easier to use, so you can do more.

The most exciting part of the Trinket M0 is that while you can use it with the Arduino IDE, we are shipping it with CircuitPython on board. When you plug it in, it will show up as a very small disk drive with main.py on it. Edit main.py with your favorite text editor to build your project using Python, the most popular programming language. No installs, IDE or compiler needed, so you can use it on any computer, even ChromeBooks or computers you can’t install software on. When you’re done, unplug the Trinket M0 and your code will go with you.

3500 kit ORIG

3500 quarter ORIG

Here are some of the updates you can look forward to when using Trinket M0:

  • Same size, form-factor, and pinout as classic Trinket
  • Updating ATtiny85 8-bit AVR for ATSAMD21E18 32-bit Cortex M0+
  • 256KB Flash – 32x as much as 8 KB on ATtiny85
  • 32 KB RAM – 64x as much as 512 bytes on ATtiny85
  • 48 MHz 32 bit processor – 6x as fast as ATtiny85 (not even taking into account 32-bit speedups)
  • Native USB supported by every OS – can be used in Arduino or CircuitPython as USB serial console, Keyboard/Mouse HID, even a little disk drive for storing Python scripts. (ATtiny85 does not have native USB)
  • Can be used with Arduino IDE or CircuitPython
  • Built in green ON LED
  • Built in red pin #13 LED
  • Built in RGB DotStar LED
  • All five GPIO pins are available and are not shared with USB – so you can use them for whatever you like!
  • Five GPIO pins with digital input/output with internally connected pullups or pulldowns
  • Three of the I/O pins can be used for 12-bit analog input
  • True analog output on one I/O pin – can be used to play 10-bit quality audio clips
  • We gave the M0 pads the exact same names as the original Trinket so all your existing Arduino code will work exactly the same as-is without changes
  • Two high speed PWM outputs – for servos, LEDs, etc
  • Three pins can also be used as hardware capacitive touch sensors with no additional components required
  • Can drive NeoPixels or DotStars on any pins, with enough memory to drive 8000+ pixels. DMA-NeoPixel support on one pin so you can drive pixels without having to spend any processor time on it.
  • Native hardware SPI, I2C and Serial available on two pads so you can connect to any I2C or Serial device with true hardware support (no annoying bit-banging). You can have either one SPI device or both I2C and Serial.
  • Same Reset switch for starting your project code over
  • Power with either USB or external output (such as a battery) – it’ll automatically switch over
  • Mounting holes! Yeah!
  • Really really small

Each order comes with one fully assembled and tested Trinket M0 with CircuitPython & example code programmed in.

So what are you waiting for? Pick up a Trinket M0 today and be amazed at how easy and fast it is to get started with Trinket and CircuitPython!

In stock and shipping now!


Halloween season is here!
Halloween season is here! Check out all the posts, gift guides, and more!

Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here: adafruit.com/editorialstandards

Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 38,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython – The easiest way to program microcontrollers – CircuitPython.org


New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — NewProducts Featuring Adafruit RP2350 22-pin FPC HSTX to DVI Adapter for HDMI Displays!

Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: Adafruit Grand Opening, Profile MicroPython Memory and More! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi — Classic editor

EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

Adafruit IoT Monthly — Garden Lights, Bluetooth 6.0, and more!

Maker Business – Adafruit Daily — A look at Boeing’s supply chain and manufacturing process

Electronics – Adafruit Daily — When do I use X10?

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



2 Comments

  1. Can this board charge a battery (attached to Bat+ and Gnd terminals) via the USB port?

  2. I’m curious how power consumption compares between the two. Obviously it’s going to vary heavily depending on use case. I tend to think of At(tiny,mega)s as being lower power than even M0’s but that’s a very old very loose notion & I’m not sure how it came to be lodged in my brain in the first place.

Sorry, the comment form is closed at this time.