Datasheet
560 Ohm Resistor
Green-Blue-Brown
x3
2 Pin Header
x4
CIRC-12
Breadboard Sheet
x1
Parts:
.:download:.
breadboard layout sheet
http://ardx.org/BBLS12A
The Internet
THE CIRCUIT:
Schematic
30
.:Colorful Light:.
.:RGB LEDs:.
We've blinked an LED and controlled eight in sequence now
it's time to control color. Using an RGB LED (actual 3 LEDs
in a single housing) we can generate any color our heart
desires. We do this through color mixing, what’s required is
delving back to your elementary art days of playing with colored cellophane to produce
different colors (if you can’t remember that far back don’t worry here’s a color wheel to
help you out).
WHAT WE’RE DOING:
Wire
5mm RGB LED
x1
resistor
(560ohm)
Arduino
pin 11
pin 10 pin 9
common (+5v)
red
blue
green
+5v
blue
green
red
longest
lead
flat
side
red
Color Truth Table
blue
yellow
cyan
magenta
white
ON ON OFF
OFF ON ON
ON OFF ON
ON ON ON
green
magenta
red
green
cyan
blue
yellow
magenta
red
green
cyan
blue
yellow
Color Wheels
digital analog
CIRC-12