main
Ray Publish 0.1.0 8b33201
{
  "slug": "sn74ls640-1n",
  "version": "0.1.0",
  "type": "component",
  "description": "Texas Instruments Buffers / Drivers, PDIP-20. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "logic ics",
    "sn74ls640-1n",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "sn74ls640-1n.kicad_sym",
    "sn74ls640-1n.kicad_mod",
    "sn74ls640-1n.glb",
    "sn74ls640-1n.step",
    "sn74ls640-1n.lbr",
    "docs/hero.png",
    "docs/sn74ls640-1n-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "sn74ls640-1n-hero.glb",
    "sn74ls640-1n-hero.overlay.json",
    "sn74ls640-1n-etched.glb"
  ],
  "component": {
    "mpn": "SN74LS640-1N",
    "manufacturer": "Texas Instruments",
    "package": "PDIP-20",
    "pin_count": 20,
    "category": "Logic ICs",
    "subcategory": "Buffers / Drivers",
    "datasheet": "https://www.ti.com/lit/ds/symlink/sn74ls640-1n.pdf",
    "parts": {
      "symbol": "sn74ls640-1n.kicad_sym",
      "footprint": "sn74ls640-1n.kicad_mod",
      "model_3d": "sn74ls640-1n-hero.glb",
      "model_3d_plain": "sn74ls640-1n-etched.glb",
      "model_3d_step": "sn74ls640-1n-etched.step",
      "model_3d_step_plain": "sn74ls640-1n.step",
      "lbr": "sn74ls640-1n.lbr"
    },
    "distributor_links": {
      "lcsc": "C1548475",
      "digikey": "2156-SN74LS640-1N-ND",
      "mouser": "595-SN74LS640-1N"
    },
    "distributor_check": {
      "checked_at": "2026-11-02T17:20:33Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "2156-SN74LS640-1N-ND",
        "status": "found",
        "lifecycle": "Active"
      },
      "mouser": {
        "pn": "595-SN74LS640-1N",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "DIR",
        "type": "input",
        "description": "Direction control input that sets the transfer direction: low gives B data to A bus, high gives A data to B bus (inverting in the 'LS640), with VIH min 2 V and VIL max 0.6 V for the SN74LS640."
      },
      {
        "number": "2",
        "name": "A1",
        "type": "bidirectional",
        "description": "A-bus I/O port 1 with 3-state output and hysteresis on the input, with input voltage on I/O ports rated to 5.5 V maximum."
      },
      {
        "number": "3",
        "name": "A2",
        "type": "bidirectional",
        "description": "A-bus I/O port 2 with 3-state output and hysteresis on the input, with input voltage on I/O ports rated to 5.5 V maximum."
      },
      {
        "number": "4",
        "name": "A3",
        "type": "bidirectional",
        "description": "A-bus I/O port 3 with 3-state output and hysteresis on the input, with input voltage on I/O ports rated to 5.5 V maximum."
      },
      {
        "number": "5",
        "name": "A4",
        "type": "bidirectional",
        "description": "A-bus I/O port 4 with 3-state output and hysteresis on the input, with input voltage on I/O ports rated to 5.5 V maximum."
      },
      {
        "number": "6",
        "name": "A5",
        "type": "bidirectional",
        "description": "A-bus I/O port 5 with 3-state output and hysteresis on the input, with input voltage on I/O ports rated to 5.5 V maximum."
      },
      {
        "number": "7",
        "name": "A6",
        "type": "bidirectional",
        "description": "A-bus I/O port 6 with 3-state output and hysteresis on the input, with input voltage on I/O ports rated to 5.5 V maximum."
      },
      {
        "number": "8",
        "name": "A7",
        "type": "bidirectional",
        "description": "A-bus I/O port 7 with 3-state output and hysteresis on the input, with input voltage on I/O ports rated to 5.5 V maximum."
      },
      {
        "number": "9",
        "name": "A8",
        "type": "bidirectional",
        "description": "A-bus I/O port 8 with 3-state output and hysteresis on the input, with input voltage on I/O ports rated to 5.5 V maximum."
      },
      {
        "number": "10",
        "name": "GND",
        "type": "power_in",
        "description": "Ground terminal, the reference for all voltage values."
      },
      {
        "number": "11",
        "name": "B8",
        "type": "bidirectional",
        "description": "B-bus I/O port 8 with 3-state output (IOL up to 48 mA for the -1 version) and hysteresis on the input, rated to 5.5 V maximum on I/O ports."
      },
      {
        "number": "12",
        "name": "B7",
        "type": "bidirectional",
        "description": "B-bus I/O port 7 with 3-state output (IOL up to 48 mA for the -1 version) and hysteresis on the input, rated to 5.5 V maximum on I/O ports."
      },
      {
        "number": "13",
        "name": "B6",
        "type": "bidirectional",
        "description": "B-bus I/O port 6 with 3-state output (IOL up to 48 mA for the -1 version) and hysteresis on the input, rated to 5.5 V maximum on I/O ports."
      },
      {
        "number": "14",
        "name": "B5",
        "type": "bidirectional",
        "description": "B-bus I/O port 5 with 3-state output (IOL up to 48 mA for the -1 version) and hysteresis on the input, rated to 5.5 V maximum on I/O ports."
      },
      {
        "number": "15",
        "name": "B4",
        "type": "bidirectional",
        "description": "B-bus I/O port 4 with 3-state output (IOL up to 48 mA for the -1 version) and hysteresis on the input, rated to 5.5 V maximum on I/O ports."
      },
      {
        "number": "16",
        "name": "B3",
        "type": "bidirectional",
        "description": "B-bus I/O port 3 with 3-state output (IOL up to 48 mA for the -1 version) and hysteresis on the input, rated to 5.5 V maximum on I/O ports."
      },
      {
        "number": "17",
        "name": "B2",
        "type": "bidirectional",
        "description": "B-bus I/O port 2 with 3-state output (IOL up to 48 mA for the -1 version) and hysteresis on the input, rated to 5.5 V maximum on I/O ports."
      },
      {
        "number": "18",
        "name": "B1",
        "type": "bidirectional",
        "description": "B-bus I/O port 1 with 3-state output (IOL up to 48 mA for the -1 version) and hysteresis on the input, rated to 5.5 V maximum on I/O ports."
      },
      {
        "number": "19",
        "name": "G",
        "type": "input",
        "description": "Active-low enable input; a high level disables the device so the buses are effectively isolated, with VIH min 2 V and VIL max 0.6 V for the SN74LS640."
      },
      {
        "number": "20",
        "name": "VCC",
        "type": "power_in",
        "description": "Supply voltage, 4.75 V min, 5 V nom, 5.25 V max recommended for the SN74LS640, with absolute maximum of 7 V."
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.3",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.3",
        "primary_model": "claude-sonnet-5-5",
        "primary_mode": "text+vision",
        "consensus_model": "claude-opus-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "vision extraction: provenance cannot be text-verified; needs consensus"
        ],
        "pages_sent": 21,
        "cost_usd": 0.0964,
        "at": "2026-11-02T17:20:22"
      },
      "datasheet": {
        "url": "https://www.ti.com/lit/ds/symlink/sn74ls640-1n.pdf",
        "pages": 21,
        "sha256": "26e250f139497751",
        "source_tier": "mfr"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 20,
        "described": 20,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "sn74ls640-1n.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "body on z = 0, through-hole leads below",
        "extents_mm": [
          7.874,
          26.162,
          6.98
        ],
        "zmin_mm": -3.3,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "ca359c9b9e0ce94efcb6c96866513f659eef6517d629ace3c4a0a779f6fd57bb",
        "checked": "2026-11-02",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "sn74ls640-1n-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "body on z = 0, through-hole leads below",
        "extents_mm": [
          7.874,
          26.162,
          6.98
        ],
        "zmin_mm": -3.3,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "7175cd142de82acb78177c310428f1fceef6994aa17b3ac3efd79491a3394d93",
        "checked": "2026-11-02",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}