- Walk-In Price: RM3.50
- Warranty: 1 Month (T&C Apply)
- Operating Voltage 5V max
- Forward Current 20mA ~ 30mA
- Operating Temperature -25°C to 85°C [-13°F ~ 185°F]
RGB full color LED Module KY-009 for Arduino, emits a range of colors by mixing red, green and blue. The amount of each primary color is adjusted using PWM.
The RGB Full Color LED SMD Module consists of a 5050 SMD LED, use with limiting resistors to prevent burnout. Compatible with popular electronics platforms like Arduino, Raspberry Pi and ESP8266.
|Operating Voltage||5V max
Red 1.8V ~2.4V
Green 2.8V ~ 3.6V
Blue 2.8V ~ 3.6V
|Forward Current||20mA ~ 30mA|
|Operating Temperature||-25°C to 85°C [-13°F ~ 185°F]|
|Dimensions||18.5mm x 15mm [0.728in x 0.591in]|
You need to use resistors to prevent burnout, check the 5050 LED SMD Datasheet on the downloads section for more info.
Vf [Red]= 1,8V
Vf [Green,Blue]= 2,8V
Rf (3,3V) [Green]= 100Ω
Rf (3,3V) [Red]= 180Ω
Rf (3,3V) [Blue]= 100Ω
[for example using of ARM CPU-Core based microcontroller like Raspberry-Pi]
Rf (5V) [Green] = 100Ω
Rf (5V) [Red] = 180Ω
Rf (5V) [Blue] = 100Ω
[for example using of Atmel Atmega based microcontroller like Arduino]
Code example Arduino
Code example ON/OFF
In this example you will see how the LEDs will be switched on with a defined output pin, in a 3 second clock pulse.
Example program ON/OFF download:
Code example PWM
You can regulate the brightness of the LEDs via pulse-width modulation. The LEDs will be switched ON and OFF of for specific time periods, in which the relation between ON and OFF leads to a relative brightness, because of the Inertia of the human eyesight, the human eye interprets the ON/OFF as a brightness change. For more information to that theme visit: [Artikel von mikrokontroller.net]
This module provides a few LEDs - with the overlay of the different brightness levels, you can create different colors. This will be shown in the following code example.
Example program PWM download:
- LED Red = [Pin 10]
- LED Green = [Pin 11]
- LED Blue = [Pin 12]
- Sensor GND = [Pin GND]
- 1 x RGB Full color LED SMD Module
1 x RGB Full color LED SMD Module