The diagram below provides a visual reference for wiring of the components. This diagrams was created using the software package Fritzing.

Adafruit Library for Fritzing

Use Adafruit's Fritzing parts library to create circuit diagrams for your projects. Download the library or just grab individual parts. Get the library and parts from GitHub - Adafruit Fritzing Parts.

Power

The Trinket M0 is powered by 400mAh battery via the Lipo Backpack. This allows the USB port from the Trinket M0 to charge the 400mAh battery. A slide switch is connected to the two switch pin on the Lipo Back. 

  • BAT from Lipo Backpack to BAT on Trinket M0
  • Ground from Lipo Backpack to GND on Trinket M0
  • 5V from Lipo Backpack to USB on Trinket M0

Rotary Encoder

A rotary encoder is wired to the Trinket M0. This requires five wired connections. The rotary encoder also features a built-in button switch. Follow the circuit diagram above for the connecting the correct pins to Trinket M0.

NeoPixel Rings

The two 16x NeoPixel rings are daisy chained with three wired connections, data, voltage and ground. The first ring is connected to the Trinket M0.

  • V+ from NeoPixel Ring to BAT on Trinket M0
  • G from NeoPixel Ring to G on Trinket M0
  • IN from NeoPixel Ring to Pin #0 on Trinket M0

This guide was first published on Dec 11, 2019. It was last updated on Dec 11, 2019.

This page (Circuit Diagram) was last updated on May 05, 2021.

Text editor powered by tinymce.