component
WS2812
Public Made by Adomby adom
Worldsemi RGB LEDs(Built-In IC), SMD5050-4P. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
main
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
{
"schema": "adom/component-states@1",
"mpn": "WS2812",
"kind": "led",
"default": "off",
"states": [
{
"id": "off",
"label": "Off",
"summary": "No current: the part as built, unlit.",
"models": {
"step": "ws2812-etched.step",
"glb": "states/ws2812-off.glb"
},
"image": "states/ws2812-state-off.png",
"when": {
"text": "no channel driven"
}
},
{
"id": "red",
"label": "Red",
"summary": "Forward current flowing: the lens lit red, casting a 120-degree spot (an illustration, not photometry).",
"models": {
"step": "states/ws2812-red.step",
"glb": "states/ws2812-red.glb"
},
"image": "states/ws2812-state-red.png",
"look": {
"lit": "Adom.LED.Emission (the lens skin) and the Adom.LED.Light spot",
"emissive_strength": 1.6,
"glow": "#ff2719",
"light": "spot"
},
"when": {
"text": "the red channel driven"
}
},
{
"id": "green",
"label": "Green",
"summary": "Forward current flowing: the lens lit green, casting a 120-degree spot (an illustration, not photometry).",
"models": {
"step": "states/ws2812-green.step",
"glb": "states/ws2812-green.glb"
},
"image": "states/ws2812-state-green.png",
"look": {
"lit": "Adom.LED.Emission (the lens skin) and the Adom.LED.Light spot",
"emissive_strength": 1.6,
"glow": "#21ff4b",
"light": "spot"
},
"when": {
"text": "the green channel driven"
}
},
{
"id": "blue",
"label": "Blue",
"summary": "Forward current flowing: the lens lit blue, casting a 120-degree spot (an illustration, not photometry).",
"models": {
"step": "states/ws2812-blue.step",
"glb": "states/ws2812-blue.glb"
},
"image": "states/ws2812-state-blue.png",
"look": {
"lit": "Adom.LED.Emission (the lens skin) and the Adom.LED.Light spot",
"emissive_strength": 1.6,
"glow": "#2c69ff",
"light": "spot"
},
"when": {
"text": "the blue channel driven"
}
}
],
"electrical": {
"source": "datasheet p.3"
},
"generator": {
"service": "service-occt",
"convention": "docs/LED-STATE-CONVENTION.md (adom/adom-step2glb #17)",
"lens_rule": "window",
"assumed": [
"viewing_angle"
]
}
}