Product description
Adafruit Trinket M0 is a compact development board featuring a 32-bit ATSAMD21E18 microcontroller based on ARM Cortex-M0+. The board has a clock frequency of 48 MHz and can be programmed using both CircuitPython and Arduino IDE. With its small dimensions, Trinket M0 is suitable for embedded electronics projects where space is limited.
Trinket M0 comes with CircuitPython and example code pre-installed. When the board is connected to a computer via micro-USB, it appears as a storage device where the main.py program file can be edited directly using a standard text editor. This makes it possible to program the board without installing a development environment or compiler. The board can also be programmed using Arduino IDE.
The board has five GPIO pins, all of which can be used as digital inputs and outputs or as 12-bit analog inputs. One of the pins has a true analog output with 10-bit resolution. Two pins support PWM, and three can be used for capacitive touch sensing. Trinket M0 also features hardware support for SPI, I2C and serial communication.
The built-in USB functionality can be used for serial communication, HID devices such as keyboards and mice, and transferring Python programs. The board also features a DotStar RGB LED, a green power indicator, a red LED connected to GPIO 13 and a reset button. It can be powered via USB or an external power source, with automatic switching between the power sources.
Trinket M0 has the same physical form factor and pinout as the original ATtiny85-based Trinket, but offers higher performance and significantly more memory.
Specifications:
- Manufacturer: Adafruit
- Model: Trinket M0
- Product number: 3500
- Microcontroller: ATSAMD21E18
- Processor: ARM Cortex-M0+, 32-bit
- Clock frequency: 48 MHz
- Flash memory: 256 KB
- RAM: 32 KB
- GPIO: 5
- Analog inputs: 5, 12-bit resolution
- Analog output: 1, 10-bit resolution
- PWM outputs: 2
- Capacitive touch inputs: 3
- Communication interfaces: SPI, I2C, serial communication
- USB connection: Micro-USB
- USB functions: Serial communication, HID, storage device
- LEDs: Green power indicator, red GPIO 13, RGB DotStar
- Button: Reset
- Programming: CircuitPython, Arduino IDE
- Power supply: USB or external power
- Dimensions: 27 x 15.3 x 3.5 mm
- Supplied with: Pre-installed CircuitPython and example code
- Supplied with: Pin header (not pre-installed)
