An electronic dice. I had to make this myself, because there were no instructables that i could find with search! D:
Mine is not very advanced, but it will make a great beginner project as I built it in less than 20 minutes at about the most beginner level you can get. If you can think of any improvements, I encourage you to post them in the comments!
There were 1 or 2 pin placing errors, but I will provide a picture with where the pins should go at the end of the instructable.
Step 1: The Materials
1 Arduino UNO
1 Arduino Cable
7 Green LED's
1 Red LED
4 Long jumper wires
17 Small jumper wires
1 10k Ohm Resistor
1 Mini button switch
-Foam Core board
-9v battery holster
Step 2: Attaching the LED's to the Board
The middle LED is a bit trickier, and it involved pulling the pins a little wider and having them on the 11 and 8 row on either side (You cannot have them on 9 and 10 because they conduct in rows)
For the red one you can put it wherever you want, as long as it is away from the green ones.
Step 3: Attaching the Wires to the LED's
Once that is done you will want to attach the wires to the terminals on the arduino. I will mark the third picture to make it easier to understand
LED 1/red = pin 13
LED 2/orange = pin 12
LED 3/yellow = pin 11
LED 4/green = pin 10
LED 5/blue = pin 9
LED 6/white = pin 8
LED 7/black = pin 7
Red LED = pin 2 (digital)
Step 4: The Ground Wires
Once those two wires are in place at the top lane there, you will need to add 8 small jumpers onto the lanes where the big wires have landed.
Now comes the sort of tricky part. You need to attach a ground wire to a negative terminal on each LED. It will take a little bit of precision but once you have those in place you are nearly complete.
Step 5: The Button
Start by placing the button on an unoccupied lane, bridging between both halves like in the picture. Once you have that firmly in place you can add the last few pieces (which I drew on a piece of board for simplicity sake)
Place the components further towards the edge if you have big fingers. Otherwise it may not have enough room.
Step 6: Cover
All i did was roughly mark the led spaces and twist an x-acto knife around inside. bam, done.
Step 7: Check Connections
Step 8: The Code
Sorry, i had to put it in .zip format because i was getting errors uploading as a .ino
Step 9: Done!
One more thing I forgot to add: It will also show the values in the serial monitor if you choose to plug it in to your computer. Unfortunately, my video of that was corrupted but I DO have a regular video of it operating off of a battery pack.
------- If you have any questions just leave them in the comments i'll try my best to answer---------