component
SN74LS240N
Public Made by Adomby adom
lingxingic Buffers, Drivers, Receivers, Transceivers, DIP-20. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808
{
"schema_version": 1,
"type": "component",
"slug": "sn74ls240n",
"title": "SN74LS240N",
"brief": "lingxingic Buffers, Drivers, Receivers, Transceivers, DIP-20. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
"version": "0.1.0",
"license": "CC-BY-SA-4.0",
"tags": [
"component",
"logic",
"sn74ls240n",
"factory-2.0.0",
"extractor-text"
],
"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,
"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,
"footprint_binding": "identity",
"sha256": "7851bf972c8710677079682350c3b7e02aeb389c4d174984bf3cf4d7586921e5",
"checked": "2026-10-15",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
},
"metadata": {
"specs": {
"Manufacturer": "lingxingic",
"Package": "DIP-20",
"Category": "Logic",
"Pins": "20"
},
"characteristics": {
"version": 1,
"source": "datasheet",
"datasheet_sha256": "db7d61c9fa4785528be16b17d601d18bfafcc35cbb527289b911185a9ec448c9",
"rows": [
{
"name": "supply voltage",
"symbol": "VCC",
"kind": "absolute_maximum",
"unit": "V",
"min": -0.5,
"typ": null,
"max": 7,
"conditions": "",
"source_page": 8,
"source": "datasheet"
},
{
"name": "input clamping current",
"symbol": "IIK",
"kind": "absolute_maximum",
"unit": "mA",
"min": -20,
"typ": null,
"max": 20,
"conditions": "VI < -0.5V or VI > VCC+0.5V",
"source_page": 8,
"source": "datasheet"
},
{
"name": "output clamping current",
"symbol": "IOK",
"kind": "absolute_maximum",
"unit": "mA",
"min": -20,
"typ": null,
"max": 20,
"conditions": "VO < -0.5V or VO > VCC+0.5V",
"source_page": 8,
"source": "datasheet"
},
{
"name": "output current",
"symbol": "IO",
"kind": "absolute_maximum",
"unit": "mA",
"min": -35,
"typ": null,
"max": 35,
"conditions": "-0.5V < VO < VCC+0.5V",
"source_page": 8,
"source": "datasheet"
},
{
"name": "supply current",
"symbol": "ICC",
"kind": "absolute_maximum",
"unit": "mA",
"min": null,
"typ": null,
"max": 70,
"conditions": "",
"source_page": 8,
"source": "datasheet"
},
{
"name": "ground current",
"symbol": "IGND",
"kind": "absolute_maximum",
"unit": "mA",
"min": -70,
"typ": null,
"max": null,
"conditions": "",
"source_page": 8,
"source": "datasheet"
},
{
"name": "storage temperature",
"symbol": "Tstg",
"kind": "absolute_maximum",
"unit": "℃",
"min": -65,
"typ": null,
"max": 150,
"conditions": "",
"source_page": 8,
"source": "datasheet"
},
{
"name": "total power dissipation",
"symbol": "Ptot",
"kind": "absolute_maximum",
"unit": "mW",
"min": null,
"typ": null,
"max": 500,
"conditions": "",
"source_page": 8,
"source": "datasheet"
},
{
"name": "soldering temperature",
"symbol": "TL",
"kind": "absolute_maximum",
"unit": "℃",
"min": null,
"typ": null,
"max": 245,
"conditions": "10s DIP",
"source_page": 8,
"source": "datasheet"
},
{
"name": "supply voltage",
"symbol": "VCC",
"kind": "recommended_operating",
"unit": "V",
"min": 2,
"typ": 5,
"max": 6,
"conditions": "",
"source_page": 8,
"source": "datasheet"
},
{
"name": "input transition rise and fall rate",
"symbol": "Δt/ΔV",
"kind": "recommended_operating",
"unit": "ns/V",
"min": null,
"typ": null,
"max": 625,
"conditions": "VCC=2.0V",
"source_page": 8,
"source": "datasheet"
},
{
"name": "input transition rise and fall rate",
"symbol": "Δt/ΔV",
"kind": "recommended_operating",
"unit": "ns/V",
"min": null,
"typ": 1.67,
"max": 139,
"conditions": "VCC=4.5V",
"source_page": 8,
"source": "datasheet"
},
{
"name": "input transition rise and fall rate",
"symbol": "Δt/ΔV",
"kind": "recommended_operating",
"unit": "ns/V",
"min": null,
"typ": null,
"max": 83,
"conditions": "VCC=6.0V",
"source_page": 8,
"source": "datasheet"
},
{
"name": "ambient temperature",
"symbol": "Tamb",
"kind": "recommended_operating",
"unit": "℃",
"min": -40,
"typ": null,
"max": 125,
"conditions": "",
"source_page": 8,
"source": "datasheet"
},
{
"name": "HIGH-level input voltage",
"symbol": "VIH",
"kind": "electrical",
"unit": "V",
"min": 1.5,
"typ": null,
"max": null,
"conditions": "Tamb=-40℃ to +125℃; VCC=2.0V",
"source_page": 11,
"source": "datasheet"
},
{
"name": "HIGH-level input voltage",
"symbol": "VIH",
"kind": "electrical",
"unit": "V",
"min": 3.15,
"typ": null,
"max": null,
"conditions": "Tamb=-40℃ to +125℃; VCC=4.5V",
"source_page": 11,
"source": "datasheet"
},
{
"name": "HIGH-level input voltage",
"symbol": "VIH",
"kind": "electrical",
"unit": "V",
"min": 4.2,
"typ": null,
"max": null,
"conditions": "Tamb=-40℃ to +125℃; VCC=6.0V",
"source_page": 11,
"source": "datasheet"
},
{
"name": "LOW-level input voltage",
"symbol": "VIL",
"kind": "electrical",
"unit": "V",
"min": null,
"typ": null,
"max": 0.5,
"conditions": "Tamb=-40℃ to +125℃; VCC=2.0V",
"source_page": 11,
"source": "datasheet"
},
{
"name": "LOW-level input voltage",
"symbol": "VIL",
"kind": "electrical",
"unit": "V",
"min": null,
"typ": null,
"max": 1.35,
"conditions": "Tamb=-40℃ to +125℃; VCC=4.5V",
"source_page": 11,
"source": "datasheet"
},
{
"name": "LOW-level input voltage",
"symbol": "VIL",
"kind": "electrical",
"unit": "V",
"min": null,
"typ": null,
"max": 1.8,
"conditions": "Tamb=-40℃ to +125℃; VCC=6.0V",
"source_page": 11,
"source": "datasheet"
},
{
"name": "HIGH-level output voltage",
"symbol": "VOH",
"kind": "electrical",
"unit": "V",
"min": 1.9,
"typ": null,
"max": null,
"conditions": "Tamb=-40℃ to +125℃; VI = VIH or VIL; IO=-20uA; VCC=2.0V",
"source_page": 11,
"source": "datasheet"
},
{
"name": "HIGH-level output voltage",
"symbol": "VOH",
"kind": "electrical",
"unit": "V",
"min": 4.4,
"typ": null,
"max": null,
"conditions": "Tamb=-40℃ to +125℃; VI = VIH or VIL; IO=-20uA; VCC=4.5V",
"source_page": 11,
"source": "datasheet"
},
{
"name": "HIGH-level output voltage",
"symbol": "VOH",
"kind": "electrical",
"unit": "V",
"min": 5.9,
"typ": null,
"max": null,
"conditions": "Tamb=-40℃ to +125℃; VI = VIH or VIL; IO=-20uA; VCC=6.0V",
"source_page": 11,
"source": "datasheet"
},
{
"name": "HIGH-level output voltage",
"symbol": "VOH",
"kind": "electrical",
"unit": "V",
"min": 3.7,
"typ": null,
"max": null,
"conditions": "Tamb=-40℃ to +125℃; VI = VIH or VIL; IO=-6.0mA; VCC=4.5V",
"source_page": 11,
"source": "datasheet"
},
{
"name": "HIGH-level output voltage",
"symbol": "VOH",
"kind": "electrical",
"unit": "V",
"min": 5.2,
"typ": null,
"max": null,
"conditions": "Tamb=-40℃ to +125℃; VI = VIH or VIL; IO=-7.8mA; VCC=6.0V",
"source_page": 11,
"source": "datasheet"
},
{
"name": "LOW-level output voltage",
"symbol": "VOL",
"kind": "electrical",
"unit": "V",
"min": null,
"typ": null,
"max": 0.1,
"conditions": "Tamb=-40℃ to +125℃; VI = VIH or VIL; IO=20uA; VCC=2.0V",
"source_page": 11,
"source": "datasheet"
},
{
"name": "LOW-level output voltage",
"symbol": "VOL",
"kind": "electrical",
"unit": "V",
"min": null,
"typ": null,
"max": 0.4,
"conditions": "Tamb=-40℃ to +125℃; VI = VIH or VIL; IO=6.0mA; VCC=4.5V",
"source_page": 11,
"source": "datasheet"
},
{
"name": "input leakage current",
"symbol": "II",
"kind": "electrical",
"unit": "uA",
"min": -1,
"typ": null,
"max": 1,
"conditions": "Tamb=-40℃ to +125℃; VI=VCC or GND; VCC=6.0V",
"source_page": 11,
"source": "datasheet"
},
{
"name": "OFF-state output current",
"symbol": "IOZ",
"kind": "electrical",
"unit": "uA",
"min": -10,
"typ": null,
"max": 10,
"conditions": "Tamb=-40℃ to +125℃; VI=VIH or VIL; VCC=6.0V; VO=VCC or GND",
"source_page": 11,
"source": "datasheet"
},
{
"name": "supply current",
"symbol": "ICC",
"kind": "electrical",
"unit": "uA",
"min": null,
"typ": null,
"max": 160,
"conditions": "Tamb=-40℃ to +125℃; VI=VCC or GND; IO=0A; VCC=6.0V",
"source_page": 11,
"source": "datasheet"
},
{
"name": "nAn to nYn propagation delay",
"symbol": "tpd",
"kind": "timing",
"unit": "ns",
"min": null,
"typ": null,
"max": 150,
"conditions": "Tamb=-40℃ to +125℃; VCC=2.0V; see Figure 5",
"source_page": 14,
"source": "datasheet"
},
{
"name": "nAn to nYn propagation delay",
"symbol": "tpd",
"kind": "timing",
"unit": "ns",
"min": null,
"typ": null,
"max": 30,
"conditions": "Tamb=-40℃ to +125℃; VCC=4.5V; see Figure 5",
"source_page": 14,
"source": "datasheet"
},
{
"name": "nAn to nYn propagation delay",
"symbol": "tpd",
"kind": "timing",
"unit": "ns",
"min": null,
"typ": null,
"max": 26,
"conditions": "Tamb=-40℃ to +125℃; VCC=6.0V; see Figure 5",
"source_page": 14,
"source": "datasheet"
},
{
"name": "nOE to nYn enable time",
"symbol": "ten",
"kind": "timing",
"unit": "ns",
"min": null,
"typ": null,
"max": 225,
"conditions": "Tamb=-40℃ to +125℃; VCC=2.0V; see Figure 6",
"source_page": 14,
"source": "datasheet"
},
{
"name": "nOE to nYn enable time",
"symbol": "ten",
"kind": "timing",
"unit": "ns",
"min": null,
"typ": null,
"max": 45,
"conditions": "Tamb=-40℃ to +125℃; VCC=4.5V; see Figure 6",
"source_page": 14,
"source": "datasheet"
},
{
"name": "nOE to nYn enable time",
"symbol": "ten",
"kind": "timing",
"unit": "ns",
"min": null,
"typ": null,
"max": 38,
"conditions": "Tamb=-40℃ to +125℃; VCC=6.0V; see Figure 6",
"source_page": 14,
"source": "datasheet"
},
{
"name": "nOE to nYn disable time",
"symbol": "tdis",
"kind": "timing",
"unit": "ns",
"min": null,
"typ": null,
"max": 225,
"conditions": "Tamb=-40℃ to +125℃; VCC=2.0V; see Figure 6",
"source_page": 14,
"source": "datasheet"
},
{
"name": "nOE to nYn disable time",
"symbol": "tdis",
"kind": "timing",
"unit": "ns",
"min": null,
"typ": null,
"max": 45,
"conditions": "Tamb=-40℃ to +125℃; VCC=4.5V; see Figure 6",
"source_page": 14,
"source": "datasheet"
},
{
"name": "nOE to nYn disable time",
"symbol": "tdis",
"kind": "timing",
"unit": "ns",
"min": null,
"typ": null,
"max": 38,
"conditions": "Tamb=-40℃ to +125℃; VCC=6.0V; see Figure 6",
"source_page": 14,
"source": "datasheet"
},
{
"name": "transition time",
"symbol": "tt",
"kind": "timing",
"unit": "ns",
"min": null,
"typ": null,
"max": 90,
"conditions": "Tamb=-40℃ to +125℃; VCC=2.0V; see Figure 5",
"source_page": 14,
"source": "datasheet"
},
{
"name": "transition time",
"symbol": "tt",
"kind": "timing",
"unit": "ns",
"min": null,
"typ": null,
"max": 18,
"conditions": "Tamb=-40℃ to +125℃; VCC=4.5V; see Figure 5",
"source_page": 14,
"source": "datasheet"
},
{
"name": "transition time",
"symbol": "tt",
"kind": "timing",
"unit": "ns",
"min": null,
"typ": null,
"max": 15,
"conditions": "Tamb=-40℃ to +125℃; VCC=6.0V; see Figure 5",
"source_page": 14,
"source": "datasheet"
}
]
}
},
"variants": [],
"sections": [
"hero",
"viewers",
"readme",
"breadcrumbs",
"info"
],
"discovery_triggers": [
"sn74ls240n"
],
"discovery_pitch": "SN74LS240N (lingxingic) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
"author": {
"name": "Ray",
"email": "[email protected]"
},
"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"
],
"visibility": {
"public": true
}
}