component
LM397
Public Made by Adomby adom
TI single general-purpose comparator, SOT-23-5. Open-collector output, 5-30 V wide supply. Datasheet-verified.
main
Ray
lm397: white body in tscircuit (pre-1.8 etch structure under an assembly instance); Ray 2026-10-19: black IC body with…
850ce7c
11d ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
{
"schema_version": 1,
"type": "component",
"slug": "lm397",
"title": "LM397",
"brief": "TI single general-purpose comparator, SOT-23-5. Open-collector output, 5-30 V wide supply. Datasheet-verified.",
"version": "0.1.0",
"license": "CC-BY-SA-4.0",
"tags": [
"component",
"comparator",
"open-collector",
"single",
"sot-23-5",
"texas-instruments"
],
"component": {
"mpn": "LM397",
"manufacturer": "Texas Instruments",
"package": "SOT-23-5",
"pin_count": 5,
"category": "Comparator",
"subcategory": "Single comparator",
"datasheet": "https://www.ti.com/lit/ds/symlink/lm397.pdf",
"parts": {
"symbol": "lm397.kicad_sym",
"footprint": "lm397.kicad_mod",
"model_3d": "lm397-etched.glb",
"model_3d_plain": "lm397.glb",
"model_3d_step": "lm397-etched.step",
"model_3d_step_plain": "lm397.step",
"lbr": "lm397.lbr"
},
"distributor_links": {},
"pins": [
{
"number": "1",
"name": "VIN-",
"type": "input",
"description": "Inverting analog input of the comparator. Common-mode range 0 V to VS - 1.5 V; must not go more than 0.3 V below the negative rail. Input bias current typ 10 nA, offset current typ 1.6 nA."
},
{
"number": "2",
"name": "GND",
"type": "power_in",
"description": "Ground / negative supply return. In single-supply operation tied to 0 V; in split-supply operation tied to the negative rail."
},
{
"number": "3",
"name": "VIN+",
"type": "input",
"description": "Noninverting analog input of the comparator. Common-mode range 0 V to VS - 1.5 V; must not go more than 0.3 V below the negative rail."
},
{
"number": "4",
"name": "OUTPUT",
"type": "output",
"description": "Open-collector comparator output. Requires an external pull-up resistor to the desired logic rail (e.g., 5.1 kΩ to 5 V typical). Output sink current typ 13 mA (min 6 mA); leakage typ 0.1 nA at VO = 5 V, 1 µA max at VO = 30 V. VOL typ 180 mV at IO = -4 mA."
},
{
"number": "5",
"name": "VS",
"type": "power_in",
"description": "Positive supply pin. Single-supply range 5 V to 30 V (or ±15 V split). Supply current typ 250 µA at VS = 5 V, typ 300 µA at VS = 30 V."
}
],
"provenance": {
"extractor": "ds2sf",
"datasheet": {
"url": "https://www.ti.com/lit/ds/symlink/lm397.pdf",
"pages": 19,
"sha256": "c7a1f660266357ba",
"source_tier": "mfr"
},
"cad": "KiCad official (CC-BY-SA 4.0)",
"pins": {
"total": 5,
"described": 5,
"cites_pages": true,
"refuses_to_fabricate": true
}
},
"viewers": {
"symbol": "viewers/symbol.html",
"footprint": "viewers/footprint.html"
},
"models_3d": [
{
"file": "lm397.step",
"role": "plain",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
2.8,
2.9,
1.55
],
"zmin_mm": 0.0,
"centre_offset_mm": 0.0,
"footprint_binding": "identity",
"sha256": "720a6eab0024069bbee68e7cb4c3ff1149468a34611225cdc852662c5d0ec2b7",
"checked": "2026-10-07",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "lm397-etched.step",
"role": "eda",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
2.8,
2.9,
1.55
],
"zmin_mm": 0.0,
"centre_offset_mm": 0.0,
"footprint_binding": "identity",
"sha256": "fa8cb40deb86f1486c07491e9e7703bd848ace2c75e5f164e8e0c3ba6f1c7601",
"checked": "2026-10-23",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
},
"metadata": {
"specs": {
"Type": "Single comparator (open-collector output)",
"Supply": "5-30 V (single) or +/-15 V",
"Output": "Open collector (needs pull-up)",
"Input offset": "5 mV (typ)",
"Response time": "~1.3 us",
"Package": "SOT-23-5"
}
},
"sections": [
"hero",
"viewers",
"readme",
"breadcrumbs",
"info"
],
"discovery_triggers": [
"lm397",
"single comparator",
"open collector comparator",
"wide supply comparator"
],
"discovery_pitch": "TI LM397 single general-purpose comparator (SOT-23-5) with datasheet-verified pinout, KiCad symbol/footprint/3D, and full provenance.",
"author": {
"name": "Ray",
"email": "[email protected]"
},
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"lm397.kicad_sym",
"lm397.kicad_mod",
"lm397.glb",
"lm397.step",
"lm397.lbr",
"docs/hero.png",
"docs/lm397-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"lm397-etched.step"
],
"variants": [
{
"mpn": "LM397MFX (SOT-23-5)",
"kind": "packaging"
},
{
"mpn": "LM397MF (SOT-23-5, tube)",
"kind": "packaging"
}
]
}