Creative Commons images are CC BY-NC-SA 3.0

7.95

added to your
shopping cart

quantity
24 available 24 in stock
7.95 1+ units
7.16 10+ units
6.36 100+ units

Description: Blink any color you need! Use the Tri-Color LED board as a simple indicator, or by pulsing the red, green, and blue channels, you can create any color. Very bright output. This is a common anode design - to turn on a channel you simply need to ground one of the R/G/B pins to illuminate that channel.

LilyPad is a wearable technology developed by Leah Buechley and cooperatively designed by Leah and SparkFun. Each LilyPad was creatively designed to have large connecting pads to allow them to be sewn into clothing. Various input, output, power, and sensor boards are available. They're even washable!

Note: A portion of this sale is given back to Dr. Leah Buechley for continued development and education of e-textiles.

Dimensions:

  • 20mm outer diameter
  • Thin 0.8mm PCB

Documents:

Comments 20 comments

  • Is there a datasheet? thanks!

  • My Tri-Color LED came with the proto kit. The colors do not mix well at all. Their RGB value is just the opposite of what is should be. Another words when Red=255 it is off and RED=0 turns the red on. It seems to work the best if you just want to show one of the three distinct colors at a time.

    • Read the description again. It’s a common anode LED. To light up red, connect the red pin to ground so the current you’re supplying to the + pin can flow through the red LED. (For example, with Arduino use digitalWrite(redLedPin, LOW);)

      • I should have continued on to say that calling analogWrite(redLedPin, 128); would (due to PWM) reverse-bias the red LED 50% of the time, causing it to be (roughly) half as bright. This is because when a diode is reverse-biased, no current flows through it. Makes sense?

  • Has there been any progress made on these, related to the problems listed above? It’s been almost two months now …

  • Hey Sparkfun is it possible to get an update when the issues are resolved with these?

  • I got five of these today and hooked them up to the Lilypad … for some reason the green channel is pretty low in brightness compared to the red or blue. Has anyone else experienced this? The Lilypad is running at 5V. Makes it really hard to get color blending when the red and blue are over powering the green channel. I can’t get yellow out of them, nor a bright green. I tested all five and got the same result. Tried different pins on the Lilypad, no difference.

    • I am having the same problem. Following the tutorial here: http://web.media.mit.edu/~leah/LilyPad/06_rgb.html
      green is much much dimmer than the other colors and none of the output colours end up matching what is expected by her code. I tried different values and it looks like setting red and blue to around 10, while green is at 255 is closest to being equal. Makes this a bit unusable for me unfortunately.

      • I e-mailed tech support just now. Hoping to get a response soon. And yes, you’re absolutely correct. I have to bring red down to 25-30 and leave green at 255 to get a respectable yellow out of it. Same for cyan (blue is at 25). I have to bring both red and blue down to that level to have their brightness comparable to that of the green channel. That makes them absolutely useless for me.

  • I added support of this part to the Fritzing custom libary. You can download it at the Fritzing code site:<br />
    http://code.google.com/p/fritzing/issues/detail?id=875<br />
    <br />
    Have fun with it.

  • has anyone tried to create mixed colors with this? any tips in arduino code? it seems like giving each color the same ‘brightness’ does not correspond to an equal output of brightness.

    • Yep, each color LED has a different chemistry, and produces a different amount of light per input current.

    • Use analogWrite(pin, {0:255}). Look at the RGB value as intensity where the LED is brightest as it approaches 0 (voltage goes up) and off at 255. You ‘mix’ colors by playing with the three intensities. Even at 240ish you see influence so by the time you are down in the 100s across all three colors you will likely just see white. Try Red at 220, Green at 0, and Blue at 255 and you will probably get a nice Yellow. A piece of clear plastic over the top helps diffuse the color.

  • It depends on the power supply voltage. At 5V, assuming typical forward voltage drops (2.0V for red, 3.5V for green and blue), and typical on resistance for an Atmel output pin of maybe 25 ohms (assuming 5V supply voltage), you’d be looking at (5.0-3.5)/(100+25) = 12mA for the green and blue LEDs, and (5.0-2.0)/(200+25) = 13.3mA for the red LED.

  • anybody know what the current draw on these are? trying to calculate power requirements…


Related Products