# 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 ads by Signing Up

## 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.
dchittur6 days ago

This code works really well for me, although I had to adjust it because I am using more than 6 numbers. The only problem is that it keeps looping. How do I get it to stop blinking?

brownestnerd8 days ago

I made it but I'm trying to figure out how exactly it obtains a random number. It is a fun project I just feel stupid for not fully grasping that concept

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

quatch2 years 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).
2 years ago
If the drop voltage across the LEDs is 3.3 or more then no resistor should be needed.
2 years ago
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)  quatch2 years 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!