KY-011 Two-Color LED Module

KY-011 Two-Color LED Module image

View on Amazon

Overview

The KY-011 is a two-color LED module featuring a common cathode 3mm LED capable of emitting red and green light. By adjusting the intensity of each color using PWM, various colors can be achieved. It's ideal for visual feedback in electronic projects.

About KY-011 Two-Color LED Module

The KY-011 Two-Color LED Module features a 3mm common cathode LED capable of emitting red and green light. By adjusting the intensity of each color using PWM, various colors can be achieved. The module operates at a forward voltage between 2.0V and 2.5V with a typical forward current of 20mA. It’s compatible with microcontrollers like Arduino and ESP32, making it suitable for visual feedback in projects.

Where to Buy

Get Your KY-011

KY-011 Two-Color LED Module

Starting from

1$ per unit

Amazon com
Amazon.com Ships worldwide
Amazon de
Amazon.de Ships to EU
Aliexpress
AliExpress Best value option

Prices are subject to change. We earn from qualifying purchases as an Amazon Associate.

Technical Specs

KY-011 Specifications

Complete technical specification details for KY-011 Two-Color LED Module

📊 Technical Parameters

Forward Voltage 2.0V - 2.5V
Forward Current 20mA
LED Diameter 3mm
Colors Red and Green
Beam Angle 150°
Wavelength Red: 644nm, Green: 571nm
Luminous Intensity Red: 40-80 mcd, Green: 20-40 mcd
Pin Configuration

KY-011 Pinout

The **KY-011** is a 3-pin two-color LED module (red/green common cathode):

Visual Pinout Diagram

Pinout Diagram Primary
KY-011 Two-Color LED Module pinout
3
Total Pins

Pin Types

Power
1
Communication
2

Quick Tips

🔌

**Interface**: PWM control for each color channel,🌈 **Colors**: Red, green, and mixed colors (yellow/orange)

💡

**Configuration**: Common cathode (shared ground),⚡ **Current**: 20mA per LED, 2.0-2.5V forward voltage

🔧

**Resistors**: Current-limiting resistors required for each LED,🎯 **Applications**: Status indicators, visual feedback, alerts, decorative lighting

Pin Descriptions

Pin NameTypeDescriptionNotes
1 Pin (G)
Power

Common cathode (ground)

Shared ground for both LEDs

2 Pin (R)
Communication

Red LED anode

2.0-2.5V forward voltage, 20mA

3 Pin (Y)
Communication

Green LED anode

2.0-2.5V forward voltage, 20mA (Y=Yellow marking)

Connection Guide

Wiring KY-011 to ESP32

To interface the **KY-011** with an **ESP32** for two-color LED control:

Visual Wiring Diagram

Wiring Diagram Recommended
KY-011 Two-Color LED Module wiring with ESP32
3
Connections

Connection Status

Required
3

Protocol

PWM

Pin Connections

KY-011 PinConnectionESP32 PinDescription
1 Pin (G) Required
GND

Common ground

2 Pin (R) Required
GPIO18

Red channel (via current-limiting resistor)

3 Pin (Y) Required
GPIO19

Green channel (via current-limiting resistor)

💡

**Current-Limiting Resistors**: Use ~100-220Ω resistors for LED protection

🌈

**PWM Control**: Use PWM for color mixing and brightness adjustment

🔌

**GPIO Selection**: Use any PWM-capable GPIOs, shown pins are examples

**3.3V Logic**: ESP32's 3.3V output sufficient with proper resistors

Help & Support

KY-011 Troubleshooting

Common issues and solutions to help you get your sensor working

Common Issues

Debugging Tips

Code Examples

KY-011 Programming Examples

Ready-to-use code examples for different platforms and frameworks

Summary

Wrapping Up KY-011

The ESP32 KY-011 Two-Color LED Module is a powerful KY-0xx module sensor that offers excellent performance and reliability. With support for multiple development platforms including Arduino, ESP-IDF, ESPHome, PlatformIO, and MicroPython, it's a versatile choice for your IoT projects.

Best Practices

For optimal performance, ensure proper wiring and follow the recommended configuration for your chosen development platform.

Safety First

Always verify power supply requirements and pin connections before powering up your project to avoid potential damage.

Ready to Start Building?

Now that you have all the information you need, it's time to integrate the KY-011 into your ESP32 project and bring your ideas to life!

Similar Options

Explore Alternative Sensors

Looking for alternatives to the KY-011? Check out these similar sensors that might fit your project needs.

KY-053 Analog Digital Converter Module

KY-053 Analog Digital Converter Module

KY-0XX MODULE I2C

The KY-053 is an analog-to-digital converter module featuring the ADS1115 ADC. It provides four 16-bit resolution channels and communicates...

View Details
KY-004 Key Switch Module

KY-004 Key Switch Module

KY-0XX MODULE Digital

The KY-004 is a key switch module equipped with a tactile push-button. It provides a digital output signal when pressed, making it ideal for...

View Details
KY-001 Temperature Sensor Module

KY-001 Temperature Sensor Module

KY-0XX MODULE 1-Wire

The KY-001 is a temperature sensor module that operates within a wide temperature range. It supports 1-Wire communication and is based on...

View Details