Make sure the programmer is set to Tools → Programmer → AVRISP mkII.
Select the port corresponding to your Arduino from Tools → Serial Port →.
Select your model of Arduino (or a compatible model) from Tools → Board →.
Open the ArduinoISP sketch from File → Examples → ArduinoISP.
Launch the modified Adafruit Arduino 1.0.5.
Trinket5-nb.name=Adafruit Trinket 16MHz (No Bootloader) Trinket3-nb.name=Adafruit Trinket 8MHz (No Bootloader)
Add the following to the end of boards.txt, after the existing Adafruit Trinket entries:.
Locate and open the boards.txt file in hardware → arduino → boards.txt.
Download and install Adafruit Arduino 1.0.5.
Once you get past the 20 or so steps required. Fortunately, the process is fairly straightforward This makes things a heck ofĪ lot more complicated. The bootloader, so we can't use the USB port: we'll have to program theĪTtiny85 directly, using an Arduino as an ISP. There isn't enough room for both dX and theīootloader that Adafruit installs on the Trinket. The dX code is just a couple hundred bytes shy of the 8K of total flash
The dX Enclosure for Adafruit Trinket from Shapeways.
The dX firmware for the Adafruit Trinket.
A piece of foam (the LED matrix comes inserted into it).
Hookup wire, the smaller the gauge the better.A JST extension cable to cut in half to use as the battery connector.
Three very tall tactile button switches.
An Adafruit Mini 8x8 LED Matrix w/I2C Backpack in any color.
A standard or relatively-standard Arduino board.
(I have since made a second version using a custom PCBĪnd a third version adding a piezo sensor.) Here is how I made the first version using an Adafruit Trinket. Make your own dX: Overengineered Electronic Die! Create your own dX: Overengineered Electronic Die