Rgb Led Specifications


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!


Hi Again!

I found the specifications here:

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 to set to 1 or 0 the pins.

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