- 2-digit, seven-segment common anode LED display x1
- 100 kOhm resistor x1
- 270 Ohm resistor x10
- 1 kOhm resistor x2
- BC307 Transistor x2
- Push-to-make switch x1
Time to complete: 2 hours over several sittings
The wiring of the LED display was a little cumbersome because my breadboard was too small for the project. In order to alleviate some of the cramped conditions, I found some longer wires to branch out to a second small breadboard. This helped immensely in troubleshooting the LED display. Having some space to work with in the circuit allowed for rapid testing of the pins. In the book, the LED display is connected directly to the Arduino through a single resistor from each pin. This would have made troubleshooting the display nearly impossible.
When I showed my nine year old son this project, his response was "Didn't you already do this?" I guess he wasn't impressed. He did, however, inquire as to how I was able to generate the random numbers. He listened to my explanation for about five seconds before wandering off to pretend to battle with his brother.
Below is a video of the working dice.