


If you already had one or more of these libraries previously installed, download the latest versions - some changes may have been made specifically for Trinket. Are the libraries properly installed? They must be correctly named and in the right location.From the Tools→Programmer menu, “USBtinyISP” should be selected. Is the Arduino IDE properly configured for Trinket use? Try compiling and uploading a simple sketch (like the Blink example, set for pin #1).If you get an error message (or a huge list of them), it’s usually one of the following: Connect the USB cable between the computer and Trinket, press the reset button on the board, then click the upload button (right arrow icon) in the Arduino IDE. Simply use a USB v2 port or a USB hub in between.įor more detailed information about the Trinket, checkout the Introducing Adafruit trinket tutorial.The following code can be copied-and-pasted into a new project window in the Arduino IDE.įrom the Tools→Board menu, select Adafruit Trinket 8 MHz (3.3V or 5V boards) or Trinket 16 MHz (5V board only). Some computers' USB v3 ports don't recognize the Trinket's bootloader.Trinket does not have a Serial port connection for debugging so the serial port monitor will not be able to send/receive data.There are some things you trade off for such a small and low cost microcontroller! The 5V version can run at 8 MHz or at 16MHz by setting the software-set clock frequency.Įven though you can program Trinket using the Arduino IDE, it's not a fully 100% Arduino-compatible. Use 5V Trinket for sensors and components that can use or require 5V logic. Use the 3V one to interface with sensors and devices that need 3V logic, or when you want to power it off of a LiPo battery. Both work the same, but have different operating logic voltages.

The Adafruit Trinket comes in 2 variations, 5V and 3V logic. It's Adafruit's lowest-cost arduino-IDE programmable board! 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. Just connect it to a computer via USB and use it as a mini Arduino board. This tiny little board runs powerful ATTiny85 micro controller and has 8K of flash and 5 IO Pins. Are you looking for a microcontroller for your project and just need a few IO pins? Adafruit's Trinket Mini Microcontroller is the board for you.
