← Commit history

Initial commit: component/sn74ls138n

Ray ·dc799dbe6e ·
2 files changed +243
README.mdadded+52
@@ -0,0 +1,52 @@+# SN74LS138N++**Texas Instruments** · Signal Switches, Multiplexers, Decoders · DIP-16++SN74LS138N from Texas Instruments, in a DIP-16. Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model); symbol, footprint, and 3D from KiCad-official CAD.++## Pinout++| Pin | Name | Type | Function |+|---|---|---|---|+| 1 | A | input | Binary select input A, one of three address lines used with B and C to select which of the eight Y outputs is active. |+| 2 | B | input | Binary select input B, one of three address lines used with A and C to select which of the eight Y outputs is active. |+| 3 | C | input | Binary select input C, one of three address lines used with A and B to select which of the eight Y outputs is active. |+| 4 | G2A | input | Active-low enable input; must be low, along with G2B low and G1 high, for the decoder to be enabled (outputs low-active per selected address). |+| 5 | G2B | input | Active-low enable input; must be low, along with G2A low and G1 high, for the decoder to be enabled. |+| 6 | G1 | input | Active-high enable input; must be high, with G2A and G2B both low, for the decoder to be enabled. |+| 7 | Y7 | output | Decoder output 7, driven low only when the device is enabled and the select inputs (C,B,A) = (H,H,H); otherwise high. |+| 8 | GND | power_in | Ground reference supply pin. |+| 9 | Y6 | output | Decoder output 6, driven low only when the device is enabled and the select inputs (C,B,A) = (H,H,L); otherwise high. |+| 10 | Y5 | output | Decoder output 5, driven low only when the device is enabled and the select inputs (C,B,A) = (H,L,H); otherwise high. |+| 11 | Y4 | output | Decoder output 4, driven low only when the device is enabled and the select inputs (C,B,A) = (H,L,L); otherwise high. |+| 12 | Y3 | output | Decoder output 3, driven low only when the device is enabled and the select inputs (C,B,A) = (L,H,H); otherwise high. |+| 13 | Y2 | output | Decoder output 2, driven low only when the device is enabled and the select inputs (C,B,A) = (L,H,L); otherwise high. |+| 14 | Y1 | output | Decoder output 1, driven low only when the device is enabled and the select inputs (C,B,A) = (L,L,H); otherwise high. |+| 15 | Y0 | output | Decoder output 0, driven low only when the device is enabled and the select inputs (C,B,A) = (L,L,L); otherwise high. |+| 16 | VCC | power_in | Positive supply voltage pin. |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | Texas Instruments |+| Package | DIP-16 |+| Category | Logic |+| Pins | 16 |++## CAD (KiCad official)++- Symbol: `SN74LS138N`+- Footprint: `Package_DIP:DIP-16_W7.62mm`+- 3D model: DIP-16 (KiCad packages3D, STEP)+- 3D model files: `sn74ls138n-etched.step` / `sn74ls138n-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `sn74ls138n.step` / `sn74ls138n.glb` are the bare package body.++## Provenance++Data extracted from the manufacturer datasheet, not a distributor listing:++- **Datasheet:** [Texas Instruments datasheet](https://www.ti.com/cn/lit/gpn/sn74ls138) (26 pp, sha256 `f982e7f913e2ae15`, retrieved 2026-09-24, tier: lcsc)+- **Extractor:** parts-factory `2.0.0` / `extract_pins 0.2`, primary `claude-sonnet-5` (vision), consensus `claude-opus-4-8` (agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish.+- **CAD:** KiCad official libraries (CC-BY-SA 4.0).++[Datasheet PDF](docs/sn74ls138n-datasheet.pdf)
page.jsonadded+191
@@ -0,0 +1,191 @@+{+  "slug": "sn74ls138n",+  "version": "0.1.0",+  "type": "component",+  "description": "Texas Instruments Signal Switches, Multiplexers, Decoders, DIP-16. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",+  "tags": [+    "component",+    "logic",+    "sn74ls138n",+    "factory-2.0.0",+    "extractor-text"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "sn74ls138n.kicad_sym",+    "sn74ls138n.kicad_mod",+    "sn74ls138n.glb",+    "sn74ls138n.step",+    "sn74ls138n.lbr",+    "docs/hero.png",+    "docs/sn74ls138n-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ],+  "component": {+    "mpn": "SN74LS138N",+    "manufacturer": "Texas Instruments",+    "package": "DIP-16",+    "pin_count": 16,+    "category": "Logic",+    "subcategory": "Signal Switches, Multiplexers, Decoders",+    "datasheet": "https://www.ti.com/cn/lit/gpn/sn74ls138",+    "parts": {+      "symbol": "sn74ls138n.kicad_sym",+      "footprint": "sn74ls138n.kicad_mod",+      "model_3d": "sn74ls138n-etched.glb",+      "model_3d_plain": "sn74ls138n.glb",+      "model_3d_step": "sn74ls138n-etched.step",+      "model_3d_step_plain": "sn74ls138n.step",+      "lbr": "sn74ls138n.lbr"+    },+    "distributor_links": {+      "lcsc": "C352964"+    },+    "pins": [+      {+        "number": "1",+        "name": "A",+        "type": "input",+        "description": "Binary select input A, one of three address lines used with B and C to select which of the eight Y outputs is active."+      },+      {+        "number": "2",+        "name": "B",+        "type": "input",+        "description": "Binary select input B, one of three address lines used with A and C to select which of the eight Y outputs is active."+      },+      {+        "number": "3",+        "name": "C",+        "type": "input",+        "description": "Binary select input C, one of three address lines used with A and B to select which of the eight Y outputs is active."+      },+      {+        "number": "4",+        "name": "G2A",+        "type": "input",+        "description": "Active-low enable input; must be low, along with G2B low and G1 high, for the decoder to be enabled (outputs low-active per selected address)."+      },+      {+        "number": "5",+        "name": "G2B",+        "type": "input",+        "description": "Active-low enable input; must be low, along with G2A low and G1 high, for the decoder to be enabled."+      },+      {+        "number": "6",+        "name": "G1",+        "type": "input",+        "description": "Active-high enable input; must be high, with G2A and G2B both low, for the decoder to be enabled."+      },+      {+        "number": "7",+        "name": "Y7",+        "type": "output",+        "description": "Decoder output 7, driven low only when the device is enabled and the select inputs (C,B,A) = (H,H,H); otherwise high."+      },+      {+        "number": "8",+        "name": "GND",+        "type": "power_in",+        "description": "Ground reference supply pin."+      },+      {+        "number": "9",+        "name": "Y6",+        "type": "output",+        "description": "Decoder output 6, driven low only when the device is enabled and the select inputs (C,B,A) = (H,H,L); otherwise high."+      },+      {+        "number": "10",+        "name": "Y5",+        "type": "output",+        "description": "Decoder output 5, driven low only when the device is enabled and the select inputs (C,B,A) = (H,L,H); otherwise high."+      },+      {+        "number": "11",+        "name": "Y4",+        "type": "output",+        "description": "Decoder output 4, driven low only when the device is enabled and the select inputs (C,B,A) = (H,L,L); otherwise high."+      },+      {+        "number": "12",+        "name": "Y3",+        "type": "output",+        "description": "Decoder output 3, driven low only when the device is enabled and the select inputs (C,B,A) = (L,H,H); otherwise high."+      },+      {+        "number": "13",+        "name": "Y2",+        "type": "output",+        "description": "Decoder output 2, driven low only when the device is enabled and the select inputs (C,B,A) = (L,H,L); otherwise high."+      },+      {+        "number": "14",+        "name": "Y1",+        "type": "output",+        "description": "Decoder output 1, driven low only when the device is enabled and the select inputs (C,B,A) = (L,L,H); otherwise high."+      },+      {+        "number": "15",+        "name": "Y0",+        "type": "output",+        "description": "Decoder output 0, driven low only when the device is enabled and the select inputs (C,B,A) = (L,L,L); otherwise high."+      },+      {+        "number": "16",+        "name": "VCC",+        "type": "power_in",+        "description": "Positive supply voltage pin."+      }+    ],+    "provenance": {+      "extractor": "extract_pins 0.2",+      "factory_chain": {+        "factory": "2.0.0",+        "extractor": "extract_pins 0.2",+        "primary_model": "claude-sonnet-5",+        "primary_mode": "vision",+        "consensus_model": "claude-opus-4-8",+        "consensus": "agreed",+        "guards": "pin_guards 0.1: passed",+        "guard_notes": [+          "vision extraction: provenance cannot be text-verified; needs consensus"+        ],+        "pages_sent": 12,+        "cost_usd": 0.3132,+        "at": "2026-09-24T11:03:45"+      },+      "datasheet": {+        "url": "https://www.ti.com/cn/lit/gpn/sn74ls138",+        "pages": 26,+        "sha256": "f982e7f913e2ae15",+        "source_tier": "lcsc"+      },+      "cad": "KiCad official (CC-BY-SA 4.0)",+      "pins": {+        "total": 16,+        "described": 16,+        "cites_pages": true,+        "refuses_to_fabricate": true+      }+    },+    "viewers": {+      "symbol": "viewers/symbol.html",+      "footprint": "viewers/footprint.html"+    }+  },+  "visibility": "public",+  "org": "adom",+  "author": {+    "name": "Ray",+    "email": "[email protected]"+  }+}\ No newline at end of file