RGB LED Module for Arduino
operates at a voltage of 5 V.
RGB-LED consists of three closely spaced LEDs under one lens: red - Red, Green - Green and Blue - Blue, hence the name. By combining these three colors can be obtained in any other color.
If you need to get some specific color, find its RGB-parameters and pass their values on the legs MC.
In RGB-LED 4 legs: to control each of the colors used on one leg and one general. General may be a cathode (-) and anode (+).
To adjust the current flow is used PWM . Pulse width modulation (PWM) - is a pulse signal of constant frequency and variable duty cycle, ie the ratio of pulse duration to the period of his route. With job duty cycle (pulse duration) can change the brightness of the LED.
The idea is LED control is as follows. Served on the LED rectangular pulses. And adjusting their porosity can be controlled by the average current and therefore the average brightness. Thus, if the pulse rate is large enough, no flicker, we do not see, we would seem that the LED shines constantly.
So, all that we need to control RGB-LED by this method, - the three PWM.
Module 3-color LEDs for Arduino works perfectly with all family products Arduino