← Commit history

Initial commit: component/lm393

Ray ·223fd68a42 ·2mo ago
2 files changed +87
README.mdadded+52
@@ -0,0 +1,52 @@+# LM393++**Texas Instruments** · Dual differential comparator · SOIC-8++Dual differential comparator with open-collector outputs in a SOIC-8 package. Two independent comparators run from a single 2-36 V supply (or split ±1 to ±18 V), with a common-mode input range that includes ground. The open-collector outputs need a pull-up resistor and can wire-OR or level-shift. The default choice for threshold detection, zero-cross sensing, and simple hysteresis (Schmitt) triggers.++## Pinout++| Pin | Name | Type | Function |+|---|---|---|---|+| 1 | 1OUT | output | Comparator 1 open-collector output. Requires an external pull-up resistor to VCC (typical 1 kΩ to 100 kΩ). Sinks up to 16 mA typical. |+| 2 | 1IN- | input | Comparator 1 inverting analog input. Input common-mode range includes ground; V(IN) from 0 V to VCC−1.5 V. |+| 3 | 1IN+ | input | Comparator 1 non-inverting analog input. Input common-mode range includes ground; V(IN) from 0 V to VCC−1.5 V. |+| 4 | GND | power_in | Ground / negative supply reference (V-). Tie to 0 V for single-supply operation, or to the negative rail for split-supply operation. |+| 5 | 2IN+ | input | Comparator 2 non-inverting analog input. Input common-mode range includes ground; V(IN) from 0 V to VCC−1.5 V. |+| 6 | 2IN- | input | Comparator 2 inverting analog input. Input common-mode range includes ground; V(IN) from 0 V to VCC−1.5 V. |+| 7 | 2OUT | output | Comparator 2 open-collector output. Requires an external pull-up resistor to VCC (typical 1 kΩ to 100 kΩ). Sinks up to 16 mA typical. |+| 8 | VCC | power_in | Positive supply (V+). Single-supply: 2 V to 36 V. Split-supply: ±1 V to ±18 V. Bypass with a 0.1 µF ceramic capacitor to GND close to the pin. |++## Key specifications++| Parameter | Value |+|---|---|+| Type | Dual differential comparator |+| Output | Open-collector (needs pull-up) |+| Supply voltage | 2-36 V single (±1 to ±18 V split) |+| Common-mode input range | Includes ground (V-) |+| Response time | ~1.3 µs typ |+| Channels | 2 independent |+| Package | SOIC-8 |+| Body (L×W×H) | 4.9 × 3.9 × 1.75 mm |++## Ordering variants++- `LM393D (SOIC-8, tube)`+- `LM393DR (SOIC-8, tape & reel)`++## CAD (KiCad official)++- Symbol: `Comparator:LM393`+- Footprint: `Package_SO:SOIC-8_3.9x4.9mm_P1.27mm`+- 3D model: SOIC-8 (KiCad packages3D)++## Provenance++Data extracted from the manufacturer datasheet, not a distributor listing:++- **Datasheet:** [Texas Instruments datasheet](https://www.ti.com/lit/ds/symlink/lm393.pdf) (56 pp, sha256 `24c6b3c03dd65dfd`, retrieved 2026-08-17, tier: manufacturer)+- **Extractor:** `ds2sf` (Claude) — every pin and dimension is cited to a datasheet page; refuses to fabricate.+- **CAD:** KiCad official libraries (CC-BY-SA 4.0).++[Datasheet PDF](docs/lm393-datasheet.pdf)
page.jsonadded+35
@@ -0,0 +1,35 @@+{+  "slug": "lm393",+  "version": "0.1.0",+  "type": "component",+  "description": "TI dual differential comparator, SOIC-8. Open-collector, single 2-36 V, input range includes ground. Datasheet-verified.",+  "tags": [+    "component",+    "comparator",+    "dual",+    "open-collector",+    "soic-8",+    "texas-instruments"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "lm393.kicad_sym",+    "lm393.kicad_mod",+    "lm393.glb",+    "docs/hero.png",+    "docs/lm393-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ],+  "visibility": "public",+  "author": {+    "name": "Ray",+    "email": "[email protected]"+  }+}\ No newline at end of file