# Rgb Led Specifications

**URL:** <https://forums.pimoroni.com/t/rgb-led-specifications/316>\
**Category:** Support\
**Created:** [January 28, 2015, 12:36am UTC](https://forums.pimoroni.com/t/rgb-led-specifications/316 "2015-01-28T00:36:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jason](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/jason/32/1645_2.png) [@jason](https://forums.pimoroni.com/u/jason)\
**Post date:** [January 28, 2015, 12:36am UTC](https://forums.pimoroni.com/t/rgb-led-specifications/316/1 "2015-01-28T00:36:55Z")

</div>

Hi All,  
I’m proud to say that I’ve mastered the green and red level of the LEDs “plugged” on the Raspberry…  
So, to continue on this track I bought a nice little pack of RGB LEDs!  
The Internet is full of tutorials and videos about those tiny beasts, but I would like to be sure that I’m not doing anything stupid.

Could you please tell me what are the specifications of the 10mm RGB LEDs? Like voltage and pins would be a good start.

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![jason](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/jason/32/1645_2.png) [@jason](https://forums.pimoroni.com/u/jason)\
**Post date:** [January 29, 2015, 11:05pm UTC](https://forums.pimoroni.com/t/rgb-led-specifications/316/2 "2015-01-29T23:05:59Z")

</div>

Hi Again!

I found the specifications here:

> **[YSL-R1047CR4G3BW-F8.pdf](https://static.sparkfun.com/datasheets/Components/General/YSL-R1047CR4G3BW-F8.pdf)**
>
> 509.94 KB

  
Summary: It is a common cathode RGB LED with Forward Voltage (R/G/B): 2.0 / 3.2 / 3.1V and Forward Current: 20mA.

So I plugged the red, green and blue pins to some GPIO pins on the Raspberry and I used some resistors (Red: 350 ohms, Green and Blue 100 ohms)  
Then, I created a basic NodeJS program with the [onoff module](https://www.npmjs.com/package/onoff) to set to 1 or 0 the pins.

Next step is to use PWM to play with the intensity!
