With Instructables you can share what you make with the world and tap into an ever-growing community of creative experts.
share step-by-step photos with text instructions
share one or more photos in one step quickly and easily
share your how-to video
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!
You Will Need: -1 Breadboard -1 Buzzer -7 Red LEDs -1 Green LED -1 300ohm resistor or 3 100ohm -1 Button -1 arduino -? jumpers
Connect jumpers to pins: 10,8,7,6,5,4,2
Add the breadboard with jumper spacing as shown!
Link the row of the jumpers to the next row as shown in the picture.
connect the leds with the spacing in the picture.
Two jumpers for the button. You may not need to do this depending on your button.
Place the button on you breadboard as shown!
connect one output of the button to digital pin 12 like shown!
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)
Connect the other end of the resistors to the 3.3v port on the Arduino.
On the final output of the button to ground.
Get your bottom ground rail and connect it to the top ground rail.
Connect all of the ground pins of the LEDs to the ground rails!
Plug the green LED into the breadboard! (This LED is not needed, it just flashes when the code starts)
Connect the ground pin on the LED to the ground rail.
Connect the positive pin on the LED to pin 13.
Now to annoy everybody! get the positive pin of the center LED and connect a jumper over to an open rail.
Plug the positive lead on the buzzer to the jumper you got from the middle LED and the negative into the negative rail.
The code is commented well so i will not explain here!
Now have fun playing games, annoying people, and remember, Arduino safely!
Tag files as:
Posted:Mar 4, 2012
-=!TRI-COLOR LED MOOD-LIGHT!=-
How to Make an LED Ambient Mood Light: A Beginner Tutorial
DIY Infrared Proximity Sensor (Arduino Compatible)
Arduino-powered A-10 stick grip remote w/Emergency Party Button!
RGB LED Moodlight in 10 minutes!
Light Sensing LEDs
Arduino Security Box
Arduino Kitchen Timer
Quiz Game Controller using "Lights and Sounds Buzzers" and Arduino
Morse Code Translator
Download our new apps for iOS and android!
PDF DownloadsAs 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.