main
Ray Publish 0.1.0 b6bf6b3 6d ago
{
  "slug": "lm311dr2g",
  "version": "0.1.0",
  "type": "component",
  "description": "onsemi Comparators, SOIC-8. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "amplifiers-comparators",
    "lm311dr2g",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "lm311dr2g.kicad_sym",
    "lm311dr2g.kicad_mod",
    "lm311dr2g.glb",
    "lm311dr2g.step",
    "lm311dr2g.lbr",
    "docs/hero.png",
    "docs/lm311dr2g-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "lm311dr2g-hero.glb",
    "lm311dr2g-hero.overlay.json",
    "lm311dr2g-etched.glb"
  ],
  "component": {
    "mpn": "LM311DR2G",
    "manufacturer": "onsemi",
    "package": "SOIC-8",
    "pin_count": 8,
    "category": "Amplifiers/Comparators",
    "subcategory": "Comparators",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588884177798778880",
    "parts": {
      "symbol": "lm311dr2g.kicad_sym",
      "footprint": "lm311dr2g.kicad_mod",
      "model_3d": "lm311dr2g-hero.glb",
      "model_3d_plain": "lm311dr2g-etched.glb",
      "model_3d_step": "lm311dr2g-etched.step",
      "model_3d_step_plain": "lm311dr2g.step",
      "lbr": "lm311dr2g.lbr"
    },
    "distributor_links": {
      "lcsc": "C231850",
      "digikey": "LM311DR2GOSTR-ND"
    },
    "distributor_check": {
      "checked_at": "2026-10-18T11:53:15Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "LM311DR2GOSTR-ND",
        "status": "found"
      },
      "mouser": {
        "pn": null,
        "status": "quota"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "GND",
        "type": "power_in",
        "description": "Ground pin of the comparator, where the output transistor emitter is returned; input polarity is reversed if it is used as an output."
      },
      {
        "number": "2",
        "name": "IN+",
        "type": "input",
        "description": "Comparator input (non-inverting per the standard LM311 pinout); input voltage rating is ±15 V and differential input is ±30 V."
      },
      {
        "number": "3",
        "name": "IN-",
        "type": "input",
        "description": "Comparator input (inverting per the standard LM311 pinout); input voltage rating is ±15 V and differential input is ±30 V."
      },
      {
        "number": "4",
        "name": "VEE",
        "type": "power_in",
        "description": "Negative supply; ground to VEE voltage is limited to 30 V and total supply VCC+|VEE| to 36 V (tie to ground for single-supply operation)."
      },
      {
        "number": "5",
        "name": "BALANCE",
        "type": "passive",
        "description": "Offset balance/trim pin that acts as an auxiliary input, so tie it to pin 6 if unused or to a trim-pot, and tie both to VCC for fastest response."
      },
      {
        "number": "6",
        "name": "BALANCE/STROBE",
        "type": "passive",
        "description": "Offset balance and strobe pin, which must be current driven at 3.0 mA to 5.0 mA and never shorted to ground, with voltage limited to VCC to VCC-5 V."
      },
      {
        "number": "7",
        "name": "OUTPUT",
        "type": "output",
        "description": "Open-collector style output that can switch up to 40 V (LM311) at currents to 50 mA and drive loads referenced to ground, VCC or VEE."
      },
      {
        "number": "8",
        "name": "VCC",
        "type": "power_in",
        "description": "Positive supply for single 5.0 V to 30 V operation or split supplies, with total supply limited to 36 V."
      }
    ],
    "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 PIN CONNECTIONS top-view graphic on page 1 is garbled in the text extraction, so the number-to-n; Pin 1 is a balance/strobe pin and pin 5 is a balance pin; the datasheet does not give a formal KiCad; The datasheet calls pin 6 GND and also describes it as usable as an output (reversing input polarity"
        ],
        "pages_sent": 11,
        "cost_usd": 0.0901,
        "at": "2026-10-18T11:50:51"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588884177798778880",
        "pages": 11,
        "sha256": "8ac91e9e2c9e5e78",
        "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": "lm311dr2g.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.0,
          4.9,
          1.75
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "07f46cff378d30e6c27dfd5a03092c795323f86d91c71fc7e743f4f418dc553a",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "lm311dr2g-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.0,
          4.9,
          1.75
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "09946a0cc7af5e8a809f87abd0a09ffd09ad334a202b361417914c58b2c99878",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}