main
Ray lm331n: component.models_3d pose record per STEP (Z-up, seated z=0, pad-centre origin, identity binding) d27a248
{
  "schema_version": 1,
  "type": "component",
  "slug": "lm331n",
  "title": "LM331N",
  "brief": "HGSEMI Analog To Digital Converters (ADC), DIP-8. Pinout extracted from the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.1.0",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "data acquisition",
    "lm331n"
  ],
  "component": {
    "mpn": "LM331N",
    "manufacturer": "HGSEMI",
    "package": "DIP-8",
    "pin_count": 8,
    "category": "Data Acquisition",
    "subcategory": "Analog To Digital Converters (ADC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8756991794767257600",
    "parts": {
      "symbol": "lm331n.kicad_sym",
      "footprint": "lm331n.kicad_mod",
      "model_3d": "lm331n-etched.glb",
      "model_3d_plain": "lm331n.glb",
      "model_3d_step": "lm331n-etched.step",
      "model_3d_step_plain": "lm331n.step",
      "lbr": "lm331n.lbr"
    },
    "distributor_links": {},
    "pins": [
      {
        "number": "1",
        "name": "IOUT",
        "type": "output",
        "description": "Current output. Switched precision current source output (nominally i = 1.90V/RS, ~135 uA with RS=14 kOhm) that delivers a fixed charge Q = i*t into the load capacitor CL each timing cycle."
      },
      {
        "number": "2",
        "name": "IREF",
        "type": "output",
        "description": "Reference current / bandgap reference pin. Held at 1.90 VDC by the internal current pump; an external resistor RS from pin 2 to ground sets the reference current i = 1.90V/RS (typ. 10 uA to 500 uA operating range)."
      },
      {
        "number": "3",
        "name": "FOUT",
        "type": "output",
        "description": "Frequency output. Open-collector logic output (VSAT ~0.15 V at 5 mA); requires an external pull-up (e.g. 10 kOhm to VLOGIC). Capable of driving up to 3 TTL loads or a high-voltage output up to 40V; short-circuit-proof against VCC."
      },
      {
        "number": "4",
        "name": "GND",
        "type": "power_in",
        "description": "Device ground. All voltages are referenced to GND = 0V."
      },
      {
        "number": "5",
        "name": "R/C",
        "type": "passive",
        "description": "Timing RC network pin. External Rt (to VS) and Ct (to GND) set the one-shot period t = 1.1*Rt*Ct. Internal timer comparator trips at 2/3 VCC (threshold 0.63-0.70 x VS), then an internal reset transistor discharges Ct (VSAT ~0.22 V at 5 mA)."
      },
      {
        "number": "6",
        "name": "THRESHOLD",
        "type": "input",
        "description": "Input comparator inverting input (threshold). Compared to the input at pin 7 by the input comparator. Bias current ~-80 nA typ; common-mode range -0.2V to VCC-2V."
      },
      {
        "number": "7",
        "name": "VIN",
        "type": "input",
        "description": "Comparator input (non-inverting input of the input comparator). Applied signal voltage V1; when V1 > Vx at pin 6 the one-shot timer is triggered. Bias current ~-80 nA typ; common-mode range -0.2V to VCC-2V."
      },
      {
        "number": "8",
        "name": "VS",
        "type": "power_in",
        "description": "Positive supply voltage (VS / VCC). Operating range +4V to +40V; absolute max 40V. Typical supply current 1.5-4.0 mA at VS=5V (LM331)."
      }
    ],
    "provenance": {
      "extractor": "ds2sf",
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8756991794767257600",
        "pages": 21,
        "sha256": "cbb85fee4a95c1f7",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 8,
        "described": 8,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "lm331n.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "body on z = 0, through-hole leads below",
        "extents_mm": [
          7.874,
          9.27,
          6.98
        ],
        "zmin_mm": -3.3,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "4a377a56a8d9e9c0b86c095ef9ecc1869ac19e7f5069a3247b294250bf4f235d",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "lm331n-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "body on z = 0, through-hole leads below",
        "extents_mm": [
          7.874,
          9.27,
          6.98
        ],
        "zmin_mm": -3.3,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "4feff42885230b64cd5b6ed97dd6294f208ad0dea166b1b0da87b05be89fc276",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "HGSEMI",
      "Package": "DIP-8",
      "Category": "Data Acquisition",
      "Pins": "8"
    }
  },
  "variants": [
    {
      "mpn": "LM331N",
      "kind": "packaging"
    },
    {
      "mpn": "LM331AN",
      "kind": "unknown"
    },
    {
      "mpn": "LM331M/TR",
      "kind": "unknown"
    },
    {
      "mpn": "LM331AM/TR",
      "kind": "unknown"
    }
  ],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "lm331n"
  ],
  "discovery_pitch": "LM331N (HGSEMI) component page with datasheet-verified CAD.",
  "author": {
    "name": "Ray"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "lm331n.kicad_sym",
    "lm331n.kicad_mod",
    "lm331n.glb",
    "lm331n.step",
    "lm331n.lbr",
    "docs/hero.png",
    "docs/lm331n-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html"
  ],
  "visibility": {
    "public": true
  },
  "updated_at": "2026-09-28T16:38:01.916Z"
}