{"product_id":"adafruit-trinket-m0-for-use-with-circuitpython-arduino-ide","title":"Adafruit Trinket M0 - for use with CircuitPython \u0026 Arduino IDE","description":"\u003cmeta charset=\"utf-8\"\u003e\n\u003cp\u003eThe 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\u003cspan\u003e \u003c\/span\u003e\u003cem\u003ea lot\u003c\/em\u003e\u003cspan\u003e \u003c\/span\u003eof 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!\u003c\/p\u003e\n\u003cp\u003eWe've taken the same form factor we used for \u003ca href=\"https:\/\/www.adafruit.com\/product\/1500\"\u003ethe original ATtiny85-based Trinket\u003c\/a\u003e 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.\u003c\/p\u003e\n\u003cp\u003eThe 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.\u003cspan\u003e \u003c\/span\u003e\u003ca href=\"https:\/\/learn.adafruit.com\/adafruit-trinket-m0-circuitpython-arduino\/circuitpython\"\u003ePlease check out the Trinket M0 CircuitPython guide for a list of capabilities and quick-start code examples\u003c\/a\u003e\u003cspan\u003e \u003c\/span\u003e- CircuitPython is easier to code but not as low-level and complete as Arduino.\u003c\/p\u003e\n\u003cp\u003eHere are some of the updates you can look forward to when using Trinket M0:\u003c\/p\u003e\n\u003cul\u003e\n\u003cli\u003eSame size, form-factor, and pinout as classic Trinket\u003c\/li\u003e\n\u003cli\u003eUpdating ATtiny85 8-bit AVR for ATSAMD21E18 32-bit Cortex M0+\u003c\/li\u003e\n\u003cli\u003e256KB Flash - 32x as much as 8 KB on ATtiny85\u003c\/li\u003e\n\u003cli\u003e32 KB RAM - 64x as much as 512 bytes on ATtiny85\u003c\/li\u003e\n\u003cli\u003e48 MHz 32 bit processor - 6x as fast as ATtiny85 (not even taking into account 32-bit speedups)\u003c\/li\u003e\n\u003cli\u003eNative 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)\u003c\/li\u003e\n\u003cli\u003eCan be used with Arduino IDE or CircuitPython\u003c\/li\u003e\n\u003cli\u003eBuilt in green ON LED\u003c\/li\u003e\n\u003cli\u003eBuilt in red pin #13 LED\u003c\/li\u003e\n\u003cli\u003eBuilt in RGB DotStar LED\u003c\/li\u003e\n\u003cli\u003eAll 5 GPIO pins are available and are not shared with USB - so you can use them for whatever you like!\n\u003cul\u003e\n\u003cli\u003eFive GPIO pins with digital input\/output with internally connected pullups or pulldowns\u003c\/li\u003e\n\u003cli\u003eThree of the I\/O pins can be used for 12-bit analog input\u003c\/li\u003e\n\u003cli\u003eTrue analog output on one I\/O pin - can be used to play 10-bit quality audio clips\u003c\/li\u003e\n\u003cli\u003eWe 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\u003c\/li\u003e\n\u003cli\u003eTwo high speed PWM outputs - for servos, LEDs, etc\u003c\/li\u003e\n\u003cli\u003eThree pins can also be used as hardware capacitive touch sensors with no additional components required\u003c\/li\u003e\n\u003cli\u003eCan drive NeoPixels or DotStars on any pins, with enough memory to drive 8000+ pixels. \u003ca href=\"https:\/\/learn.adafruit.com\/dma-driven-neopixels\"\u003eDMA-NeoPixel support on one pin \u003c\/a\u003eso you can drive pixels without having to spend any processor time on it.\u003c\/li\u003e\n\u003cli\u003eNative 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.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003eSame Reset switch for starting your project code over\u003c\/li\u003e\n\u003cli\u003ePower with either USB or external output (such as a battery) - it'll automatically switch over\u003c\/li\u003e\n\u003cli\u003eMounting holes! Yeah!\u003c\/li\u003e\n\u003cli\u003eReally really small\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eEach order comes with one fully assembled and tested Trinket M0 with CircuitPython \u0026amp; example code programmed in.\u003c\/p\u003e\n\u003cp\u003eSo 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!\u003c\/p\u003e","brand":"Adafruit","offers":[{"title":"Default Title","offer_id":32902029738116,"sku":"ADA-TRINKETM0","price":14.65,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0368\/0337\/9332\/products\/3500-00.jpg?v=1584963597","url":"https:\/\/roboticles.myshopify.com\/products\/adafruit-trinket-m0-for-use-with-circuitpython-arduino-ide","provider":"roboticles","version":"1.0","type":"link"}