main
Ray Publish 0.1.0 9e7474e 5d ago
{
  "slug": "sn74hc4040dr",
  "version": "0.1.0",
  "type": "component",
  "description": "lingxingic Counters, Dividers, SOP-16. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "logic",
    "sn74hc4040dr",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "sn74hc4040dr.kicad_sym",
    "sn74hc4040dr.kicad_mod",
    "sn74hc4040dr.glb",
    "sn74hc4040dr.step",
    "sn74hc4040dr.lbr",
    "docs/hero.png",
    "docs/sn74hc4040dr-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "sn74hc4040dr-hero.glb",
    "sn74hc4040dr-hero.overlay.json",
    "sn74hc4040dr-etched.glb"
  ],
  "component": {
    "mpn": "SN74HC4040DR",
    "manufacturer": "lingxingic",
    "package": "SOP-16",
    "pin_count": 16,
    "category": "Logic",
    "subcategory": "Counters, Dividers",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/59bc22a8c9f31ae01c26fc63db72e4cb.pdf",
    "parts": {
      "symbol": "sn74hc4040dr.kicad_sym",
      "footprint": "sn74hc4040dr.kicad_mod",
      "model_3d": "sn74hc4040dr-hero.glb",
      "model_3d_plain": "sn74hc4040dr-etched.glb",
      "model_3d_step": "sn74hc4040dr-etched.step",
      "model_3d_step_plain": "sn74hc4040dr.step",
      "lbr": "sn74hc4040dr.lbr"
    },
    "distributor_links": {
      "lcsc": "C41413105",
      "digikey": "296-14852-2-ND",
      "mouser": "595-SN74HC4040DR"
    },
    "distributor_check": {
      "checked_at": "2026-10-19T04:39:29Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "296-14852-2-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "595-SN74HC4040DR",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "Q11",
        "type": "output",
        "description": "Parallel binary counter output Q11 of the 12-stage ripple counter (output 11)."
      },
      {
        "number": "2",
        "name": "Q5",
        "type": "output",
        "description": "Parallel binary counter output Q5 (output 5) of the 12-stage ripple counter."
      },
      {
        "number": "3",
        "name": "Q4",
        "type": "output",
        "description": "Parallel binary counter output Q4 (output 4) of the 12-stage ripple counter."
      },
      {
        "number": "4",
        "name": "Q6",
        "type": "output",
        "description": "Parallel binary counter output Q6 (output 6) of the 12-stage ripple counter."
      },
      {
        "number": "5",
        "name": "Q3",
        "type": "output",
        "description": "Parallel binary counter output Q3 (output 3) of the 12-stage ripple counter."
      },
      {
        "number": "6",
        "name": "Q2",
        "type": "output",
        "description": "Parallel binary counter output Q2 (output 2) of the 12-stage ripple counter."
      },
      {
        "number": "7",
        "name": "Q1",
        "type": "output",
        "description": "Parallel binary counter output Q1 (output 1) of the 12-stage ripple counter."
      },
      {
        "number": "8",
        "name": "GND",
        "type": "power_in",
        "description": "Ground (0 V) reference for all voltages on the device."
      },
      {
        "number": "9",
        "name": "Q0",
        "type": "output",
        "description": "Parallel binary counter output Q0 (output 0), the first stage of the ripple counter."
      },
      {
        "number": "10",
        "name": "CP",
        "type": "input",
        "description": "Clock input; the counter advances on the HIGH-to-LOW (falling) edge of CP."
      },
      {
        "number": "11",
        "name": "MR",
        "type": "input",
        "description": "Master reset input, active HIGH; when HIGH it resets Q0 to Q11 to LOW, overriding the clock."
      },
      {
        "number": "12",
        "name": "Q8",
        "type": "output",
        "description": "Parallel binary counter output Q8 (output 8) of the 12-stage ripple counter."
      },
      {
        "number": "13",
        "name": "Q7",
        "type": "output",
        "description": "Parallel binary counter output Q7 (output 7) of the 12-stage ripple counter."
      },
      {
        "number": "14",
        "name": "Q9",
        "type": "output",
        "description": "Parallel binary counter output Q9 (output 9) of the 12-stage ripple counter."
      },
      {
        "number": "15",
        "name": "Q10",
        "type": "output",
        "description": "Parallel binary counter output Q10 (output 10) of the 12-stage ripple counter."
      },
      {
        "number": "16",
        "name": "VCC",
        "type": "power_in",
        "description": "Positive supply voltage; recommended operating range is 2.0 V to 6.0 V for the HC family and 4.5 V to 5.5 V for the HCT family."
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.3",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.3",
        "primary_model": "claude-haiku-5-5",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: The datasheet pin configuration drawing (page 6) is garbled in the text extraction, so the SOP16 pin; The VCC recommended range of 2.0 V to 6.0 V (HC) and 4.5 V to 5.5 V (HCT) is from the Recommended Op; The datasheet's reel ordering table lists SN74HC4040DR(LX) under SOP16 (page 5), confirming the SOP1"
        ],
        "pages_sent": 20,
        "cost_usd": 0.0714,
        "at": "2026-10-19T04:39:13"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/59bc22a8c9f31ae01c26fc63db72e4cb.pdf",
        "pages": 20,
        "sha256": "4a53348bd76eea5e",
        "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"
    },
    "models_3d": [
      {
        "file": "sn74hc4040dr.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.0,
          9.9,
          1.75
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "d5eeddb4c0b304dc61950919b126fc61d7586abd5f16ab71a2a79759ec6498bf",
        "checked": "2026-10-19",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "sn74hc4040dr-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.0,
          9.9,
          1.75
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "9e55d4c5d6b29539fe58572ef3d297f7b74f8bc2bfadf2cc8877ba46ca850385",
        "checked": "2026-10-19",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}