Robot Pi Shop

KY-011 Two Color LED Module

$1.25

Shipping calculated at checkout.

Quantity

KY-011 Two Color LED Module – 5mm Red & Green LED for Arduino & ESP32

The KY-011 Two Color LED Module is a compact dual-color LED module designed for visual indicators, status monitoring, and electronic projects.

Featuring a 5mm bi-color LED with red and green light elements, the module allows users to control each color independently using a microcontroller. By activating both colors, it can also produce a combined yellow-orange appearance.

The KY-011 is ideal for Arduino, ESP32, Raspberry Pi, robotics, automation, and DIY electronics projects.

Key Features

  • Model: KY-011
  • LED Type: 5mm Bi-Color LED
  • LED Colors: Red and Green
  • LED Configuration: Common Cathode (Typical)
  • Control Method: Digital Output or PWM
  • Interface: 3 Pins (Red, Green, Ground)
  • Independent Color Control
  • Dual-Color Status Indication
  • Compact and Lightweight PCB Design
  • Compatible with Arduino, ESP32, and Raspberry Pi Projects

Technical Specifications

Parameter Specification
Model KY-011
Product Type Two Color LED Module
LED Type 5mm Bi-Color LED
LED Colors Red and Green
Number of LED Elements 2
LED Configuration Common Cathode (Typical)
Red Forward Voltage Approximately 1.8–2.2V
Green Forward Voltage Approximately 2.0–3.2V (LED Dependent)
Control Voltage 3.3V / 5V Logic with Appropriate Current Limiting
Control Method Digital / PWM
Number of Pins 3
Typical Pin Labels R, G, -
Board Dimensions Approximately 18.5 × 15mm
Current Limiting Required for Each LED Channel

Pin Configuration

Pin Function
R Red LED Control
G Green LED Control
- Common Ground (Cathode)

Arduino Connection Example

KY-011 Arduino Uno
R D9 through a current-limiting resistor
G D10 through a current-limiting resistor
- GND

Use an appropriate resistor for each LED channel to limit current and protect the LED and microcontroller.

Arduino Example Code

const int redPin = 9;
const int greenPin = 10;

void setup() {
  pinMode(redPin, OUTPUT);
  pinMode(greenPin, OUTPUT);
}

void loop() {
  // Red
  digitalWrite(redPin, HIGH);
  digitalWrite(greenPin, LOW);
  delay(1000);

  // Green
  digitalWrite(redPin, LOW);
  digitalWrite(greenPin, HIGH);
  delay(1000);

  // Both colors
  digitalWrite(redPin, HIGH);
  digitalWrite(greenPin, HIGH);
  delay(1000);

  // OFF
  digitalWrite(redPin, LOW);
  digitalWrite(greenPin, LOW);
  delay(1000);
}

This example alternates between red, green, both colors, and OFF.

Applications

  • Arduino and ESP32 Projects
  • Raspberry Pi GPIO Indicators
  • Robotics Status Indicators
  • Power and System Status Displays
  • Warning and Notification Lights
  • Electronic Prototyping
  • DIY Control Panels
  • Educational STEM Projects
  • Traffic Light Demonstrations
  • Automation Systems

Important Notes

  • The KY-011 is a two-color LED module, not an RGB LED module.
  • It provides red and green illumination, with a combined color possible when both elements are activated.
  • The module does not contain a programmable LED controller.
  • Use suitable current-limiting resistors unless they are already integrated into the supplied board.
  • For ESP32 and Raspberry Pi, respect the 3.3V GPIO voltage and current limits.
  • The LED's forward voltage and brightness depend on the specific component version.
  • Verify the pin arrangement and common-cathode configuration before wiring.

Package Includes

1 × KY-011 Two Color LED Module