master
John Lauer States (adom/component-states@1): off and lit models, pictures and the rule, shown by <adom-states> 8aaee0d 13d ago
{
 "schema": "adom/component-states@1",
 "mpn": "IN-S63BTG",
 "kind": "led",
 "default": "off",
 "states": [
  {
   "id": "off",
   "label": "Off",
   "summary": "No current: the clear moulded lens as built, unlit.",
   "models": {
    "step": "IN-S63BTG-uncoloured.step",
    "glb": "states/IN-S63BTG-off.glb"
   },
   "image": "states/IN-S63BTG-state-off.png",
   "when": {
    "text": "no forward current (unpowered, reverse biased, or below about 0.1 mA)"
   }
  },
  {
   "id": "on",
   "label": "On (green, 527 nm)",
   "summary": "Forward current flowing: the lens lit green.",
   "models": {
    "step": "IN-S63BTG.step",
    "glb": "states/IN-S63BTG-on.glb"
   },
   "image": "states/IN-S63BTG-state-on.png",
   "look": {
    "lit": "the materials the off model does not have (the lens)",
    "emissive_strength": 1.3,
    "glow": "#46e08a",
    "light": "point"
   },
   "when": {
    "forward_current_mA": [
     0.1,
     25
    ],
    "text": "forward current from A to K above about 0.1 mA (visible), up to 25 mA continuous; (rail - 3.2 V) / R sets it"
   }
  }
 ],
 "electrical": {
  "vf_V": 3.2,
  "if_max_mA": 25,
  "lambda_d_nm": 527,
  "source": "datasheet p.2, p.3"
 },
 "pins": {
  "anode": "2",
  "cathode": "1"
 }
}