{"title":"Adafruit Trinket M0 - for use with CircuitPython  Arduino IDE","handle":"adafruit-trinket-m0-for-use-with-circuitpython-arduino-ide","url":"/products/adafruit-trinket-m0-for-use-with-circuitpython-arduino-ide","description":"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.\n\nThe 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.\n\nKey Features\n\n\nATSAMD21E18 Processor – 48 MHz 32-bit Cortex M0+, 256KB flash, 32KB RAM\n\nCircuitPython &amp; Arduino IDE – Ships with CircuitPython; also fully compatible with the Arduino IDE\n\nNative USB – USB serial console, keyboard/mouse HID, and USB mass storage for Python scripts\n\n5 GPIO Pins – All independent (not shared with USB), with digital I/O and internal pull-ups/pull-downs\n\n3 Analog Inputs – 12-bit resolution on three I/O pins\n\nTrue Analog Output – 10-bit DAC on one pin for audio playback\n\n2 PWM Outputs – For servos, LEDs, and more\n\n3 Capacitive Touch Pins – Hardware touch sensing with no additional components\n\nHardware I2C, SPI, and Serial – True hardware support (not bit-banged)\n\nNeoPixel &amp; DotStar Support – Drive 8000+ pixels from any pin, with DMA-NeoPixel support on one pin\n\nBuilt-in LEDs – Green power LED, red pin #13 LED, and RGB DotStar LED\n\nAutomatic Power Switching – Powers from USB or external source, switches automatically\n\nReset Button – Restart your code or enter bootloader mode\n\nMounting Holes – For secure installation\n\n\nIdeal For\n\nCircuitPython and Arduino projects in a compact form factor\nUSB HID devices (custom keyboards, mice, macro pads)\nNeoPixel and DotStar LED projects\nWearable electronics and embedded builds\nLearning Python on hardware\n\n\nPackage Contents\n\n1× Adafruit Trinket M0 (with CircuitPython and example code pre-loaded)\n\n\nResources\n\nTrinket M0 CircuitPython Guide\nDMA-Driven NeoPixels Guide\n","vendor":"Adafruit","product_type":"physical","in_stock":true,"options":[],"variants":[{"id":14349,"title":"Default Title","sku":"AF-3500","price":17.83,"on_sale":false,"in_stock":true,"available_quantity":102,"option1":"Default Title"}]}