KY-009 SMD RGB LED Module – Full Color LED for Arduino & ESP32
The KY-009 SMD RGB LED Module is a compact, full-color LED module designed for lighting effects, visual indicators, and electronic projects.
Featuring a 5050 SMD RGB LED, the module combines red, green, and blue light sources in a single package. By controlling the brightness of each color independently using PWM (Pulse Width Modulation), users can create a wide range of colors and lighting effects.
The KY-009 is ideal for Arduino, ESP32, Raspberry Pi, robotics, STEM education, and DIY electronics projects.
Key Features
-
Model: KY-009
-
LED Type: 5050 SMD RGB LED
-
LED Colors: Red, Green, Blue (RGB)
-
Color Mixing: Multiple Colors Through PWM Control
-
LED Configuration: Common Cathode (Typical)
-
Operating Logic: 3.3V / 5V Microcontroller Compatible with Appropriate Current Limiting
-
Control Method: Individual RGB Channels
-
Interface: 4-Pin (R, G, B, -)
- Compact PCB Design
- Suitable for Arduino, ESP32, and Raspberry Pi Projects
Technical Specifications
| Parameter |
Specification |
| Model |
KY-009 |
| Product Type |
RGB LED Module |
| LED Package |
5050 SMD |
| LED Technology |
RGB Light Emitting Diode |
| Number of LEDs |
1 RGB LED |
| LED Colors |
Red, Green, Blue |
| LED Configuration |
Common Cathode (Typical) |
| Red Forward Voltage |
Approximately 1.8–2.2V |
| Green Forward Voltage |
Approximately 3.0–3.3V |
| Blue Forward Voltage |
Approximately 3.0–3.3V |
| Control Method |
PWM / Digital Output |
| Interface |
4 Pins |
| Pin Labels |
R, G, B, - |
| Board Dimensions |
Approximately 18.5 × 15mm |
| Current Limiting |
Required for Each Color Channel |
Pin Configuration
| Pin |
Function |
| R |
Red LED Control |
| G |
Green LED Control |
| B |
Blue LED Control |
| - |
Common Ground (Cathode) |
Arduino Connection Example
| KY-009 |
Arduino Uno |
| R |
D9 through a suitable resistor |
| G |
D10 through a suitable resistor |
| B |
D11 through a suitable resistor |
| - |
GND |
Use an appropriate current-limiting resistor for each LED color channel. The resistor values depend on the supply voltage, LED forward voltage, and desired current.
Arduino Example Code
const int redPin = 9;
const int greenPin = 10;
const int bluePin = 11;
void setup() {
pinMode(redPin, OUTPUT);
pinMode(greenPin, OUTPUT);
pinMode(bluePin, OUTPUT);
}
void loop() {
// Red
analogWrite(redPin, 255);
analogWrite(greenPin, 0);
analogWrite(bluePin, 0);
delay(1000);
// Green
analogWrite(redPin, 0);
analogWrite(greenPin, 255);
analogWrite(bluePin, 0);
delay(1000);
// Blue
analogWrite(redPin, 0);
analogWrite(greenPin, 0);
analogWrite(bluePin, 255);
delay(1000);
// Purple
analogWrite(redPin, 255);
analogWrite(greenPin, 0);
analogWrite(bluePin, 255);
delay(1000);
}
This example cycles through red, green, blue, and purple using the Arduino's PWM outputs.
Applications
- Arduino and ESP32 Projects
- RGB Color Mixing Experiments
- Robotics Status Indicators
- LED Lighting Effects
- Electronic Prototyping
- Interactive Displays
- Educational STEM Projects
- DIY Decorative Lighting
- Visual Alarm and Notification Systems
Important Notes
-
The KY-009 is a non-addressable RGB LED module. Each color channel is controlled separately.
- It is different from WS2812B/NeoPixel LEDs, which use a digital data protocol.
- The KY-009 commonly uses a common-cathode configuration, but the actual module pinout should be verified.
- Use suitable current-limiting resistors unless the supplied module already includes them.
-
For ESP32 and Raspberry Pi, respect the 3.3V GPIO voltage and current limits. Use an external driver when necessary.
- The KY-009 does not require a dedicated RGB LED driver IC for basic operation.
Package Includes
1 × KY-009 SMD RGB LED Module