← Commit history

Initial commit: component/sn74ls240dbr

Ray ·00cd3bfe3a ·1d ago
2 files changed +328
README.mdadded+56
@@ -0,0 +1,56 @@+# SN74LS240DBR++**Texas Instruments** · Buffers, Drivers, Receivers, Transceivers · SSOP-20-208mil++SN74LS240DBR from Texas Instruments, in a SSOP-20-208mil. Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model); symbol, footprint, and 3D from KiCad-official CAD.++## Pinout++| Pin | Name | Type | Function |+|---|---|---|---|+| 1 | 1G | input | Channel 1 output enable; the datasheet describes these G inputs as symmetrical, active-low output-control inputs. |+| 2 | 1A1 | input | Channel 1 A-side data input 1; the datasheet states inputs are tolerant down to 2 V and have hysteresis for noise margin. |+| 3 | 2Y4 | tri_state | Channel 2 Y-side three-state output 4; SN74LS24x devices are rated for IOL up to 24 mA. |+| 4 | 1A2 | input | Channel 1 A-side data input 2; the datasheet states inputs are tolerant down to 2 V and have hysteresis for noise margin. |+| 5 | 2Y3 | tri_state | Channel 2 Y-side three-state output 3; SN74LS24x devices are rated for IOL up to 24 mA. |+| 6 | 1A3 | input | Channel 1 A-side data input 3; the datasheet states inputs are tolerant down to 2 V and have hysteresis for noise margin. |+| 7 | 2Y2 | tri_state | Channel 2 Y-side three-state output 2; SN74LS24x devices are rated for IOL up to 24 mA. |+| 8 | 1A4 | input | Channel 1 A-side data input 4; the datasheet states inputs are tolerant down to 2 V and have hysteresis for noise margin. |+| 9 | 2Y1 | tri_state | Channel 2 Y-side three-state output 1; SN74LS24x devices are rated for IOL up to 24 mA. |+| 10 | GND | power_in | Ground reference; the datasheet states voltages are referenced to the network ground terminal. |+| 11 | 2A1 | input | Channel 2 A-side data input 1; the datasheet states inputs are tolerant down to 2 V and have hysteresis for noise margin. |+| 12 | 1Y4 | tri_state | Channel 1 Y-side three-state output 4; SN74LS24x devices are rated for IOL up to 24 mA. |+| 13 | 2A2 | input | Channel 2 A-side data input 2; the datasheet states inputs are tolerant down to 2 V and have hysteresis for noise margin. |+| 14 | 1Y3 | tri_state | Channel 1 Y-side three-state output 3; SN74LS24x devices are rated for IOL up to 24 mA. |+| 15 | 2A3 | input | Channel 2 A-side data input 3; the datasheet states inputs are tolerant down to 2 V and have hysteresis for noise margin. |+| 16 | 1Y2 | tri_state | Channel 1 Y-side three-state output 2; SN74LS24x devices are rated for IOL up to 24 mA. |+| 17 | 2A4 | input | Channel 2 A-side data input 4; the datasheet states inputs are tolerant down to 2 V and have hysteresis for noise margin. |+| 18 | 1Y1 | tri_state | Channel 1 Y-side three-state output 1; SN74LS24x devices are rated for IOL up to 24 mA. |+| 19 | 2G/2G | input | Channel 2 output enable; for the SN74LS240 this is the 2G control (the footnote gives 2G/2G for LS241/S241 and 2G for all other drivers), and the datasheet describes these G inputs as active-low output controls. |+| 20 | VCC | power_in | Power supply; SN74xS24x devices are specified for VCC of 4.75 V to 5.25 V (5 V nominal). |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | Texas Instruments |+| Package | SSOP-20-208mil |+| Category | Logic |+| Pins | 20 |++## CAD (KiCad official)++- Symbol: `SN74LS240DBR`+- Footprint: `Package_SO:SSOP-20_5.3x7.2mm_P0.65mm`+- 3D model: SSOP-20-208mil (KiCad packages3D, STEP)+- 3D model files: `sn74ls240dbr-etched.step` / `sn74ls240dbr-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `sn74ls240dbr.step` / `sn74ls240dbr.glb` are the bare package body.++## Provenance++Data extracted from the manufacturer datasheet, not a distributor listing:++- **Datasheet:** [Texas Instruments datasheet](https://www.ti.com/cn/lit/gpn/sn74ls241) (42 pp, sha256 `05f3258985319fe3`, retrieved 2026-10-08, tier: lcsc)+- **Extractor:** parts-factory `2.0.0` / `extract_pins 0.3`, primary `claude-haiku-5-5` (text), consensus `claude-sonnet-5-5` (agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish.+- **CAD:** KiCad official libraries (CC-BY-SA 4.0).++[Datasheet PDF](docs/sn74ls240dbr-datasheet.pdf)
page.jsonadded+272
@@ -0,0 +1,272 @@+{+  "slug": "sn74ls240dbr",+  "version": "0.1.0",+  "type": "component",+  "description": "Texas Instruments Buffers, Drivers, Receivers, Transceivers, SSOP-20-208mil. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",+  "tags": [+    "component",+    "logic",+    "sn74ls240dbr",+    "factory-2.0.0",+    "extractor-text"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "sn74ls240dbr.kicad_sym",+    "sn74ls240dbr.kicad_mod",+    "sn74ls240dbr.glb",+    "sn74ls240dbr.step",+    "sn74ls240dbr.lbr",+    "docs/hero.png",+    "docs/sn74ls240dbr-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html",+    "sn74ls240dbr-hero.glb",+    "sn74ls240dbr-hero.overlay.json"+  ],+  "component": {+    "mpn": "SN74LS240DBR",+    "manufacturer": "Texas Instruments",+    "package": "SSOP-20-208mil",+    "pin_count": 20,+    "category": "Logic",+    "subcategory": "Buffers, Drivers, Receivers, Transceivers",+    "datasheet": "https://www.ti.com/cn/lit/gpn/sn74ls241",+    "parts": {+      "symbol": "sn74ls240dbr.kicad_sym",+      "footprint": "sn74ls240dbr.kicad_mod",+      "model_3d": "sn74ls240dbr-hero.glb",+      "model_3d_plain": "sn74ls240dbr.glb",+      "model_3d_step": "sn74ls240dbr-etched.step",+      "model_3d_step_plain": "sn74ls240dbr.step",+      "lbr": "sn74ls240dbr.lbr"+    },+    "distributor_links": {+      "lcsc": "C2675832",+      "digikey": "296-51564-2-ND",+      "mouser": "595-SN74LS240DBR"+    },+    "distributor_check": {+      "checked_at": "2026-10-08T16:07:14Z",+      "source": "Component Ocean /api/assign-pns",+      "digikey": {+        "pn": "296-51564-2-ND",+        "status": "found",+        "lifecycle": "Active"+      },+      "mouser": {+        "pn": "595-SN74LS240DBR",+        "status": "found"+      }+    },+    "pins": [+      {+        "number": "1",+        "name": "1G",+        "type": "input",+        "description": "Channel 1 output enable; the datasheet describes these G inputs as symmetrical, active-low output-control inputs."+      },+      {+        "number": "2",+        "name": "1A1",+        "type": "input",+        "description": "Channel 1 A-side data input 1; the datasheet states inputs are tolerant down to 2 V and have hysteresis for noise margin."+      },+      {+        "number": "3",+        "name": "2Y4",+        "type": "tri_state",+        "description": "Channel 2 Y-side three-state output 4; SN74LS24x devices are rated for IOL up to 24 mA."+      },+      {+        "number": "4",+        "name": "1A2",+        "type": "input",+        "description": "Channel 1 A-side data input 2; the datasheet states inputs are tolerant down to 2 V and have hysteresis for noise margin."+      },+      {+        "number": "5",+        "name": "2Y3",+        "type": "tri_state",+        "description": "Channel 2 Y-side three-state output 3; SN74LS24x devices are rated for IOL up to 24 mA."+      },+      {+        "number": "6",+        "name": "1A3",+        "type": "input",+        "description": "Channel 1 A-side data input 3; the datasheet states inputs are tolerant down to 2 V and have hysteresis for noise margin."+      },+      {+        "number": "7",+        "name": "2Y2",+        "type": "tri_state",+        "description": "Channel 2 Y-side three-state output 2; SN74LS24x devices are rated for IOL up to 24 mA."+      },+      {+        "number": "8",+        "name": "1A4",+        "type": "input",+        "description": "Channel 1 A-side data input 4; the datasheet states inputs are tolerant down to 2 V and have hysteresis for noise margin."+      },+      {+        "number": "9",+        "name": "2Y1",+        "type": "tri_state",+        "description": "Channel 2 Y-side three-state output 1; SN74LS24x devices are rated for IOL up to 24 mA."+      },+      {+        "number": "10",+        "name": "GND",+        "type": "power_in",+        "description": "Ground reference; the datasheet states voltages are referenced to the network ground terminal."+      },+      {+        "number": "11",+        "name": "2A1",+        "type": "input",+        "description": "Channel 2 A-side data input 1; the datasheet states inputs are tolerant down to 2 V and have hysteresis for noise margin."+      },+      {+        "number": "12",+        "name": "1Y4",+        "type": "tri_state",+        "description": "Channel 1 Y-side three-state output 4; SN74LS24x devices are rated for IOL up to 24 mA."+      },+      {+        "number": "13",+        "name": "2A2",+        "type": "input",+        "description": "Channel 2 A-side data input 2; the datasheet states inputs are tolerant down to 2 V and have hysteresis for noise margin."+      },+      {+        "number": "14",+        "name": "1Y3",+        "type": "tri_state",+        "description": "Channel 1 Y-side three-state output 3; SN74LS24x devices are rated for IOL up to 24 mA."+      },+      {+        "number": "15",+        "name": "2A3",+        "type": "input",+        "description": "Channel 2 A-side data input 3; the datasheet states inputs are tolerant down to 2 V and have hysteresis for noise margin."+      },+      {+        "number": "16",+        "name": "1Y2",+        "type": "tri_state",+        "description": "Channel 1 Y-side three-state output 2; SN74LS24x devices are rated for IOL up to 24 mA."+      },+      {+        "number": "17",+        "name": "2A4",+        "type": "input",+        "description": "Channel 2 A-side data input 4; the datasheet states inputs are tolerant down to 2 V and have hysteresis for noise margin."+      },+      {+        "number": "18",+        "name": "1Y1",+        "type": "tri_state",+        "description": "Channel 1 Y-side three-state output 1; SN74LS24x devices are rated for IOL up to 24 mA."+      },+      {+        "number": "19",+        "name": "2G/2G",+        "type": "input",+        "description": "Channel 2 output enable; for the SN74LS240 this is the 2G control (the footnote gives 2G/2G for LS241/S241 and 2G for all other drivers), and the datasheet describes these G inputs as active-low output controls."+      },+      {+        "number": "20",+        "name": "VCC",+        "type": "power_in",+        "description": "Power supply; SN74xS24x devices are specified for VCC of 4.75 V to 5.25 V (5 V nominal)."+      }+    ],+    "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 pin table on page 3 is shared by the DB, DW, J, N, NS and W packages. The DB (SSOP-20) pinout wa; Text extraction dropped the overbars on the output-enable names. Pin 1 is printed as 1G and pin 19 a; The printed pin table says type O for the Y outputs. I mapped them to KiCad tri_state because the da"+        ],+        "pages_sent": 13,+        "cost_usd": 0.0942,+        "at": "2026-10-08T16:06:46"+      },+      "datasheet": {+        "url": "https://www.ti.com/cn/lit/gpn/sn74ls241",+        "pages": 42,+        "sha256": "05f3258985319fe3",+        "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": "sn74ls240dbr.step",+        "role": "plain",+        "up": "Z",+        "units": "mm",+        "origin": "footprint origin = pad-pattern centre",+        "seat": "z = 0",+        "extents_mm": [+          7.8,+          7.2,+          2.1+        ],+        "zmin_mm": 0,+        "centre_offset_mm": 0,+        "footprint_binding": "identity",+        "sha256": "c9a01a276d0b4d9561efd58f2fcee56f52c1b6ab464ea7a0380cab4e87a924e6",+        "checked": "2026-10-08",+        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"+      },+      {+        "file": "sn74ls240dbr-etched.step",+        "role": "eda",+        "up": "Z",+        "units": "mm",+        "origin": "footprint origin = pad-pattern centre",+        "seat": "z = 0",+        "extents_mm": [+          7.8,+          7.2,+          2.1+        ],+        "zmin_mm": 0,+        "centre_offset_mm": 0,+        "footprint_binding": "identity",+        "sha256": "906d04eae3702c6058c4095cf121e5c7ebdc53ca76002083c8d3d559454de314",+        "checked": "2026-10-08",+        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"+      }+    ]+  },+  "visibility": "public",+  "org": "adom",+  "author": {+    "name": "Ray",+    "email": "[email protected]"+  }+}\ No newline at end of file