main
Ray Publish 0.1.1 565fa06
{
  "slug": "sm74hc138d",
  "version": "0.1.1",
  "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",
    "sm74hc138d-etched.step",
    "sm74hc138d-hero.glb",
    "sm74hc138d-hero.overlay.json"
  ],
  "component": {
    "mpn": "SM74HC138D",
    "manufacturer": "Shenzhen Sunmoon Micro",
    "package": "SOP-16",
    "pin_count": 16,
    "category": "Logic",
    "subcategory": "Signal Switches / Encoders & Decoders / Multiplexers",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/56a0c5e254d0484ab600414302d6be80.pdf",
    "parts": {
      "symbol": "sm74hc138d.kicad_sym",
      "footprint": "sm74hc138d.kicad_mod",
      "model_3d": "sm74hc138d-hero.glb",
      "model_3d_plain": "sm74hc138d.glb",
      "model_3d_step": "sm74hc138d-etched.step",
      "model_3d_step_plain": "sm74hc138d.step",
      "lbr": "sm74hc138d.lbr"
    },
    "distributor_links": {},
    "pins": [
      {
        "number": "1",
        "name": "A0",
        "type": "input",
        "description": "Address select input bit 0 (LSB). CMOS logic level input used to select one of eight outputs."
      },
      {
        "number": "2",
        "name": "A1",
        "type": "input",
        "description": "Address select input bit 1. CMOS logic level input used to select one of eight outputs."
      },
      {
        "number": "3",
        "name": "A2",
        "type": "input",
        "description": "Address select input bit 2 (MSB). CMOS logic level input used to select one of eight outputs."
      },
      {
        "number": "4",
        "name": "~E1",
        "type": "input",
        "description": "Active-low enable input 1. Must be low for outputs to be enabled."
      },
      {
        "number": "5",
        "name": "~E2",
        "type": "input",
        "description": "Active-low enable input 2. Must be low for outputs to be enabled."
      },
      {
        "number": "6",
        "name": "E3",
        "type": "input",
        "description": "Active-high enable input 3. Must be high for outputs to be enabled."
      },
      {
        "number": "7",
        "name": "~Y7",
        "type": "output",
        "description": "Active-low decoded output 7. Asserted low when A2:A0 = 111 and all enables are active."
      },
      {
        "number": "8",
        "name": "GND",
        "type": "power_in",
        "description": "Ground reference (0V)."
      },
      {
        "number": "9",
        "name": "~Y6",
        "type": "output",
        "description": "Active-low decoded output 6. Asserted low when A2:A0 = 110 and all enables are active."
      },
      {
        "number": "10",
        "name": "~Y5",
        "type": "output",
        "description": "Active-low decoded output 5. Asserted low when A2:A0 = 101 and all enables are active."
      },
      {
        "number": "11",
        "name": "~Y4",
        "type": "output",
        "description": "Active-low decoded output 4. Asserted low when A2:A0 = 100 and all enables are active."
      },
      {
        "number": "12",
        "name": "~Y3",
        "type": "output",
        "description": "Active-low decoded output 3. Asserted low when A2:A0 = 011 and all enables are active."
      },
      {
        "number": "13",
        "name": "~Y2",
        "type": "output",
        "description": "Active-low decoded output 2. Asserted low when A2:A0 = 010 and all enables are active."
      },
      {
        "number": "14",
        "name": "~Y1",
        "type": "output",
        "description": "Active-low decoded output 1. Asserted low when A2:A0 = 001 and all enables are active."
      },
      {
        "number": "15",
        "name": "~Y0",
        "type": "output",
        "description": "Active-low decoded output 0. Asserted low when A2:A0 = 000 and all enables are active."
      },
      {
        "number": "16",
        "name": "VCC",
        "type": "power_in",
        "description": "Positive supply voltage, 2V to 6V operating range."
      }
    ],
    "provenance": {
      "extractor": "ds2sf",
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/56a0c5e254d0484ab600414302d6be80.pdf",
        "pages": 7,
        "sha256": "6de4b0e29514fe30",
        "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"
    },
    "logic": {
      "family_id": "74HC138",
      "logic_family": "74HC",
      "function_code": "138",
      "function_class": "Decoder",
      "function_name": "3-to-8 Line Decoder/Demultiplexer",
      "manufacturer": "Sunmoon Micro (Shenzhen)",
      "is_specialty": false
    },
    "models_3d": [
      {
        "file": "sm74hc138d.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6,
          9.9,
          1.75
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "d5eeddb4c0b304dc61950919b126fc61d7586abd5f16ab71a2a79759ec6498bf",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "sm74hc138d-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6,
          9.9,
          1.75
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "b863e6d05c13adfaa2fb573c9ca389b10b33296df195b9b63aa9dc2f38d0b531",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "title": "SM74HC138D",
  "brief": "Shenzhen Sunmoon Micro Signal Switches / Encoders & Decoders / Multiplexers, SOP-16. Pinout extracted from the datasheet, KiCad symbol/footprint/3D.",
  "metadata": {
    "specs": {
      "Manufacturer": "Shenzhen Sunmoon Micro",
      "Package": "SOP-16",
      "Category": "Logic",
      "Pins": "16"
    }
  },
  "discovery_triggers": [
    "sm74hc138d"
  ],
  "discovery_pitch": "SM74HC138D (Shenzhen Sunmoon Micro) component page with datasheet-verified CAD.",
  "visibility": "public"
}