The 20-sided die — or “d20” as it’s known to tabletop gamers — is an icon of geek culture. In this project we’ll 3D-print a jumbo d20 and outfit it with electronics…because that’s how we roll at Adafruit.
The talking d20 is fun and good for a laugh…though with electronics inside it won’t be 100% perfectly random or balanced…so it’s not suitable for all gaming situations and doesn’t replace your trusty dice bag. Think of it as a geek version of those “executive decision maker” toys.
The code and sounds are completely customizable. For example, you could load each of the 20 faces with the names of local lunch spots and use it to pick the day’s destination.
Parts from Adafruit:
- Adafruit Pro Trinket microcontroller, 5V/16 MHz
- Audio FX Mini Sound Board w/2 MB flash
- Mono 2.5W Audio Amplifier
- Triple-Axis Accelerometer
- LiPoly Backpack
- Lithium Polymer 150 mAh battery
- Breadboard-friendly SPDT slide switch
- 8 Ohm 1/4W thin plastic speaker
- 26 gauge silicone-coated stranded wire, various colors
Parts NOT from Adafruit:
- Magnets: eight (8) disc magnets measuring 1/4 inch diameter by 1/8 inch thick. We used type “D42” from K&J Magnetics.
- Glue: either some E6000 craft adhesive or 5-minute epoxy. DO NOT use JB Weld for this!
- Hardware: eight (8) #4-40 x 3/8" flat-head (countersunk) machine screws.
You will also need:
- 3D printer.
- Soldering iron and related paraphernalia.
- Patience and a willingness to improvise.
- Any ONE of the following:
- #4-40 tapping tool -OR-
- One (1) #4-40 self-tapping machine screw (any length) -OR-
- One (1) #4 wood screw (any length)
- Optional: Ogre-slaying knife, with a plus 9 against ogres.
There are a few other incidentals. Read through the whole guide before ordering anything so you know what steps and tools are involved, and whether this project is a good fit for your skills.