Datasheet
To use with neopixels:
1. Connect the + power line of the strip to VBUS (5V from USB), to VBAT if you are powering the Trinket with 4-
7VDC, or to a separate 4-7VDC power source such as a 3 or 4 pack of AA batteries.
2. Connect the - common ground to the battery pack (if being used) and also to the Trinket GND pin
3. Connect the data in line to Trinket #1 - this will let you also see when data is being sent because the #1 red
LED will flicker. You can use other pins but start with #1 since its easiest to debug and use
4. Install the NeoPixel library as detailed in our Uber Guide, and change the PIN to 1 (its 6 by default)
5. Upload and enjoy!
Can the Trinket drive your Adafruit I2C LED Backpacks for 7-segment/matrix displays?
Short answer: yes! Check out http://learn.adafruit.com/tap-tempo-trinket for a tutorial on driving the 7-segment
displays. Long answer: we think there's not enough space for all of the fonts for the 8x8 so you might be able to
drive the 8x8 matrix in 'raw' mode (see the HT16K33 example sketch in the LEDBackpack Library) but unfortunately
not with built-in font support.
That tutorial also shows how to use the TinyM I2C driver, which works great on the ATtiny85, and adapt other
existing libraries for the Trinket
Can Trinket drive a Servo?
Yup! In fact you can use 3 servos as long as they are powered by a good 5V supply, check out this guide for more
details
Why does Windows sound the Connect/Disconnect chimes every ten seconds?
The Trinket only appears to be a USBtinyISP device when the bootloader is running. By design, the bootloader only
runs for 10 seconds and then jumps back to the main user sketch. this causes the 'disconnect' sound.
On a new trinket, the main sketch will automatically jump back to the bootloader, which will then cause the
'connect' sound. This cycle will repeat until a user sketch is loaded.
This situation can also happen if you load a sketch with a bug in it that causes a CPU reset.
Can I power the directly on the 5.0V or 3.3V (e.g. treating those as a power input)?
Technically yes - you can provide regulated 5V or 3.3V directly to the lower right hand power pin. However, the
regulator dropout is quite low, its safer and better to power the VBAT pin since that way you wont be 'fighting' the
USB port if you plug in USB
© Adafruit Industries Last Updated: 2018-02-17 07:37:05 PM UTC Page 43 of 43