main
Ray Publish 0.1.0 1e01ef4 7d ago
{
  "slug": "lm311m",
  "version": "0.1.0",
  "type": "component",
  "description": "HGSEMI Comparators, SOP-8. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "amplifiers-comparators",
    "lm311m",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "lm311m.kicad_sym",
    "lm311m.kicad_mod",
    "lm311m.glb",
    "lm311m.step",
    "lm311m.lbr",
    "docs/hero.png",
    "docs/lm311m-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "lm311m-hero.glb",
    "lm311m-hero.overlay.json",
    "lm311m-etched.glb"
  ],
  "component": {
    "mpn": "LM311M",
    "manufacturer": "HGSEMI",
    "package": "SOP-8",
    "pin_count": 8,
    "category": "Amplifiers/Comparators",
    "subcategory": "Comparators",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8758163302025711616",
    "parts": {
      "symbol": "lm311m.kicad_sym",
      "footprint": "lm311m.kicad_mod",
      "model_3d": "lm311m-hero.glb",
      "model_3d_plain": "lm311m-etched.glb",
      "model_3d_step": "lm311m-etched.step",
      "model_3d_step_plain": "lm311m.step",
      "lbr": "lm311m.lbr"
    },
    "distributor_links": {
      "lcsc": "C434495",
      "digikey": "LM311MFS-ND"
    },
    "distributor_check": {
      "checked_at": "2026-10-18T11:15:14Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "LM311MFS-ND",
        "status": "found"
      },
      "mouser": {
        "pn": null,
        "status": "quota"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "GND",
        "type": "power_in",
        "description": "Ground pin; the output can be referenced to ground, and the ground-to-VEE voltage is limited to 30 Vdc maximum."
      },
      {
        "number": "2",
        "name": "IN+",
        "type": "input",
        "description": "Non-inverting comparator input; input voltage rating is 15 Vdc with ±15V supplies and differential input voltage is limited to 30 Vdc."
      },
      {
        "number": "3",
        "name": "IN-",
        "type": "input",
        "description": "Inverting comparator input; input voltage rating is 15 Vdc with ±15V supplies and differential input voltage is limited to 30 Vdc."
      },
      {
        "number": "4",
        "name": "VEE",
        "type": "power_in",
        "description": "Negative supply; total VCC+VEE is limited to 36 Vdc and the output may swing up to 40 Vdc (LM311) above VEE."
      },
      {
        "number": "5",
        "name": "BALANCE",
        "type": "passive",
        "description": "Offset balance pin used to trim input offset voltage."
      },
      {
        "number": "6",
        "name": "BALANCE/STROBE",
        "type": "input",
        "description": "Shared balance/strobe pin; strobe voltage is limited to VCC to VCC-5 and it must not be grounded directly but driven with 3 mA to 5 mA."
      },
      {
        "number": "7",
        "name": "OUTPUT",
        "type": "output",
        "description": "Open-collector output that can switch up to 40 Vdc above VEE (LM311) and sink 50 mA."
      },
      {
        "number": "8",
        "name": "VCC",
        "type": "power_in",
        "description": "Positive supply; operates from a single 5V to 30V supply or ±15V dual supplies, with VCC+VEE limited to 36 Vdc."
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.3",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.3",
        "primary_model": "claude-sonnet-5-5",
        "primary_mode": "text+vision",
        "consensus_model": "claude-opus-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: The datasheet orders LM311M/TR in SOP-8; the pinout figure is shared across DIP-8/SOP-8/MSOP-8. Pins",
          "vision extraction: provenance cannot be text-verified; needs consensus"
        ],
        "pages_sent": 10,
        "cost_usd": 0.2374,
        "at": "2026-10-18T11:13:15"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8758163302025711616",
        "pages": 10,
        "sha256": "061ce243af0d55f4",
        "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": "lm311m.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": "lm311m-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": "693c5bf46a1ddf4efbd8653909a40e2ddb283024e7019e820d4f7b8d639f888a",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}