component
LM311DR2G
Public Made by Adomby adom
onsemi Comparators, SOIC-8. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494
{
"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
}
}