← Commit history

Initial commit: component/sm74hc138d

Ray ·65b80d5470 ·
2 files changed +92
README.mdadded+58
@@ -0,0 +1,58 @@+# SM74HC138D++**Shenzhen Sunmoon Micro** · Signal Switches / Encoders & Decoders / Multiplexers · SOP-16++SM74HC138D from Shenzhen Sunmoon Micro, in a SOP-16. Pinout and pin descriptions extracted from the manufacturer datasheet by ds2sf; symbol, footprint, and 3D from KiCad-official CAD.++## Pinout++| Pin | Name | Type | Function |+|---|---|---|---|+| 1 | A0 | input | Address input bit 0 (LSB). CMOS logic input; VIH >= 3.0 V, VIL <= 2.0 V at VDD = 5.0 V. Selects one of eight decoded outputs together with A1 and A2. |+| 2 | A1 | input | Address input bit 1. CMOS logic input; VIH >= 3.0 V, VIL <= 2.0 V at VDD = 5.0 V. Selects one of eight decoded outputs together with A0 and A2. |+| 3 | A2 | input | Address input bit 2 (MSB). CMOS logic input; VIH >= 3.0 V, VIL <= 2.0 V at VDD = 5.0 V. Selects one of eight decoded outputs together with A0 and A1. |+| 4 | E1 | input | Active-LOW enable input 1. Must be LOW (together with E2 LOW and E3 HIGH) to enable decoding; when the enable condition is not met, all Y outputs are forced HIGH. |+| 5 | E2 | input | Active-LOW enable input 2. Must be LOW (together with E1 LOW and E3 HIGH) to enable decoding; otherwise all Y outputs are HIGH. |+| 6 | E3 | input | Active-HIGH enable input 3. Must be HIGH (with E1 and E2 both LOW) to enable decoding; otherwise all Y outputs are HIGH. |+| 7 | Y7 | output | Active-LOW decoded output 7. Driven LOW when the chip is enabled and A[2:0] = 111; otherwise HIGH. IOL up to 58 mA typ, IOH up to -32 mA typ at VDD = 5.0 V. |+| 8 | GND | power_in | Logic ground (0 V) reference for the device. |+| 9 | Y6 | output | Active-LOW decoded output 6. Driven LOW when the chip is enabled and A[2:0] = 110; otherwise HIGH. |+| 10 | Y5 | output | Active-LOW decoded output 5. Driven LOW when the chip is enabled and A[2:0] = 101; otherwise HIGH. |+| 11 | Y4 | output | Active-LOW decoded output 4. Driven LOW when the chip is enabled and A[2:0] = 100; otherwise HIGH. |+| 12 | Y3 | output | Active-LOW decoded output 3. Driven LOW when the chip is enabled and A[2:0] = 011; otherwise HIGH. |+| 13 | Y2 | output | Active-LOW decoded output 2. Driven LOW when the chip is enabled and A[2:0] = 010; otherwise HIGH. |+| 14 | Y1 | output | Active-LOW decoded output 1. Driven LOW when the chip is enabled and A[2:0] = 001; otherwise HIGH. |+| 15 | Y0 | output | Active-LOW decoded output 0. Driven LOW when the chip is enabled and A[2:0] = 000; otherwise HIGH. |+| 16 | VDD | power_in | Logic supply voltage. Operating range 3.0 V to 5.5 V (absolute max 7.0 V). Decouple with a 100 nF ceramic capacitor to GND close to the pin. |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | Shenzhen Sunmoon Micro |+| Package | SOP-16 |+| Category | Logic |+| Pins | 16 |++## Ordering variants++- `SM74HC138DD`+- `SM74HC138DTS`+- `SM74HC138DN`++## CAD (KiCad official)++- Symbol: `SM74HC138D`+- Footprint: `Package_SO:SOIC-16_3.9x9.9mm_P1.27mm`+- 3D model: SOP-16 (KiCad packages3D, STEP)++## Provenance++Data extracted from the manufacturer datasheet, not a distributor listing:++- **Datasheet:** [Shenzhen Sunmoon Micro datasheet](docs/sm74hc138d-datasheet.pdf) (7 pp, sha256 `6de4b0e29514fe30`, retrieved 2026-08-17, tier: lcsc)+- **Datasheet language:** Chinese. Pin names, descriptions, and specs on this page were extracted and translated to English by ds2sf; the linked PDF is the manufacturer original.+- **Extractor:** `ds2sf` (Claude). Every pin and dimension is cited to a datasheet page; it refuses to fabricate.+- **CAD:** KiCad official libraries (CC-BY-SA 4.0).++[Datasheet PDF](docs/sm74hc138d-datasheet.pdf)
page.jsonadded+34
@@ -0,0 +1,34 @@+{+  "slug": "sm74hc138d",+  "version": "0.1.0",+  "type": "component",+  "description": "Shenzhen Sunmoon Micro Signal Switches / Encoders & Decoders / Multiplexers, SOP-16. Datasheet-verified pinout, KiCad symbol/footprint/3D.",+  "tags": [+    "component",+    "logic",+    "sm74hc138d"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "sm74hc138d.kicad_sym",+    "sm74hc138d.kicad_mod",+    "sm74hc138d.glb",+    "sm74hc138d.step",+    "sm74hc138d.lbr",+    "docs/hero.png",+    "docs/sm74hc138d-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ],+  "visibility": "public",+  "author": {+    "name": "Ray",+    "email": "[email protected]"+  }+}\ No newline at end of file