Introduction: Arduino Dice

About: I am a contract software developer, mainly web based these days. My hobbies are fixing stuff that wasn't broken until I got my hands on it, electronics, Arduino and Modern Jive Dancing.

Another Arduino Electronic Dice roller.

I found that when we play games in our house and require dice, that either we cannot find any dice or someone always tries to cheat, especially the quick thinking adults who seem to think that alcohol makes their opponents blind.

I saw a number of electronic dice in various guises and decided to create my own version.

No better than any others, just a different version.

Step 1: Putting It Together

Parts list:

  • Arduino
  • Breadboard
  • 7 X Red LEDs
  • 7 X 330 ohm resistors
  • 2 X momentary switches
  • Jumper wires

When I built this onto a breadboard, I found that components got in the way, so I ended up using a number of short jumpers and bending the resistor wires to enable me to have the wires to the Arduino out of the way.

Arduino pinout and wiring: There is also a schematic in the Fritzing file.

  • Pin 2 to button 2, button 2 to GND
  • Pin 4 to resistor, resistor to top left LED cathode, anode to GND
  • Pin 5 to resistor, resistor to top right LED cathode, anode to GND
  • Pin 6 to resistor, resistor to middle left LED cathode, anode to GND
  • Pin 7 to resistor, resistor to middle right LED cathode, anode to GND
  • Pin 8 to resistor, resistor to bottom left LED cathode, anode to GND
  • Pin 9 to resistor, resistor to bottom right LED cathode, anode to GND
  • Pin 10 to resistor, resistor to center LED cathode, anode to GND
  • Pin 11 to button 1, button 1 to GND

Step 2: Using the Dice

Pressing Button 1

  • rotates the LEDs a couple of times
  • displays the randomly selected number
  • resets after a set amount of time

Pressing Button 2

  • displays the numbers from 1 to 6 in order
  • rotates the LEDs a couple of times
  • turns off after pressing the button again

Only a short Instructable, but a bit of fun!