main
Ray Set visibility: public 699cbb2 6d ago
{
  "schema_version": 1,
  "type": "component",
  "slug": "lm311dr2g",
  "title": "LM311DR2G",
  "brief": "onsemi Comparators, SOIC-8. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.1.0",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "amplifiers-comparators",
    "lm311dr2g",
    "factory-2.0.0",
    "extractor-text"
  ],
  "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,
          4.9,
          1.75
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 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,
          4.9,
          1.75
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "09946a0cc7af5e8a809f87abd0a09ffd09ad334a202b361417914c58b2c99878",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "onsemi",
      "Package": "SOIC-8",
      "Category": "Amplifiers/Comparators",
      "Pins": "8"
    },
    "characteristics": {
      "version": 1,
      "source": "datasheet",
      "datasheet_sha256": "8ac91e9e2c9e5e7889ccb6eed12be94236b18cf7313267274f160a42ff218ec9",
      "rows": [
        {
          "name": "Input Offset Voltage",
          "symbol": "VIO",
          "kind": "electrical",
          "unit": "mV",
          "min": null,
          "typ": 2,
          "max": 7.5,
          "conditions": "RS ≤ 50 k, TA = +25°C",
          "source_page": 3,
          "source": "datasheet"
        },
        {
          "name": "Input Offset Voltage",
          "symbol": "VIO",
          "kind": "electrical",
          "unit": "mV",
          "min": null,
          "typ": null,
          "max": 10,
          "conditions": "RS ≤ 50 k, Tlow ≤ TA ≤ Thigh (LM311: 0°C to +70°C)",
          "source_page": 3,
          "source": "datasheet"
        },
        {
          "name": "Input Offset Current",
          "symbol": "IIO",
          "kind": "electrical",
          "unit": "nA",
          "min": null,
          "typ": 1.7,
          "max": 50,
          "conditions": "TA = +25°C",
          "source_page": 3,
          "source": "datasheet"
        },
        {
          "name": "Input Offset Current",
          "symbol": "IIO",
          "kind": "electrical",
          "unit": "nA",
          "min": null,
          "typ": null,
          "max": 70,
          "conditions": "Tlow ≤ TA ≤ Thigh (LM311: 0°C to +70°C)",
          "source_page": 3,
          "source": "datasheet"
        },
        {
          "name": "Input Bias Current",
          "symbol": "IIB",
          "kind": "electrical",
          "unit": "nA",
          "min": null,
          "typ": 45,
          "max": 250,
          "conditions": "TA = +25°C",
          "source_page": 3,
          "source": "datasheet"
        },
        {
          "name": "Input Bias Current",
          "symbol": "IIB",
          "kind": "electrical",
          "unit": "nA",
          "min": null,
          "typ": null,
          "max": 300,
          "conditions": "Tlow ≤ TA ≤ Thigh (LM311: 0°C to +70°C)",
          "source_page": 3,
          "source": "datasheet"
        },
        {
          "name": "Voltage Gain",
          "symbol": "AV",
          "kind": "electrical",
          "unit": "V/mV",
          "min": 40,
          "typ": 200,
          "max": null,
          "conditions": "",
          "source_page": 3,
          "source": "datasheet"
        },
        {
          "name": "Saturation Voltage",
          "symbol": "VOL",
          "kind": "electrical",
          "unit": "V",
          "min": null,
          "typ": 0.75,
          "max": 1.5,
          "conditions": "VID ≤ −10 mV, IO = 50 mA, TA = 25°C",
          "source_page": 3,
          "source": "datasheet"
        },
        {
          "name": "Saturation Voltage",
          "symbol": "VOL",
          "kind": "electrical",
          "unit": "V",
          "min": null,
          "typ": 0.23,
          "max": 0.4,
          "conditions": "VCC ≥ 4.5 V, VEE = 0, Tlow ≤ TA ≤ Thigh; VID ≤ 10 mV, Isink ≤ 8.0 mA",
          "source_page": 3,
          "source": "datasheet"
        },
        {
          "name": "Output Leakage Current",
          "symbol": "",
          "kind": "electrical",
          "unit": "nA",
          "min": null,
          "typ": 0.2,
          "max": 50,
          "conditions": "VID ≥ 10 mV, VO = 35 V, TA = 25°C, Istrobe = 3.0 mA",
          "source_page": 3,
          "source": "datasheet"
        },
        {
          "name": "Input Voltage Range",
          "symbol": "VICR",
          "kind": "electrical",
          "unit": "V",
          "min": -14.5,
          "typ": null,
          "max": 13,
          "conditions": "Tlow ≤ TA ≤ Thigh (LM311: 0°C to +70°C)",
          "source_page": 3,
          "source": "datasheet"
        },
        {
          "name": "Positive Supply Current",
          "symbol": "ICC",
          "kind": "electrical",
          "unit": "mA",
          "min": null,
          "typ": 2.4,
          "max": 7.5,
          "conditions": "",
          "source_page": 3,
          "source": "datasheet"
        },
        {
          "name": "Negative Supply Current",
          "symbol": "IEE",
          "kind": "electrical",
          "unit": "mA",
          "min": null,
          "typ": -1.3,
          "max": -5,
          "conditions": "",
          "source_page": 3,
          "source": "datasheet"
        },
        {
          "name": "Total Supply Voltage",
          "symbol": "VCC +|VEE|",
          "kind": "absolute_maximum",
          "unit": "Vdc",
          "min": null,
          "typ": null,
          "max": 36,
          "conditions": "",
          "source_page": 2,
          "source": "datasheet"
        },
        {
          "name": "Output to Negative Supply Voltage",
          "symbol": "VO −VEE",
          "kind": "absolute_maximum",
          "unit": "Vdc",
          "min": null,
          "typ": null,
          "max": 40,
          "conditions": "",
          "source_page": 2,
          "source": "datasheet"
        },
        {
          "name": "Ground to Negative Supply Voltage",
          "symbol": "VEE",
          "kind": "absolute_maximum",
          "unit": "Vdc",
          "min": null,
          "typ": null,
          "max": 30,
          "conditions": "",
          "source_page": 2,
          "source": "datasheet"
        },
        {
          "name": "Input Differential Voltage",
          "symbol": "VID",
          "kind": "absolute_maximum",
          "unit": "Vdc",
          "min": -30,
          "typ": null,
          "max": 30,
          "conditions": "",
          "source_page": 2,
          "source": "datasheet"
        },
        {
          "name": "Input Voltage",
          "symbol": "Vin",
          "kind": "absolute_maximum",
          "unit": "Vdc",
          "min": -15,
          "typ": null,
          "max": 15,
          "conditions": "See Note 2: applies for ±15 V supplies",
          "source_page": 2,
          "source": "datasheet"
        },
        {
          "name": "Operating Junction Temperature",
          "symbol": "TJ(max)",
          "kind": "absolute_maximum",
          "unit": "°C",
          "min": null,
          "typ": null,
          "max": 150,
          "conditions": "",
          "source_page": 2,
          "source": "datasheet"
        },
        {
          "name": "Storage Temperature Range",
          "symbol": "Tstg",
          "kind": "absolute_maximum",
          "unit": "°C",
          "min": -65,
          "typ": null,
          "max": 150,
          "conditions": "",
          "source_page": 2,
          "source": "datasheet"
        },
        {
          "name": "Operating Ambient Temperature Range (LM311)",
          "symbol": "TA",
          "kind": "recommended_operating",
          "unit": "°C",
          "min": 0,
          "typ": null,
          "max": 70,
          "conditions": "",
          "source_page": 2,
          "source": "datasheet"
        },
        {
          "name": "Single Supply Voltage",
          "symbol": "",
          "kind": "recommended_operating",
          "unit": "V",
          "min": 5,
          "typ": null,
          "max": 30,
          "conditions": "Single-supply operation (features text; split supplies ±15 V also stated)",
          "source_page": 1,
          "source": "datasheet"
        }
      ]
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "lm311dr2g"
  ],
  "discovery_pitch": "LM311DR2G (onsemi) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "author": {
    "name": "Ray",
    "email": "[email protected]"
  },
  "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"
  ],
  "visibility": {
    "public": true
  }
}