main
Ray page.json: fold the "EP" entry into pin 2. On SOT-89-5 the tab is not a separate pad - it is that lead - so nothing was… 8fa5d3d
{
 "schema": "adom.pads/1",
 "slug": "pt4115",
 "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": "Drain of the internal high-side power MOSFET. Connects to the switching node between the inductor and the Schottky freewheeling diode. Rated -0.3 V to 35 V; on-resistance ~0.4 Ω at V_IN=24 V, ~0.6 Ω at V_IN=12 V; continuous current up to 1.2 A (absolute max 1.5 A).",
   "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": "Device ground return for the power stage and internal control circuitry. Should be tied to the input bypass-capacitor return and the exposed pad using a star-ground layout. Also the package tab: exposed thermal pad on the underside of the SOT89-5 package. Provides the primary heat-dissipation path (θJA ≈ 45 °C/W) and is internally connected to ground. Must be soldered to a PCB copper plane and tied to the GND net.",
   "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": "Multiplexed dimming / enable input. V_DIM < 0.3 V shuts the part down (I_Q ≈ 60 µA); 0.5 V ≤ V_DIM ≤ 2.5 V provides linear analog dimming; V_DIM ≥ 2.5 V (up to 5 V) gives full LED current. Also accepts PWM up to ~20 kHz (max 50 kHz) for PWM dimming. Internally pulled up to a ~5 V rail through ~200 kΩ, so it may be left floating for full-current operation.",
   "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": "Current-sense negative input. The external sense resistor R_S (≥ 0.082 Ω) is connected between VIN and CSN; the internal comparator regulates the average LED current to I_OUT = 0.1 / R_S with a ±5% accuracy (V_CSN threshold ≈ 100 mV, ±15% hysteresis). Rated 0.3 V to -6 V relative 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": "Main supply input, 6 V to 30 V recommended (absolute max 35 V, UVLO ≈ 5.1 V rising, 500 mV hysteresis). A low-ESR bypass capacitor (≥ 4.7 µF X5R/X7R) must be placed close to this pin.",
   "is_pin1": false,
   "source": {
    "geometry": "SOT-89-5.kicad_mod",
    "meaning": "page.json:component.pins",
    "correspondence": "kicad: symbol pin number == pad name"
   }
  }
 ]
}