I love LED's and I love The Arduino platform! (I also like dice!)
so I made a Arduino, LED dice!
On with the project!
Step 1: PARTS
You Will Need:
-7 Red LEDs
-1 Green LED
-1 300ohm resistor or 3 100ohm
Step 2: Connect jumpers
Connect jumpers to pins:
Step 3: Add The breadboard!
Add the breadboard with jumper spacing as shown!
Step 4: More jumpers!
Link the row of the jumpers to the next row as shown in the picture.
Step 5: LEDs!
connect the leds with the spacing in the picture.
Step 6: More jumpers!
Two jumpers for the button. You may not need to do this depending on your button.
Step 7: Insert the button!
Place the button on you breadboard as shown!
Step 8: Connect up the button!
connect one output of the button to digital pin 12 like shown!
Step 9: Connect up the button!
Add your 300ohm resistor to the same as output pin as the one with digital pin 12.
(in my case I used 3 100ohm resistors)
Step 10: Connect up the button!
Connect the other end of the resistors to the 3.3v port on the Arduino.
Step 11: Connect up the button!
On the final output of the button to ground.
Step 12: Spreading ground!
Get your bottom ground rail and connect it to the top ground rail.
Step 13: Connect Ground!
Connect all of the ground pins of the LEDs to the ground rails!
Step 14: Plug the green start LED in!
Plug the green LED into the breadboard!
(This LED is not needed, it just flashes when the code starts)
Step 15: Connect ground!
Connect the ground pin on the LED to the ground rail.
Step 16: Connect positive!
Connect the positive pin on the LED to pin 13.
Step 17: Bzzzzzz! Bzzzzzzzz!
Now to annoy everybody!
get the positive pin of the center LED and connect a jumper
over to an open rail.
Step 18: Connect the buzzer!
Plug the positive lead on the buzzer to the jumper you got from the middle LED and the negative into the negative rail.
Step 19: CODE
The code is commented well so i will not explain here!
Step 20: Your Done!
Now have fun playing games, annoying people, and remember, Arduino safely!