RGB LED MODULE SMD KY-009

20.00 EGP

RGB LED MODULE SMD KY-009

SKU RGB smd Mod KY-009 SKU SYS x3397 Availability In stock
Quantities are confirmed after reviewing your order. Orders are normally prepared and shipped within 3–5 business days. Online availability does not necessarily mean the product is currently available at the branch. تأكيد الكميات بيتم بعد مراجعة الأوردر، وتجهيز وشحن الطلب بيستغرق عادة من 3 إلى 5 أيام عمل. توافر المنتج على الموقع لا يعني بالضرورة توافره داخل الفرع، لذلك اعمل الأوردر مسبقًا لتأكيد الكمية وتجهيزه.
تحتاج مساعدة؟ تواصل معنا
Share
Fast shipping Delivery across Egypt
Flexible payment Cash and online options
Quantity confirmation Confirmed after order review
Technical support Help choosing compatible parts

Description

RGB LED MODULE SMD KY-009

The KY-009 RGB Full Color LED module emits a range of colors by mixing red, green, and blue light. Each color is adjusted by using PWM.

Compatible with popular electronics platforms like Arduino, Raspberry Pi and ESP32.

KY-009 SPECIFICATIONS

This module consists of a 5050 SMD LED and 4 male header pins. Use with limiting resistors to prevent LED burnout.

Operating Voltage5V max
Red 1.8V ~2.4V
Green 2.8V ~ 3.6V
Blue 2.8V ~ 3.6V
Forward Current20mA ~ 30mA
Operating Temperature-25°C to 85°C [-13°F ~ 185°F]
Board Diemsions18.5mm x 15mm [0.728in x 0.591in]

CONNECTION DIAGRAM

Connect the red pin (R) to Pin 9, the green pin (G) to pin 10, the blue pin (B) to pin 11 and finally the ground pin (-) to GND.

You must use resistors between the board and the Arduino to prevent LED burnout.

KY-009BreadboardArduino
R180Ω resistorPin 9
G110Ω resistorPin 10
B110Ω resistorPin 11
GND
Arduino KY-009 connection diagram

KY-009 ARDUINO CODE

The following Arduino sketch will cycle through various colors by changing the PWM value on each of the three primary colors.

int redpin = 11; //select the pin for the red LED
int bluepin =10; // select the pin for the  blue LED
int greenpin = 9;// select the pin for the green LED
int val;
void setup() {
  pinMode(redpin, OUTPUT);
  pinMode(bluepin, OUTPUT);
  pinMode(greenpin, OUTPUT);
  Serial.begin(9600);
}
void loop() 
{
  for(val = 255; val > 0; val--)
  {
    analogWrite(redpin, val);  //set PWM value for red
    analogWrite(bluepin, 255 - val); //set PWM value for blue
    analogWrite(greenpin, 128 - val); //set PWM value for green
    Serial.println(val); //print current value 
    delay(1); 
  }
  for(val = 0; val < 255; val++)
  {
    analogWrite(redpin, val);
    analogWrite(bluepin, 255 - val);
    analogWrite(greenpin, 128 - val);
    Serial.println(val);
    delay(1); 
  }
}

Additional information

Size
Type

Related Products