Two-Color LED Module
Two-color LED modules combine red/green LED channels so code can show red, green, yellow-ish blends, and status states.
Part images
What it is
Two-color LED modules combine red/green LED channels so code can show red, green, yellow-ish blends, and status states.
How students use it
Students use them for status lights, simple traffic indicators, game feedback, and PWM color blending.
Pins and power
Pin count and common pin behavior differ by KY-011 and KY-029 variants. Verify common anode/cathode before wiring.
Each LED color channel needs appropriate current limiting and Pico-safe GPIO current.
KY-011 and KY-029 variants are wired differently, so check the exact module before choosing active-high or active-low code.
Voltage and safety
Use current limiting and keep GPIO current within Pico limits.
Do not drive LED channels directly without current planning.
Module internals
Main component: Dual-color LED package/module.
Red/green LED package, resistors/support parts depending on module, PCB, and header.
Datasheet notes
This page covers the common 3mm two-color module variants in the 37-in-1 kit family.
Common libraries
Use machine.Pin for on/off or machine.PWM for brightness/color blending.
Common mistakes
Confusing common anode and common cathode, expecting full RGB color, and using one resistor for multiple independent channels.