main
Ray pin 1: carry the footprint's marker into the .lbr, the viewer and page.json (silk-marker, drawn, top-left) b4ef3aa
{
 "schema": "adom.pads/1",
 "slug": "pt4115b89e",
 "footprint": "SOT-89-5",
 "generated_from": {
  "footprint": "SOT-89-5@sha256:9abcedfc1a89eea0",
  "pins": "page.json:component.pins",
  "overrides": null
 },
 "pin1": {
  "pad": "1",
  "at": [
   -1.85,
   -1.5
  ],
  "corner": "top-left",
  "source": "silk-marker",
  "derived_from": "SOT-89-5@sha256:9abcedfc1a89eea0"
 },
 "pad_count": 5,
 "symbol_pins": [
  "1",
  "2",
  "3",
  "4",
  "5"
 ],
 "paste_apertures": 0,
 "issues": [],
 "pads": [
  {
   "pad": "1",
   "kind": "smd",
   "shape": "roundrect",
   "at": [
    -1.85,
    -1.5
   ],
   "rot": 0.0,
   "size": [
    1.5,
    0.7
   ],
   "layers": [
    "F.Cu",
    "F.Mask",
    "F.Paste"
   ],
   "thermal": false,
   "pin": "1",
   "name": "SW",
   "type": "output",
   "description": "Switch output. Drain of the internal high-side N-channel MOSFET switch (Rds(on) ~0.4-0.6 Ω, Isw <=1.2 A continuous, absolute max 1.5 A, -0.3 to 45 V). Connects to the inductor (and the freewheel diode cathode) in the buck power stage.",
   "is_pin1": true,
   "source": {
    "geometry": "SOT-89-5.kicad_mod",
    "meaning": "page.json:component.pins",
    "correspondence": "kicad: symbol pin number == pad name"
   }
  },
  {
   "pad": "2",
   "kind": "smd",
   "shape": "custom",
   "at": [
    0.0,
    0.0
   ],
   "rot": 0.0,
   "size": [
    0.8,
    2.0
   ],
   "layers": [
    "F.Cu",
    "F.Mask",
    "F.Paste"
   ],
   "thermal": false,
   "pin": "2",
   "name": "GND",
   "type": "power_in",
   "description": "Signal and power ground. Connect directly to the ground plane; also serves as the return for the internal MOSFET switch current.",
   "is_pin1": false,
   "source": {
    "geometry": "SOT-89-5.kicad_mod",
    "meaning": "page.json:component.pins",
    "correspondence": "kicad: symbol pin number == pad name"
   }
  },
  {
   "pad": "3",
   "kind": "smd",
   "shape": "roundrect",
   "at": [
    -1.85,
    1.5
   ],
   "rot": 0.0,
   "size": [
    1.5,
    0.7
   ],
   "layers": [
    "F.Cu",
    "F.Mask",
    "F.Paste"
   ],
   "thermal": false,
   "pin": "3",
   "name": "DIM",
   "type": "input",
   "description": "Logic-level dimming / enable input. Drive below 0.3 V to disable the current regulator (shutdown, Iq ~95 µA); drive >=2.5 V to enable full LED current. Accepts a DC voltage from 0.5-2.5 V for linear brightness control, or a PWM signal from 100 Hz up to 20 kHz for duty-cycle dimming (5000:1 range). Internally pulled to a 5 V rail via a ~200 kΩ resistor, so the pin may be left floating for always-on operation. Absolute max -0.3 to 6 V.",
   "is_pin1": false,
   "source": {
    "geometry": "SOT-89-5.kicad_mod",
    "meaning": "page.json:component.pins",
    "correspondence": "kicad: symbol pin number == pad name"
   }
  },
  {
   "pad": "4",
   "kind": "smd",
   "shape": "roundrect",
   "at": [
    1.85,
    1.5
   ],
   "rot": 0.0,
   "size": [
    1.5,
    0.7
   ],
   "layers": [
    "F.Cu",
    "F.Mask",
    "F.Paste"
   ],
   "thermal": false,
   "pin": "4",
   "name": "CSN",
   "type": "input",
   "description": "High-side current-sense input. Connects to the low side of the external sense resistor Rs (which sits between VIN and CSN). The internal comparator regulates the average voltage (VIN - VCSN) to ~100 mV (98 mV A-type / 102 mV B-type), giving ILED_avg ≈ 0.1 V / Rs. Input current ~8 µA; absolute max +0.3 V to -6.0 V with respect to VIN.",
   "is_pin1": false,
   "source": {
    "geometry": "SOT-89-5.kicad_mod",
    "meaning": "page.json:component.pins",
    "correspondence": "kicad: symbol pin number == pad name"
   }
  },
  {
   "pad": "5",
   "kind": "smd",
   "shape": "roundrect",
   "at": [
    1.85,
    -1.5
   ],
   "rot": 0.0,
   "size": [
    1.5,
    0.7
   ],
   "layers": [
    "F.Cu",
    "F.Mask",
    "F.Paste"
   ],
   "thermal": false,
   "pin": "5",
   "name": "VIN",
   "type": "power_in",
   "description": "Input supply pin. Operating range 6 V to 30 V (absolute max -0.3 to 45 V); UVLO ~5.1 V with ~500 mV hysteresis. Must be locally bypassed (typ. 100 µF ceramic/electrolytic to GND close to the pin). Also serves as the high-side reference for the current-sense comparator.",
   "is_pin1": false,
   "source": {
    "geometry": "SOT-89-5.kicad_mod",
    "meaning": "page.json:component.pins",
    "correspondence": "kicad: symbol pin number == pad name"
   }
  }
 ]
}