Introduction: 6 Sided Dice

During this course, I've learned about many things about the Arduino, how to code, and how to make a proper circuit. For my final project, I've decided to make a 6 sided LED dice. It will just basically reenact a dice roll, say if you don't have dice, you could use this project as a reenactment.

This circuit is basically a dice roll, you push a button and the LEDs will decide the number you will get, from 1-6.

Supplies

Required Components

Arduino R3

6 LEDs (Any color)

1 Push Button

Wires

560 Ohm resistors (6)

1k Ohm resistor (1)

Breadboard

Step 1: Schematic

This is the schematic for the 6 sided LED dice.

Step 2: Assembling

You can copy the circuit by looking at the schematic I have provided. I have encountered no issues with this circuit so you should be good too.

Step 3: Making the Code

This code is just to program the push button to turn on specific LEDs to a numbered value. Say you roll 4 on a dice and 4 LEDs will light up. You can make your own code or use the code I've provided down below.

Step 4: Final Test

Once you have finished your code and circuit, the final product should come out as a dice roll. Every time you push the button, a random amount of LEDs will light up.

Step 5: Conclusion

Great! you made a circuit which acts like a dice. Unfortunately, if you have problems with this circuit, I cannot come to your aid since this instructable was for a school project. It will most definitely work if you don't make many mistakes such as, burned out LED, wiring isn't connected or you may have made a mistake in your code. Hope you enjoy your new LED dice.