component
L297N
Public Made by Adomby adom
HGSEMI Stepper Motor Driver, DIP-20. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673
{
"schema_version": 1,
"type": "component",
"slug": "l297n",
"title": "L297N",
"brief": "HGSEMI Stepper Motor Driver, 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",
"motor driver ics",
"l297n",
"factory-2.0.0",
"extractor-text"
],
"component": {
"mpn": "L297N",
"manufacturer": "HGSEMI",
"package": "DIP-20",
"pin_count": 20,
"category": "Motor Driver ICs",
"subcategory": "Stepper Motor Driver",
"datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8590233228457385984",
"parts": {
"symbol": "l297n.kicad_sym",
"footprint": "l297n.kicad_mod",
"model_3d": "l297n-hero.glb",
"model_3d_plain": "l297n-etched.glb",
"model_3d_step": "l297n-etched.step",
"model_3d_step_plain": "l297n.step",
"lbr": "l297n.lbr"
},
"distributor_links": {
"lcsc": "C2987340"
},
"distributor_check": {
"checked_at": "2026-10-15T17:47:25Z",
"source": "Component Ocean /api/assign-pns",
"digikey": {
"pn": null,
"status": "no match"
},
"mouser": {
"pn": null,
"status": "no match"
}
},
"pins": [
{
"number": "1",
"name": "SYNC",
"type": "bidirectional",
"description": "Output of the on-chip chopper oscillator; SYNC pins of all synchronized L297s are connected together, and an external clock is injected here if used."
},
{
"number": "2",
"name": "GND",
"type": "power_in",
"description": "Ground connection."
},
{
"number": "3",
"name": "HOME",
"type": "output",
"description": "Open-collector output that is active (transistor open) when the L297 is in its initial state ABCD = 0101; leakage 1 µA max at VCE = 7 V and saturation voltage 0.4 V max at 5 mA."
},
{
"number": "4",
"name": "A",
"type": "output",
"description": "Motor phase A drive signal for the power stage; VOL 0.4 V max at 10 mA and VOH 3.9 V min at 5 mA."
},
{
"number": "5",
"name": "INH1",
"type": "output",
"description": "Active-low inhibit for the driver stages of phases A and B, also used by the chopper to regulate load current when CONTROL is low; VOL 0.4 V max at 10 mA."
},
{
"number": "6",
"name": "B",
"type": "output",
"description": "Motor phase B drive signal for the power stage; VOL 0.4 V max at 10 mA and VOH 3.9 V min at 5 mA."
},
{
"number": "7",
"name": "C",
"type": "output",
"description": "Motor phase C drive signal for the power stage; VOL 0.4 V max at 10 mA and VOH 3.9 V min at 5 mA."
},
{
"number": "8",
"name": "INH2",
"type": "output",
"description": "Active-low inhibit for the driver stages of phases C and D, same function as INH1; VOL 0.4 V max at 10 mA."
},
{
"number": "9",
"name": "D",
"type": "output",
"description": "Motor phase D drive signal for the power stage; VOL 0.4 V max at 10 mA and VOH 3.9 V min at 5 mA."
},
{
"number": "10",
"name": "ENABLE",
"type": "input",
"description": "Chip enable input; when low (inactive) INH1, INH2, A, B, C and D are forced low; low level 1.3 V max, high level 2 V min to Vs."
},
{
"number": "11",
"name": "CONTROL",
"type": "input",
"description": "Selects chopper action: when low the chopper acts on INH1 and INH2, when high it acts on phase lines ABCD; low 0.6 V max, high 2 V min to Vs."
},
{
"number": "12",
"name": "Vs",
"type": "power_in",
"description": "5 V supply input; the datasheet gives a supply voltage range of 4.75 V min to 7 V max."
},
{
"number": "13",
"name": "SENS2",
"type": "input",
"description": "Load current sense voltage input from the power stages of phases C and D, compared against Vref."
},
{
"number": "14",
"name": "SENS1",
"type": "input",
"description": "Load current sense voltage input from the power stages of phases A and B, compared against Vref."
},
{
"number": "15",
"name": "Vref",
"type": "power_in",
"description": "Reference voltage for the chopper that sets the peak load current; specified input range 0 to 3 V."
},
{
"number": "16",
"name": "OSC",
"type": "passive",
"description": "RC network (R to VCC, C to ground) sets the chopper rate, f ≅ 1/0.69RC; this pin is grounded on all but one device in synchronized multi-L297 configurations."
},
{
"number": "17",
"name": "CW/CCW",
"type": "input",
"description": "Clockwise/counterclockwise direction control, internally synchronized so direction can be changed at any time; low 0.6 V max, high 2 V min to Vs."
},
{
"number": "18",
"name": "CLOCK",
"type": "input",
"description": "Step clock; an active-low pulse advances the motor one increment on its rising edge; low 0.6 V max, high 2 V min to Vs."
},
{
"number": "19",
"name": "HALF/FULL",
"type": "input",
"description": "Half/full step select: high selects half-step operation, low selects full-step operation; low 0.6 V max, high 2 V min to Vs."
},
{
"number": "20",
"name": "RESET",
"type": "input",
"description": "Active-low reset that restores the translator to the home position (state 1, ABCD = 0101); low 0.6 V max, high 2 V min to Vs."
}
],
"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 MPN is given as L297N, but the datasheet only lists the ordering numbers L297 (DIP20) and L297D ; Pin 1 (SYNC) and pin 16 (OSC) types are judgment calls: SYNC is described both as an oscillator outp; Pins 5 and 8 (INH1/INH2) are typed output because they drive the L298 enable inputs and the datashee"
],
"pages_sent": 8,
"cost_usd": 0.0618,
"at": "2026-10-15T17:47:06"
},
"datasheet": {
"url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8590233228457385984",
"pages": 8,
"sha256": "bbdff7f0738894f2",
"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": "l297n.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": "l297n-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": "96bf26d11cd5fa2979509248e420f77cf7d3b1c10cde28e9f353c2f0e9a78085",
"checked": "2026-10-15",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
},
"metadata": {
"specs": {
"Manufacturer": "HGSEMI",
"Package": "DIP-20",
"Category": "Motor Driver ICs",
"Pins": "20"
},
"characteristics": {
"version": 1,
"source": "datasheet",
"datasheet_sha256": "bbdff7f0738894f2a32d0c2c26e10ce449da78cc9e43773543444f35d2675e26",
"rows": [
{
"name": "Supply voltage",
"symbol": "Vs",
"kind": "absolute_maximum",
"unit": "V",
"min": null,
"typ": null,
"max": 10,
"conditions": "",
"source_page": 1,
"source": "datasheet"
},
{
"name": "Input signals",
"symbol": "Vi",
"kind": "absolute_maximum",
"unit": "V",
"min": null,
"typ": null,
"max": 7,
"conditions": "",
"source_page": 1,
"source": "datasheet"
},
{
"name": "Total power dissipation",
"symbol": "Ptot",
"kind": "absolute_maximum",
"unit": "W",
"min": null,
"typ": null,
"max": 1,
"conditions": "Tamb = 70°C",
"source_page": 1,
"source": "datasheet"
},
{
"name": "Storage and junction temperature",
"symbol": "Tstg,Tj",
"kind": "absolute_maximum",
"unit": "°C",
"min": -40,
"typ": null,
"max": 150,
"conditions": "",
"source_page": 1,
"source": "datasheet"
},
{
"name": "Thermal resistance junction-ambient (DIP20)",
"symbol": "Rth-j-amb",
"kind": "thermal",
"unit": "°C/W",
"min": null,
"typ": null,
"max": 80,
"conditions": "",
"source_page": 4,
"source": "datasheet"
},
{
"name": "Supply voltage (pin 12)",
"symbol": "Vs",
"kind": "electrical",
"unit": "V",
"min": 4.75,
"typ": null,
"max": 7,
"conditions": "",
"source_page": 6,
"source": "datasheet"
},
{
"name": "Quiescent supply current (pin 12)",
"symbol": "Is",
"kind": "electrical",
"unit": "mA",
"min": null,
"typ": 50,
"max": 80,
"conditions": "Outputs floating",
"source_page": 6,
"source": "datasheet"
},
{
"name": "Input voltage Low (pins 11, 17, 18, 19, 20)",
"symbol": "Vi",
"kind": "electrical",
"unit": "V",
"min": null,
"typ": null,
"max": 0.6,
"conditions": "Low",
"source_page": 6,
"source": "datasheet"
},
{
"name": "Input voltage High (pins 11, 17, 18, 19, 20)",
"symbol": "Vi",
"kind": "electrical",
"unit": "V",
"min": 2,
"typ": null,
"max": null,
"conditions": "High",
"source_page": 6,
"source": "datasheet"
},
{
"name": "Input current (pins 11, 17, 18, 19, 20)",
"symbol": "Ii",
"kind": "electrical",
"unit": "µA",
"min": null,
"typ": null,
"max": 100,
"conditions": "Vi = L",
"source_page": 6,
"source": "datasheet"
},
{
"name": "Input current (pins 11, 17, 18, 19, 20)",
"symbol": "Ii",
"kind": "electrical",
"unit": "µA",
"min": null,
"typ": null,
"max": 10,
"conditions": "Vi = H",
"source_page": 6,
"source": "datasheet"
},
{
"name": "Enable input voltage Low (pin 10)",
"symbol": "Ven",
"kind": "electrical",
"unit": "V",
"min": null,
"typ": null,
"max": 1.3,
"conditions": "Low",
"source_page": 6,
"source": "datasheet"
},
{
"name": "Enable input voltage High (pin 10)",
"symbol": "Ven",
"kind": "electrical",
"unit": "V",
"min": 2,
"typ": null,
"max": null,
"conditions": "High",
"source_page": 6,
"source": "datasheet"
},
{
"name": "Enable input current (pin 10)",
"symbol": "Ien",
"kind": "electrical",
"unit": "µA",
"min": null,
"typ": null,
"max": 100,
"conditions": "Ven = L",
"source_page": 6,
"source": "datasheet"
},
{
"name": "Enable input current (pin 10)",
"symbol": "Ien",
"kind": "electrical",
"unit": "µA",
"min": null,
"typ": null,
"max": 10,
"conditions": "Ven = H",
"source_page": 6,
"source": "datasheet"
},
{
"name": "Phase output voltage low (pins 4, 6, 7, 9)",
"symbol": "VOL",
"kind": "electrical",
"unit": "V",
"min": null,
"typ": null,
"max": 0.4,
"conditions": "Io = 10mA",
"source_page": 6,
"source": "datasheet"
},
{
"name": "Phase output voltage high (pins 4, 6, 7, 9)",
"symbol": "VOH",
"kind": "electrical",
"unit": "V",
"min": 3.9,
"typ": null,
"max": null,
"conditions": "Io = 5mA",
"source_page": 6,
"source": "datasheet"
},
{
"name": "Inhibit output voltage low (pins 5, 8)",
"symbol": "Vinh L",
"kind": "electrical",
"unit": "V",
"min": null,
"typ": null,
"max": 0.4,
"conditions": "Io = 10mA",
"source_page": 6,
"source": "datasheet"
},
{
"name": "Inhibit output voltage high (pins 5, 8)",
"symbol": "Vinh H",
"kind": "electrical",
"unit": "V",
"min": 3.9,
"typ": null,
"max": null,
"conditions": "Io = 5mA",
"source_page": 6,
"source": "datasheet"
},
{
"name": "Sync output voltage high",
"symbol": "VSYNC H",
"kind": "electrical",
"unit": "V",
"min": 3.3,
"typ": null,
"max": null,
"conditions": "Io = 5mA",
"source_page": 6,
"source": "datasheet"
},
{
"name": "Sync output voltage low",
"symbol": "VSYNC L",
"kind": "electrical",
"unit": "V",
"min": null,
"typ": null,
"max": 0.8,
"conditions": "Io = 5mA",
"source_page": 6,
"source": "datasheet"
},
{
"name": "Leakage current (pin 3)",
"symbol": "Ileak",
"kind": "electrical",
"unit": "µA",
"min": null,
"typ": null,
"max": 1,
"conditions": "VCE = 7V",
"source_page": 7,
"source": "datasheet"
},
{
"name": "Saturation voltage (pin 3)",
"symbol": "Vsat",
"kind": "electrical",
"unit": "V",
"min": null,
"typ": null,
"max": 0.4,
"conditions": "I = 5 mA",
"source_page": 7,
"source": "datasheet"
},
{
"name": "Comparators offset voltage (pins 13, 14, 15)",
"symbol": "Voff",
"kind": "electrical",
"unit": "mV",
"min": null,
"typ": null,
"max": 5,
"conditions": "Vref = 1 V",
"source_page": 7,
"source": "datasheet"
},
{
"name": "Comparator bias current (pins 13, 14, 15)",
"symbol": "Io",
"kind": "electrical",
"unit": "µA",
"min": -100,
"typ": null,
"max": 10,
"conditions": "",
"source_page": 7,
"source": "datasheet"
},
{
"name": "Input reference voltage (pin 15)",
"symbol": "Vref",
"kind": "electrical",
"unit": "V",
"min": 0,
"typ": null,
"max": 3,
"conditions": "",
"source_page": 7,
"source": "datasheet"
},
{
"name": "Clock time",
"symbol": "tCLK",
"kind": "timing",
"unit": "µs",
"min": 0.5,
"typ": null,
"max": null,
"conditions": "",
"source_page": 7,
"source": "datasheet"
},
{
"name": "Set up time",
"symbol": "tS",
"kind": "timing",
"unit": "µs",
"min": 1,
"typ": null,
"max": null,
"conditions": "",
"source_page": 7,
"source": "datasheet"
},
{
"name": "Hold time",
"symbol": "tH",
"kind": "timing",
"unit": "µs",
"min": 4,
"typ": null,
"max": null,
"conditions": "",
"source_page": 7,
"source": "datasheet"
},
{
"name": "Reset time",
"symbol": "tR",
"kind": "timing",
"unit": "µs",
"min": 1,
"typ": null,
"max": null,
"conditions": "",
"source_page": 7,
"source": "datasheet"
},
{
"name": "Reset to clock delay",
"symbol": "tRCLK",
"kind": "timing",
"unit": "µs",
"min": 1,
"typ": null,
"max": null,
"conditions": "",
"source_page": 7,
"source": "datasheet"
}
]
}
},
"variants": [],
"sections": [
"hero",
"viewers",
"readme",
"breadcrumbs",
"info"
],
"discovery_triggers": [
"l297n"
],
"discovery_pitch": "L297N (HGSEMI) 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",
"l297n.kicad_sym",
"l297n.kicad_mod",
"l297n.glb",
"l297n.step",
"l297n.lbr",
"docs/hero.png",
"docs/l297n-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"l297n-hero.glb",
"l297n-hero.overlay.json",
"l297n-etched.glb"
],
"visibility": {
"public": true
}
}