FREE SHIPPING to Peninsular Malaysia for orders over RM39.00
Retail Operating Hours: Mon - Sat ( 10AM - 8PM ), Sun & KL Public Holidays Closed

RM3.00
RGB Full color LED SMD Module
Price RM3.00
Product SKU EEP3493
Brand OEM
Reward Points 3
Points Needed 150
Availability
Description
Highlight
  • 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]

DESCRIPTIONS

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. 

 

SPECIFICATIONS

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

If= 20mA

 

Pre-resistor:

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]

Pinout

4 G LG LR LB eng.png

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. 

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

int Led_Red = 10;

int Led_Green = 11;

int Led_Blue = 12;

  

void setup ()

{

  // Output pin initialization for the LEDs

  pinMode (Led_Red, OUTPUT);

  pinMode (Led_Green, OUTPUT);

  pinMode (Led_Blue, OUTPUT);

}

  

void loop () //main program loop

{

  digitalWrite (Led_Red, HIGH);   // LED will be switched on

  digitalWrite (Led_Green, LOW);  // LED will be switched off

  digitalWrite (Led_Blue, LOW);   // LED will be switched off

  delay (3000); // Waitmode for 3 seconds

  

  digitalWrite (Led_Red, LOW);    // LED will be switched off

  digitalWrite (Led_Green, HIGH); // LED will be switched on

  digitalWrite (Led_Blue, LOW);   // LED will be switched off

  delay (3000); // Waitmode for another 3 seconds in which the LED status will be shifted.

   

  digitalWrite (Led_Red, LOW);    // LED will be switched off

  digitalWrite (Led_Green, LOW);  // LED will be switched off

  digitalWrite (Led_Blue, HIGH);  // LED will be switched on

  delay (3000); // Waitmode for another 3 seconds in which the LED status will be shifted.

}

Example program ON/OFF download:

KY-009_LED_ON-OFF


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.

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

int Led_Red = 10;

int Led_Green = 11;

int Led_Blue = 12;

 

int val;

 

void setup () {

  //Output pin initialization for the LEDs

  pinMode (Led_Red, OUTPUT);

  pinMode (Led_Green, OUTPUT);

  pinMode (Led_Blue, OUTPUT);

}

void loop () {

   // In this for-loop, the 3 LEDs will get different PWM-values

   // Via mixing the brightness of the different LEDs, you will get different colors.

   for (val = 255; val> 0; val--)

      {

       analogWrite (Led_Blue, val);

       analogWrite (Led_Green, 255-val);

       analogWrite (Led_Red, 128-val);

       delay (1);

   }

   // You will go backwards through the color range in this second for loop.

   for (val = 0; val <255; val++)

      {

      analogWrite (Led_Blue, val);

      analogWrite (Led_Green, 255-val);

      analogWrite (Led_Red, 128-val);

      delay (1);

   }

}

Example program PWM download:

KY-009_LED_PWM

 

Connections Arduino:

  • LED Red = [Pin 10]
  • LED Green = [Pin 11]
  • LED Blue = [Pin 12]
  • Sensor GND = [Pin GND]

PACKAGE INCLUDES

  • 1 x RGB Full color LED SMD Module
Reviews (0)
view all
back
0
0 reviews
What's in the box

1 x RGB Full color LED SMD Module

Tags: 3493