This is the SMD RGB LED Common Cathode Module, These module has 3 separate LEDs the Red, Green and Blue which can be individually driven by applying a voltage to the appropriate module pin this example code is uses the Arduino analogWrite(PWM) function to cycle through the full possible output colors this smd led module is capable of producing a rainbow color scheme.
There is a 4-pin header on the assembly for making connections.
1 x 4 Header
- GND / – = Ground
- G = Green LED anode. Connects to digital output/PWM pin on uC. Active HIGH
- R = Red LED anode. Connects to digital output/PWM pin on uC. Active HIGH
- B = Blue LED anode. Connects to digital output/PWM pin on uC. Active HIGH
NOTE: On some modules, we have found the labeling on the R and G channels to be swapped. If you go by our connection diagram, you should be good to go.
|IMax||Maximum Current Draw per LED||< 30mA|
|Voltage Drop||Red LED||1.8-2.4V|
|Green LED||2.8 – 3.6V|
|Blue LED||2.8 – 3.6V|
|Dimensions||L x W (PCB)||20 x 15mm (0.75 x 0.60″)|