main
Ray Publish 0.1.0 0f9bb64 7d ago
{
  "slug": "sn74ls240n",
  "version": "0.1.0",
  "type": "component",
  "description": "lingxingic Buffers, Drivers, Receivers, Transceivers, DIP-20. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "logic",
    "sn74ls240n",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "sn74ls240n.kicad_sym",
    "sn74ls240n.kicad_mod",
    "sn74ls240n.glb",
    "sn74ls240n.step",
    "sn74ls240n.lbr",
    "docs/hero.png",
    "docs/sn74ls240n-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "sn74ls240n-hero.glb",
    "sn74ls240n-hero.overlay.json",
    "sn74ls240n-etched.glb"
  ],
  "component": {
    "mpn": "SN74LS240N",
    "manufacturer": "lingxingic",
    "package": "DIP-20",
    "pin_count": 20,
    "category": "Logic",
    "subcategory": "Buffers, Drivers, Receivers, Transceivers",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8603393143731462144",
    "parts": {
      "symbol": "sn74ls240n.kicad_sym",
      "footprint": "sn74ls240n.kicad_mod",
      "model_3d": "sn74ls240n-hero.glb",
      "model_3d_plain": "sn74ls240n-etched.glb",
      "model_3d_step": "sn74ls240n-etched.step",
      "model_3d_step_plain": "sn74ls240n.step",
      "lbr": "sn74ls240n.lbr"
    },
    "distributor_links": {
      "lcsc": "C22449635",
      "digikey": "296-1651-5-ND",
      "mouser": "595-SN74LS240N"
    },
    "distributor_check": {
      "checked_at": "2026-10-15T17:07:38Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "296-1651-5-ND",
        "status": "found",
        "lifecycle": "Active"
      },
      "mouser": {
        "pn": "595-SN74LS240N",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "1OE",
        "type": "input",
        "description": "Output enable input (active LOW) for outputs 1Y0 to 1Y3; a HIGH on this pin puts those outputs in the high-impedance OFF-state."
      },
      {
        "number": "2",
        "name": "1A0",
        "type": "input",
        "description": "Data input for inverting buffer channel 1Y0; inputs include clamp diodes that allow current-limiting resistors for interfacing to voltages above VCC."
      },
      {
        "number": "3",
        "name": "2Y0",
        "type": "tri_state",
        "description": "Inverting 3-state bus output of channel 2Y0, high-impedance when 2OE is HIGH."
      },
      {
        "number": "4",
        "name": "1A1",
        "type": "input",
        "description": "Data input for inverting buffer channel 1Y1; inputs include clamp diodes that allow current-limiting resistors for interfacing to voltages above VCC."
      },
      {
        "number": "5",
        "name": "2Y1",
        "type": "tri_state",
        "description": "Inverting 3-state bus output of channel 2Y1, high-impedance when 2OE is HIGH."
      },
      {
        "number": "6",
        "name": "1A2",
        "type": "input",
        "description": "Data input for inverting buffer channel 1Y2; inputs include clamp diodes that allow current-limiting resistors for interfacing to voltages above VCC."
      },
      {
        "number": "7",
        "name": "2Y2",
        "type": "tri_state",
        "description": "Inverting 3-state bus output of channel 2Y2, high-impedance when 2OE is HIGH."
      },
      {
        "number": "8",
        "name": "1A3",
        "type": "input",
        "description": "Data input for inverting buffer channel 1Y3; inputs include clamp diodes that allow current-limiting resistors for interfacing to voltages above VCC."
      },
      {
        "number": "9",
        "name": "2Y3",
        "type": "tri_state",
        "description": "Inverting 3-state bus output of channel 2Y3, high-impedance when 2OE is HIGH."
      },
      {
        "number": "10",
        "name": "GND",
        "type": "power_in",
        "description": "Ground (0V) reference for all voltages on the device."
      },
      {
        "number": "11",
        "name": "2A3",
        "type": "input",
        "description": "Data input for inverting buffer channel 2Y3; inputs include clamp diodes that allow current-limiting resistors for interfacing to voltages above VCC."
      },
      {
        "number": "12",
        "name": "1Y3",
        "type": "tri_state",
        "description": "Inverting 3-state bus output of channel 1Y3, high-impedance when 1OE is HIGH."
      },
      {
        "number": "13",
        "name": "2A2",
        "type": "input",
        "description": "Data input for inverting buffer channel 2Y2; inputs include clamp diodes that allow current-limiting resistors for interfacing to voltages above VCC."
      },
      {
        "number": "14",
        "name": "1Y2",
        "type": "tri_state",
        "description": "Inverting 3-state bus output of channel 1Y2, high-impedance when 1OE is HIGH."
      },
      {
        "number": "15",
        "name": "2A1",
        "type": "input",
        "description": "Data input for inverting buffer channel 2Y1; inputs include clamp diodes that allow current-limiting resistors for interfacing to voltages above VCC."
      },
      {
        "number": "16",
        "name": "1Y1",
        "type": "tri_state",
        "description": "Inverting 3-state bus output of channel 1Y1, high-impedance when 1OE is HIGH."
      },
      {
        "number": "17",
        "name": "2A0",
        "type": "input",
        "description": "Data input for inverting buffer channel 2Y0; inputs include clamp diodes that allow current-limiting resistors for interfacing to voltages above VCC."
      },
      {
        "number": "18",
        "name": "1Y0",
        "type": "tri_state",
        "description": "Inverting 3-state bus output of channel 1Y0, high-impedance when 1OE is HIGH."
      },
      {
        "number": "19",
        "name": "2OE",
        "type": "input",
        "description": "Output enable input (active LOW) for outputs 2Y0 to 2Y3; a HIGH on this pin puts those outputs in the high-impedance OFF-state."
      },
      {
        "number": "20",
        "name": "VCC",
        "type": "power_in",
        "description": "Supply voltage; the recommended operating range is 2.0 V to 6.0 V (Section 3.2, page 8)."
      }
    ],
    "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 covers DIP20, SOP20 and TSSOP20 but its pin table (Section 2.3) is not labeled per pac; Output pins are typed tri_state because the datasheet describes them as 3-state outputs with a high-; The VCC description cites the recommended range from Section 3.2 (page 8), while the pin entry itsel"
        ],
        "pages_sent": 20,
        "cost_usd": 0.0631,
        "at": "2026-10-15T17:07:16"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8603393143731462144",
        "pages": 20,
        "sha256": "db7d61c9fa478552",
        "source_tier": "lcsc"
      },
      "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": "sn74ls240n.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-10-15",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "sn74ls240n-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": "7851bf972c8710677079682350c3b7e02aeb389c4d174984bf3cf4d7586921e5",
        "checked": "2026-10-15",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}