Robot Pi Shop

KY-029 Dual Color LED Module

$1.25

Shipping calculated at checkout.

Quantity

KY-029 Dual Color LED Module – 5mm Red & Green Bi-Color LED for Arduino & ESP32

The KY-029 Dual Color LED Module is a compact electronic module designed to produce two different LED colors for status indication, visual alerts, and educational electronics projects.

Featuring a 5mm two-pin bi-color LED, the module can illuminate red or green depending on the polarity of the applied voltage. Unlike RGB LED modules, the KY-029 uses a simple polarity-reversal method to select the desired color.

It is ideal for Arduino, ESP32, Raspberry Pi, robotics, control panels, electronic indicators, and DIY projects.

Key Features

  • Model: KY-029
  • LED Type: 5mm Bi-Color LED
  • LED Colors: Red and Green
  • LED Configuration: Two-Pin, Reverse-Polarity
  • Control Method: Digital GPIO
  • Color Selection: Voltage Polarity Reversal
  • Interface: 2 Signal Pins
  • Compact PCB Design
  • Low Power Consumption
  • Suitable for Arduino, ESP32, and Raspberry Pi Projects

Technical Specifications

Parameter Specification
Model KY-029
Product Type Dual Color LED Module
LED Type 5mm Bi-Color LED
LED Colors Red / Green
Number of LED Elements 2
LED Configuration Two-Pin, Anti-Parallel
Control Method Polarity Reversal
Red Forward Voltage Approximately 1.8–2.2V
Green Forward Voltage Approximately 2.0–3.2V (LED Dependent)
Recommended Drive Current-Limited GPIO or LED Driver
Interface 2 Pins
Typical Pin Labels S / -
Board Dimensions Approximately 18.5 × 15mm
Current Limiting Required
LED Control Digital Output / PWM

Pin Configuration

Pin Function
S LED Terminal 1
- LED Terminal 2

Important: On common KY-029 modules, both pins are used to drive the bi-color LED. The pin marked "-" should not be assumed to be a permanent ground connection when reversing polarity.

How It Works

The KY-029 contains two LED elements connected in opposite directions.

When current flows in one direction, the red LED illuminates. When current flows in the opposite direction, the green LED illuminates.

By changing the output states of two microcontroller GPIO pins, users can switch between the two colors.

GPIO 1 GPIO 2 LED Behavior
HIGH LOW One LED color
LOW HIGH Opposite LED color
LOW LOW OFF
HIGH HIGH OFF

The actual color associated with each polarity depends on the LED's internal orientation.

Arduino Connection Example

KY-029 Arduino Uno
S D9 through a current-limiting resistor
- D10

A suitable series resistor is required to limit LED current. For a typical Arduino Uno operating at 5V, a 330Ω resistor is a reasonable starting value for low-current testing, subject to the actual LED specifications.

Arduino Example Code

const int ledPin1 = 9;
const int ledPin2 = 10;

void setup() {
  pinMode(ledPin1, OUTPUT);
  pinMode(ledPin2, OUTPUT);
}

void loop() {
  // First color
  digitalWrite(ledPin1, HIGH);
  digitalWrite(ledPin2, LOW);
  delay(1000);

  // Second color
  digitalWrite(ledPin1, LOW);
  digitalWrite(ledPin2, HIGH);
  delay(1000);

  // LED OFF
  digitalWrite(ledPin1, LOW);
  digitalWrite(ledPin2, LOW);
  delay(1000);
}

This example alternates between the two LED colors and the OFF state.

Applications

  • Arduino and ESP32 Projects
  • Raspberry Pi GPIO Indicators
  • Robotics Status Indicators
  • Power and System Status Displays
  • Warning and Notification Lights
  • Electronic Control Panels
  • Educational STEM Projects
  • DIY Electronics and Prototyping
  • Traffic Signal Demonstrations
  • Interactive Lighting Projects

Important Notes

  • The KY-029 is a two-pin bi-color LED module, not a full-color RGB LED module.
  • The two colors are selected by reversing the direction of current through the LED.
  • The KY-029 differs from the KY-011, which typically uses a three-pin common-cathode LED with separately controlled red and green channels.
  • The module does not contain a programmable LED controller.
  • Use a suitable current-limiting resistor unless the supplied board already includes adequate current limiting.
  • Do not connect the LED directly across a power supply without appropriate current limiting.
  • For ESP32 and Raspberry Pi, respect the 3.3V GPIO voltage and current limits. Use an external driver when necessary.
  • The actual color produced by each polarity should be confirmed during testing.
  • The KY-029 is designed for low-power indicator applications, not high-power lighting.

Package Includes

1 × KY-029 Dual Color LED Module