Instructables

Arduino Project - E-Dice! (Beginner)

Picture of Arduino Project - E-Dice! (Beginner)
Well, I just got my Arduino kit in the mail yesterday, and I was very happy to get started! After about an hour or two, I decided to start making something fun:

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.
 
Remove these adsRemove these ads by Signing Up

Step 1: The Materials

Picture of The Materials
For this electronic dice that I built, you will need:

1     Arduino UNO
1     Arduino Cable
1     Breadboard
7     Green LED's
1     Red LED
4     Long jumper wires
17   Small jumper wires
1     10k Ohm Resistor
1     Mini button switch

OPTIONAL:

-Foam Core board
-X-acto knife
-Pen
-9v battery holster

Step 2: Attaching the LED's to the board

For the LED's, you want to put them at the very edges of the breadboard (NOT the + and - tracks) with the big pins of the LED's in spaces 5, 10, and 15. The negative pins will be facing towards the left of the picture. Do this for both of the sides.

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.
lisamaria made it!18 days ago

First instructable I tried and didn't encounter a single problem. Fun project and great instructions! :)

bild-2.JPG
quatch1 year ago
not quite sure what that resistor is wired to (a circuit diagram would help), but you should really have one resistor for each LED.

Also unsure what the progress LED is for?

As to the button, search for button debouncing. There is a library for it, it'll make the read a lot cleaner (probably doesn't hurt here, but in future).
Roshy10 quatch1 year ago
If the drop voltage across the LEDs is 3.3 or more then no resistor should be needed.
To power the LEDs with 3.3V you could connect the +VE of the LED to the 3.3V on the arduino and the -VE of the LEDs to the digital pins, when the pin is low, the LED will turn on, and when the pin is high the LEDs won't light up because the LED is polarised.
.A. (author)  quatch1 year ago
I'll look into the debouncing for the button. As for the progress LED, I really don't know WHY exactly I put it in but I figured it would be cool to have an LED showing when the randomizer is going :D

On my next revision I most definitely include these suggestions, Thank you!
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!