5mm RGB LED

Single RGB LED in one package with three dies sharing a common pin. Three PWM channels and three series resistors. Common cathode and common anode variants are physically identical and behave inversely.

Actuator LED-RGB-5MM led pwm Draft

This entry is draft and has not been confirmed against physical hardware. A conforming tool will refuse to provision it. The datasheet is the authority, not this page.

Specifications

Protocol pwm
Model number LED-RGB-5MM
Actuator type led
Command topic suffix command/led
Response topic suffix response/led

Commands

CommandArgumentRangeDescription
ON none - Turn on at the last set colour, or white if none was set
OFF none - Turn all three channels off
SET_COLOR colour - Set colour as a hex RGB value
SET_BRIGHTNESS brightness 0 to 100 % Scale all three channels by a percentage

Wiring

PinRequiredNotes
red Yes Series resistor required between the pin and the anode. Size it for the forward voltage of the colour fitted, typically 220R at 3.3V for red and 100R for blue, green or white.
green Yes Series resistor required between the pin and the anode. Size it for the forward voltage of the colour fitted, typically 220R at 3.3V for red and 100R for blue, green or white.
blue Yes Series resistor required between the pin and the anode. Size it for the forward voltage of the colour fitted, typically 220R at 3.3V for red and 100R for blue, green or white.
common Yes Ground on a common cathode part, supply on a common anode part.

Supply: 3.3V or 5V through three series resistors

Failure modes

  • A series resistor is mandatory on every anode. Without one the LED is across the full supply and either the die or the GPIO pin fails, usually within seconds and often silently at first.
  • Sizing the resistor needs the forward voltage of that colour, which is not the same across colours. Red and yellow are around 2.0V, green blue and white around 3.0V to 3.4V. A resistor calculated for red run on a blue LED gives a dim output; one calculated for blue run on red overdrives it.
  • Reversed polarity does not light and does not obviously fail. The longer leg is the anode. A flat on the rim marks the cathode.
  • Continuous current above 20mA shortens life even where the LED still lights. Most GPIO pins are rated well below what a chain of LEDs draws, and the total across all pins has its own limit that is easy to exceed with a handful of indicators.
  • Software PWM produces visible flicker on a loaded processor. Use a hardware PWM pin where the brightness matters.
  • Common cathode and common anode packages look identical. On a common anode part every duty cycle is inverted, so a colour request produces its complement and OFF produces full white.
  • The three dies have different efficiencies, so equal duty cycles do not produce white. Per channel calibration is needed for accurate colour.
  • Three channels on one package share the common leg. Driving all three at full duty puts the sum through it, which is the case a single resistor on the common pin cannot handle. Resistor per channel, not one on the common.

Entry

Keyled-rgb-5mm
StatusDraft
Revision1
Registry0.3.0

Join the Private Beta

Pre-registering for the IntelliConnect Beta provides early access to infrastructure features, the development roadmap, and early-adopter pricing tiers.

Early Access

Access to the broker, MCPs, rule engine, and developer console during launch phase.

Direct Support

Direct communication channel with the engineering team for integration assistance.

Discounts

Beta testers secure specialized pricing tiers for both Enterprise and Maker accounts.

Pre-register Now