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
Schematic
This is the schematic for the 6 sided LED dice.
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.
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.
Downloads
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.
Downloads
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.