main
Ray Publish 0.1.0 8e801ab
{
  "slug": "lm239drg",
  "version": "0.1.0",
  "type": "component",
  "description": "HANSCHIP semiconductor Comparators, SOP-14. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "amplifiers-comparators",
    "lm239drg",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "lm239drg.kicad_sym",
    "lm239drg.kicad_mod",
    "lm239drg.glb",
    "lm239drg.step",
    "lm239drg.lbr",
    "docs/hero.png",
    "docs/lm239drg-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "lm239drg-hero.glb",
    "lm239drg-hero.overlay.json",
    "lm239drg-etched.glb"
  ],
  "component": {
    "mpn": "LM239DRG",
    "manufacturer": "HANSCHIP semiconductor",
    "package": "SOP-14",
    "pin_count": 14,
    "category": "Amplifiers/Comparators",
    "subcategory": "Comparators",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8756594991907258368",
    "parts": {
      "symbol": "lm239drg.kicad_sym",
      "footprint": "lm239drg.kicad_mod",
      "model_3d": "lm239drg-hero.glb",
      "model_3d_plain": "lm239drg-etched.glb",
      "model_3d_step": "lm239drg-etched.step",
      "model_3d_step_plain": "lm239drg.step",
      "lbr": "lm239drg.lbr"
    },
    "distributor_links": {
      "lcsc": "C5145323"
    },
    "distributor_check": {
      "checked_at": "2026-11-10T19:19:57Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "deferred",
        "error": "shared DigiKey quota guard: 251 calls left today"
      },
      "mouser": {
        "pn": null,
        "status": "quota"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "OUT2",
        "type": "output",
        "description": "Output of comparator 2, which sinks at least 6.0 mA (ISINK, VIN(-)≥1.0 V, VIN(+)=0 V, Vo≤1.5 V) with saturation voltage of 130 mV typ and 400 mV max at 4.0 mA, and an absolute output current limit of 50 mA."
      },
      {
        "number": "2",
        "name": "OUT1",
        "type": "output",
        "description": "Output of comparator 1, which sinks at least 6.0 mA (ISINK, VIN(-)≥1.0 V, VIN(+)=0 V, Vo≤1.5 V) with saturation voltage of 130 mV typ and 400 mV max at 4.0 mA, and an absolute output current limit of 50 mA."
      },
      {
        "number": "3",
        "name": "Vcc",
        "type": "power_in",
        "description": "Positive supply pin; recommended supply is 3 to 32 V single-supply or ±1.5 to ±16 V dual-supply, with absolute maximum 36 V or ±18 V."
      },
      {
        "number": "4",
        "name": "IN1(-)",
        "type": "input",
        "description": "Inverting input of comparator 1; the recommended input common-mode range is (V-) - 0.1 V to (V+) - 2 V, and the absolute limit is -0.3 V to Vcc."
      },
      {
        "number": "5",
        "name": "IN1(+)",
        "type": "input",
        "description": "Non-inverting input of comparator 1; the recommended input common-mode range is (V-) - 0.1 V to (V+) - 2 V, and the absolute limit is -0.3 V to Vcc."
      },
      {
        "number": "6",
        "name": "IN2(-)",
        "type": "input",
        "description": "Inverting input of comparator 2; the recommended input common-mode range is (V-) - 0.1 V to (V+) - 2 V, and the absolute limit is -0.3 V to Vcc."
      },
      {
        "number": "7",
        "name": "IN2(+)",
        "type": "input",
        "description": "Non-inverting input of comparator 2; the recommended input common-mode range is (V-) - 0.1 V to (V+) - 2 V, and the absolute limit is -0.3 V to Vcc."
      },
      {
        "number": "8",
        "name": "IN3(-)",
        "type": "input",
        "description": "Inverting input of comparator 3; the recommended input common-mode range is (V-) - 0.1 V to (V+) - 2 V, and the absolute limit is -0.3 V to Vcc."
      },
      {
        "number": "9",
        "name": "IN3(+)",
        "type": "input",
        "description": "Non-inverting input of comparator 3; the recommended input common-mode range is (V-) - 0.1 V to (V+) - 2 V, and the absolute limit is -0.3 V to Vcc."
      },
      {
        "number": "10",
        "name": "IN4(-)",
        "type": "input",
        "description": "Inverting input of comparator 4; the recommended input common-mode range is (V-) - 0.1 V to (V+) - 2 V, and the absolute limit is -0.3 V to Vcc."
      },
      {
        "number": "11",
        "name": "IN4(+)",
        "type": "input",
        "description": "Non-inverting input of comparator 4; the recommended input common-mode range is (V-) - 0.1 V to (V+) - 2 V, and the absolute limit is -0.3 V to Vcc."
      },
      {
        "number": "12",
        "name": "GND",
        "type": "power_in",
        "description": "Ground pin (地) of the device."
      },
      {
        "number": "13",
        "name": "OUT4",
        "type": "output",
        "description": "Output of comparator 4, which sinks at least 6.0 mA (ISINK, VIN(-)≥1.0 V, VIN(+)=0 V, Vo≤1.5 V) with saturation voltage of 130 mV typ and 400 mV max at 4.0 mA, and an absolute output current limit of 50 mA."
      },
      {
        "number": "14",
        "name": "OUT3",
        "type": "output",
        "description": "Output of comparator 3, which sinks at least 6.0 mA (ISINK, VIN(-)≥1.0 V, VIN(+)=0 V, Vo≤1.5 V) with saturation voltage of 130 mV typ and 400 mV max at 4.0 mA, and an absolute output current limit of 50 mA."
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.3",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.3",
        "primary_model": "claude-haiku-5-5",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: The pinout is taken from the shared DIP/SOP/TSSOP pin table on page 2, which applies to LM239DRG (SO; The datasheet gives no explicit output stage type (open-collector or push-pull); output pins are typ"
        ],
        "pages_sent": 9,
        "cost_usd": 0.038,
        "at": "2026-11-10T19:19:44"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8756594991907258368",
        "pages": 9,
        "sha256": "bcf990502f11af7e",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "model_3d_generated": {
        "generator": "factory/gen_pkg3d.py",
        "family": "SOIC",
        "height_mm": 1.4500000000000002,
        "height_basis": "datasheet A, midpoint of min and max",
        "standoff_mm": 0.15,
        "standoff_basis": "family nominal (no datasheet A1 read)",
        "lead_width_mm": 0.36,
        "lead_width_basis": "default: 0.6 x pad width across the lead, at most 0.45 x pitch 1.27 mm; a tab 0.9 x its width (no datasheet b read)",
        "lead_thickness_mm": 0.2,
        "lead_thickness_basis": "default for pitch 1.27 mm, height 1.45 mm (no datasheet c read)"
      },
      "pins": {
        "total": 14,
        "described": 14,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "lm239drg.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.0,
          8.65,
          1.45
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "b0c8a7228904a43e33d97f4370adf8e21021b76f3d9c9d5cf61da2176a4e6c07",
        "checked": "2026-11-10",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "lm239drg-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.0,
          8.65,
          1.45
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "fe53a334a7ceda4778860de0a20d2f6f045770bb07bd4972c061f1c86f33b4cd",
        "checked": "2026-11-10",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ],
    "package_dims": {
      "package_code": "SOP-14",
      "source_page": 6,
      "D": {
        "nom_mm": 8.65,
        "range_mm": [
          8.55,
          8.75
        ]
      },
      "E1": {
        "nom_mm": 3.9,
        "range_mm": [
          3.8,
          4.0
        ]
      },
      "E": {
        "nom_mm": 6.0,
        "range_mm": [
          5.8,
          6.2
        ]
      },
      "e": {
        "nom_mm": 1.27,
        "range_mm": [
          null,
          null
        ]
      },
      "A": {
        "nom_mm": 1.45,
        "range_mm": [
          1.35,
          1.55
        ]
      },
      "source": "datasheet package drawing, every number found on its page (extract_pins --task dims)",
      "model_check": {
        "file": "lm239drg.step",
        "verdict": "PASS",
        "reasons": [
          "height and body within the datasheet's package drawing"
        ],
        "by": "factory/package_fit.py"
      }
    }
  }
}