← Commit history
Publish 0.1.1
7 files changed
+68−96
README.md+19−19@@ -12,10 +12,10 @@ L297 from STMicroelectronics, in a DIP-20. Pinout and pin descriptions extracted | 2 | GND | power_in | Ground connection. | | 3 | HOME | output | Open collector output that opens the transistor when active to indicate the initial translator state (ABCD = 0101). | | 4 | A | output | Motor phase A drive signal for the power stage. |-| 5 | INH1 | input | Active low inhibit control for the driver stage of phases A and B, also used by the chopper to regulate load current when CONTROL is low. |+| 5 | ~{INH1} | input | Active low inhibit control for the driver stage of phases A and B, also used by the chopper to regulate load current when CONTROL is low. | | 6 | B | output | Motor phase B drive signal for the power stage. | | 7 | C | output | Motor phase C drive signal for the power stage. |-| 8 | INH2 | input | Active low inhibit control for the drive stages of phases C and D, with the same functions as INH1. |+| 8 | ~{INH2} | input | Active low inhibit control for the drive stages of phases C and D, with the same functions as INH1. | | 9 | D | output | Motor phase D drive signal for the power stage. | | 10 | ENABLE | input | Chip enable input; when low, INH1, INH2, A, B, C and D are brought low. | | 11 | CONTROL | input | Control input that selects chopper action: when low the chopper acts on INH1 and INH2, and when high it acts on phase lines ABCD. |@@ -24,10 +24,10 @@ L297 from STMicroelectronics, in a DIP-20. Pinout and pin descriptions extracted | 14 | SENS1 | input | Input for the load current sense voltage from the power stages of phases A and B. | | 15 | Vref | power_in | Reference voltage for the chopper circuit that determines the peak load current, specified over a 0 to 3 V range. | | 16 | OSC | passive | RC network (R to VCC, C to ground) sets the chopper rate with f ≅ 1/0.69RC, and this pin is grounded on all but one device in synchronized configurations. |-| 17 | CW/CCW | input | Clockwise/counterclockwise direction control input that is synchronized internally so direction can change at any time. |-| 18 | CLOCK | input | Step clock input where the motor advances one increment on the rising edge of an active low pulse. |-| 19 | HALF/FULL | input | Half/full step select input; high selects half step operation and low selects full step operation. |-| 20 | RESET | input | Active low reset input that restores the translator to the home position (state 1, ABCD = 0101). |+| 17 | CW/~{CCW} | input | Clockwise/counterclockwise direction control input that is synchronized internally so direction can change at any time. |+| 18 | ~{CLOCK} | input | Step clock input where the motor advances one increment on the rising edge of an active low pulse. |+| 19 | HALF/~{FULL} | input | Half/full step select input; high selects half step operation and low selects full step operation. |+| 20 | ~{RESET} | input | Active low reset input that restores the translator to the home position (state 1, ABCD = 0101). | ## Key specifications @@ -44,20 +44,20 @@ Limits as printed in the datasheet (page.json `metadata.characteristics` carries | Parameter | Symbol | Min | Typ | Max | Unit | Conditions | Page | |---|---|---|---|---|---|---|---|-| Supply voltage (pin 12) | Vs | 4.75 | | 7 | V | | 6 |+| Supply voltage | Vs | 4.75 | | 7 | V | | 6 | | Quiescent supply current (pin 12) | Is | | 50 | 80 | mA | Outputs floating | 6 |-| Input voltage low (pins 11, 17, 18, 19, 20) | Vi | | | 0.6 | V | Low | 6 |-| Input voltage high (pins 11, 17, 18, 19, 20) | Vi | 2 | | | V | High | 6 |+| Input voltage Low (pins 11, 17, 18, 19, 20) | Vi | | | 0.6 | V | Low | 6 |+| Input voltage High (pins 11, 17, 18, 19, 20) | Vi | 2 | | | V | High | 6 | | Input current (pins 11, 17, 18, 19, 20) | Ii | | | 100 | µA | Vi = L | 6 | | Input current (pins 11, 17, 18, 19, 20) | Ii | | | 10 | µA | Vi = H | 6 |-| Enable input voltage low (pin 10) | Ven | | | 1.3 | V | Low | 6 |-| Enable input voltage high (pin 10) | Ven | 2 | | | V | High | 6 |+| Enable input voltage (pin 10) Low | Ven | | | 1.3 | V | Low | 6 |+| Enable input voltage (pin 10) High | Ven | 2 | | | V | High | 6 | | Enable input current (pin 10) | Ien | | | 100 | µA | Ven = L | 6 | | Enable input current (pin 10) | Ien | | | 10 | µA | Ven = H | 6 |-| Phase output voltage low (pins 4, 6, 7, 9) | VOL | | | 0.4 | V | Io = 10mA | 6 |-| Phase output voltage high (pins 4, 6, 7, 9) | VOH | 3.9 | | | V | Io = 5mA | 6 |-| Inhibit output voltage low (pins 5, 8) | Vinh L | | | 0.4 | V | Io = 10mA | 6 |-| Inhibit output voltage high (pins 5, 8) | Vinh H | 3.9 | | | V | Io = 5mA | 6 |+| Phase output voltage (pins 4, 6, 7, 9) VOL | VOL | | | 0.4 | V | Io = 10mA | 6 |+| Phase output voltage (pins 4, 6, 7, 9) VOH | VOH | 3.9 | | | V | Io = 5mA | 6 |+| Inhibit output voltage (pins 5, 8) low | Vinh L | | | 0.4 | V | Io = 10mA | 6 |+| Inhibit output voltage (pins 5, 8) high | Vinh H | 3.9 | | | V | Io = 5mA | 6 | | Sync output voltage high | VSYNC H | 3.3 | | | V | Io = 5mA | 6 | | Sync output voltage low | VSYNC V | | | 0.8 | V | Io = 5mA | 6 | | Leakage current (pin 3) | Ileak | | | 1 | µA | VCE = 7 V | 7 |@@ -70,11 +70,11 @@ Limits as printed in the datasheet (page.json `metadata.characteristics` carries | Hold time | tH | 4 | | | µs | | 7 | | Reset time | tR | 1 | | | µs | | 7 | | Reset to clock delay | tRCLK | 1 | | | µs | | 7 |-| Supply voltage (absolute maximum) | Vs | | | 10 | V | | 1 |-| Input signals (absolute maximum) | Vi | | | 7 | V | | 1 |+| Supply voltage | Vs | | | 10 | V | | 1 |+| Input signals | Vi | | | 7 | V | | 1 | | Total power dissipation | Ptot | | | 1 | W | Tamb = 70°C | 1 | | Storage and junction temperature | Tstg, Tj | -40 | | 150 | °C | | 1 |-| Thermal resistance junction-ambient (DIP20) | Rth-j-amb | | | 80 | °C/W | | 4 |+| Thermal resistance junction-ambient (DIP20) | Rth-j-amb | | | 80 | °C/W | DIP20 package column | 4 | ## CAD (KiCad official) @@ -88,7 +88,7 @@ Limits as printed in the datasheet (page.json `metadata.characteristics` carries Data extracted from the manufacturer datasheet, not a distributor listing: - **Datasheet:** [STMicroelectronics datasheet](https://www.st.com/resource/en/datasheet/l297.pdf) (11 pp, sha256 `49b6f5cd43ebfcb6`, retrieved 2026-11-12, tier: manufacturer)-- **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.+- **Extractor:** `ds2sf` (Claude). Every pin and dimension is cited to a datasheet page; it refuses to fabricate. - **CAD:** KiCad official libraries (CC-BY-SA 4.0). [Datasheet PDF](docs/l297-1-datasheet.pdf)
l297-1-hero.glb⋯ 1 unchanged line ⋯
l297-1-hero.overlay.json+7−7@@ -79,7 +79,7 @@ "footprint": "l297-1.kicad_mod", "footprint_sha256": "d98cb2b932a5a4004d26d787249d6089bcc06f088d1a2d848420cdd489d48c98", "pins": "page.json component.pins",- "pins_sha256": "db5b8124fe28d7f515197566ef368d2653e8cd610c28623dfcec6213c87e7e2d"+ "pins_sha256": "71d008f85aa52a4782e0fc86089de9936b7809e137a5719e30c4467c874bb9e1" }, "generator": "adom-wiki 1.8.22 (component_hero)", "labels": [@@ -121,7 +121,7 @@ }, { "pad": "5",- "text": "INH1",+ "text": "~{INH1}", "x": -0.95, "y": 10.16, "align": "right",@@ -148,7 +148,7 @@ }, { "pad": "8",- "text": "INH2",+ "text": "~{INH2}", "x": -0.95, "y": 17.78, "align": "right",@@ -229,7 +229,7 @@ }, { "pad": "17",- "text": "CW/CCW",+ "text": "CW/~{CCW}", "x": 8.57, "y": 7.62, "align": "left",@@ -238,7 +238,7 @@ }, { "pad": "18",- "text": "CLOCK",+ "text": "~{CLOCK}", "x": 8.57, "y": 5.08, "align": "left",@@ -247,7 +247,7 @@ }, { "pad": "19",- "text": "HALF/FULL",+ "text": "HALF/~{FULL}", "x": 8.57, "y": 2.54, "align": "left",@@ -256,7 +256,7 @@ }, { "pad": "20",- "text": "RESET",+ "text": "~{RESET}", "x": 8.57, "y": 0.0, "align": "left",
l297-1.kicad_sym+6−6@@ -25,7 +25,7 @@ (number "4" (effects (font (size 1.27 1.27)))) ) (pin input line (at -17.78 0.00 0) (length 5.08)- (name "INH1" (effects (font (size 1.27 1.27))))+ (name "~{INH1}" (effects (font (size 1.27 1.27)))) (number "5" (effects (font (size 1.27 1.27)))) ) (pin output line (at -17.78 -2.54 0) (length 5.08)@@ -37,7 +37,7 @@ (number "7" (effects (font (size 1.27 1.27)))) ) (pin input line (at -17.78 -7.62 0) (length 5.08)- (name "INH2" (effects (font (size 1.27 1.27))))+ (name "~{INH2}" (effects (font (size 1.27 1.27)))) (number "8" (effects (font (size 1.27 1.27)))) ) (pin output line (at -17.78 -10.16 0) (length 5.08)@@ -49,19 +49,19 @@ (number "10" (effects (font (size 1.27 1.27)))) ) (pin input line (at 17.78 10.16 180) (length 5.08)- (name "RESET" (effects (font (size 1.27 1.27))))+ (name "~{RESET}" (effects (font (size 1.27 1.27)))) (number "20" (effects (font (size 1.27 1.27)))) ) (pin input line (at 17.78 7.62 180) (length 5.08)- (name "HALF/FULL" (effects (font (size 1.27 1.27))))+ (name "HALF/~{FULL}" (effects (font (size 1.27 1.27)))) (number "19" (effects (font (size 1.27 1.27)))) ) (pin input line (at 17.78 5.08 180) (length 5.08)- (name "CLOCK" (effects (font (size 1.27 1.27))))+ (name "~{CLOCK}" (effects (font (size 1.27 1.27)))) (number "18" (effects (font (size 1.27 1.27)))) ) (pin input line (at 17.78 2.54 180) (length 5.08)- (name "CW/CCW" (effects (font (size 1.27 1.27))))+ (name "CW/~{CCW}" (effects (font (size 1.27 1.27)))) (number "17" (effects (font (size 1.27 1.27)))) ) (pin passive line (at 17.78 0.00 180) (length 5.08)
l297-1.lbr+12−12@@ -113,16 +113,16 @@ <pin name="GND" x="-17.78" y="7.62" length="middle" direction="pwr"/> <pin name="HOME" x="-17.78" y="5.08" length="middle" direction="out"/> <pin name="A" x="-17.78" y="2.54" length="middle" direction="out"/>- <pin name="INH1" x="-17.78" y="0" length="middle" direction="in"/>+ <pin name="!INH1!" x="-17.78" y="0" length="middle" direction="in"/> <pin name="B" x="-17.78" y="-2.54" length="middle" direction="out"/> <pin name="C" x="-17.78" y="-5.08" length="middle" direction="out"/>- <pin name="INH2" x="-17.78" y="-7.62" length="middle" direction="in"/>+ <pin name="!INH2!" x="-17.78" y="-7.62" length="middle" direction="in"/> <pin name="D" x="-17.78" y="-10.16" length="middle" direction="out"/> <pin name="ENABLE" x="-17.78" y="-12.7" length="middle" direction="in"/>- <pin name="RESET" x="17.78" y="10.16" length="middle" direction="in" rot="R180"/>- <pin name="HALF/FULL" x="17.78" y="7.62" length="middle" direction="in" rot="R180"/>- <pin name="CLOCK" x="17.78" y="5.08" length="middle" direction="in" rot="R180"/>- <pin name="CW/CCW" x="17.78" y="2.54" length="middle" direction="in" rot="R180"/>+ <pin name="!RESET!" x="17.78" y="10.16" length="middle" direction="in" rot="R180"/>+ <pin name="HALF/!FULL!" x="17.78" y="7.62" length="middle" direction="in" rot="R180"/>+ <pin name="!CLOCK!" x="17.78" y="5.08" length="middle" direction="in" rot="R180"/>+ <pin name="CW/!CCW!" x="17.78" y="2.54" length="middle" direction="in" rot="R180"/> <pin name="OSC" x="17.78" y="0" length="middle" direction="pas" rot="R180"/> <pin name="Vref" x="17.78" y="-2.54" length="middle" direction="pwr" rot="R180"/> <pin name="SENS1" x="17.78" y="-5.08" length="middle" direction="in" rot="R180"/>@@ -144,16 +144,16 @@ <connect gate="G$1" pin="GND" pad="2"/> <connect gate="G$1" pin="HOME" pad="3"/> <connect gate="G$1" pin="A" pad="4"/>- <connect gate="G$1" pin="INH1" pad="5"/>+ <connect gate="G$1" pin="!INH1!" pad="5"/> <connect gate="G$1" pin="B" pad="6"/> <connect gate="G$1" pin="C" pad="7"/>- <connect gate="G$1" pin="INH2" pad="8"/>+ <connect gate="G$1" pin="!INH2!" pad="8"/> <connect gate="G$1" pin="D" pad="9"/> <connect gate="G$1" pin="ENABLE" pad="10"/>- <connect gate="G$1" pin="RESET" pad="20"/>- <connect gate="G$1" pin="HALF/FULL" pad="19"/>- <connect gate="G$1" pin="CLOCK" pad="18"/>- <connect gate="G$1" pin="CW/CCW" pad="17"/>+ <connect gate="G$1" pin="!RESET!" pad="20"/>+ <connect gate="G$1" pin="HALF/!FULL!" pad="19"/>+ <connect gate="G$1" pin="!CLOCK!" pad="18"/>+ <connect gate="G$1" pin="CW/!CCW!" pad="17"/> <connect gate="G$1" pin="OSC" pad="16"/> <connect gate="G$1" pin="Vref" pad="15"/> <connect gate="G$1" pin="SENS1" pad="14"/>
package.json+11−26@@ -1,8 +1,8 @@ { "slug": "l297-1",- "version": "0.1.0",+ "version": "0.1.1", "type": "component",- "description": "STMicroelectronics Stepper Motor Driver, DIP-20. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",+ "description": "STMicroelectronics Stepper Motor Driver, DIP-20. Pinout settled in review by an AI reviewer against the manufacturer's datasheet, KiCad symbol/footprint/3D.", "tags": [ "component", "motor driver ics",@@ -54,7 +54,7 @@ "mouser": "511-L297" }, "distributor_check": {- "checked_at": "2026-11-12T03:46:18Z",+ "checked_at": "2026-11-12T03:50:23Z", "source": "Component Ocean /api/assign-pns", "digikey": { "pn": "497-1394-5-ND",@@ -93,7 +93,7 @@ }, { "number": "5",- "name": "INH1",+ "name": "~{INH1}", "type": "input", "description": "Active low inhibit control for the driver stage of phases A and B, also used by the chopper to regulate load current when CONTROL is low." },@@ -111,7 +111,7 @@ }, { "number": "8",- "name": "INH2",+ "name": "~{INH2}", "type": "input", "description": "Active low inhibit control for the drive stages of phases C and D, with the same functions as INH1." },@@ -165,46 +165,31 @@ }, { "number": "17",- "name": "CW/CCW",+ "name": "CW/~{CCW}", "type": "input", "description": "Clockwise/counterclockwise direction control input that is synchronized internally so direction can change at any time." }, { "number": "18",- "name": "CLOCK",+ "name": "~{CLOCK}", "type": "input", "description": "Step clock input where the motor advances one increment on the rising edge of an active low pulse." }, { "number": "19",- "name": "HALF/FULL",+ "name": "HALF/~{FULL}", "type": "input", "description": "Half/full step select input; high selects half step operation and low selects full step operation." }, { "number": "20",- "name": "RESET",+ "name": "~{RESET}", "type": "input", "description": "Active low reset input that restores the translator to the home position (state 1, ABCD = 0101)." } ], "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 describes SYNC as a chopper oscillator output but also says an external clock may be i; HOME is described as an open collector output; the schema has no open-collector type, so it is mappe; OSC is an RC timing network node rather than a clear pin direction; mapped to passive as a judgment "- ],- "pages_sent": 11,- "cost_usd": 0.0192,- "at": "2026-11-12T03:46:10"- },+ "extractor": "ds2sf", "datasheet": { "url": "https://www.st.com/resource/en/datasheet/l297.pdf", "pages": 11,@@ -258,7 +243,7 @@ "zmin_mm": -3.5, "centre_offset_mm": 0.0, "footprint_binding": "identity",- "sha256": "d2a8284af05bc895b6fa69bb61e1600adcb56492d8769b513e9d7208c01da4e4",+ "sha256": "07f27c30203b506d62301c40c4a18123da5b3f664a7a4de60ffb05fe4f29856c", "checked": "2026-11-12", "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)" }
page.json+13−26@@ -4,7 +4,7 @@ "slug": "l297-1", "title": "L297/1", "brief": "STMicroelectronics Stepper Motor Driver, DIP-20. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",- "version": "0.1.0",+ "version": "0.1.1", "license": "CC-BY-SA-4.0", "tags": [ "component",@@ -36,7 +36,7 @@ "mouser": "511-L297" }, "distributor_check": {- "checked_at": "2026-11-12T03:46:18Z",+ "checked_at": "2026-11-12T03:50:23Z", "source": "Component Ocean /api/assign-pns", "digikey": { "pn": "497-1394-5-ND",@@ -75,7 +75,7 @@ }, { "number": "5",- "name": "INH1",+ "name": "~{INH1}", "type": "input", "description": "Active low inhibit control for the driver stage of phases A and B, also used by the chopper to regulate load current when CONTROL is low." },@@ -93,7 +93,7 @@ }, { "number": "8",- "name": "INH2",+ "name": "~{INH2}", "type": "input", "description": "Active low inhibit control for the drive stages of phases C and D, with the same functions as INH1." },@@ -147,46 +147,31 @@ }, { "number": "17",- "name": "CW/CCW",+ "name": "CW/~{CCW}", "type": "input", "description": "Clockwise/counterclockwise direction control input that is synchronized internally so direction can change at any time." }, { "number": "18",- "name": "CLOCK",+ "name": "~{CLOCK}", "type": "input", "description": "Step clock input where the motor advances one increment on the rising edge of an active low pulse." }, { "number": "19",- "name": "HALF/FULL",+ "name": "HALF/~{FULL}", "type": "input", "description": "Half/full step select input; high selects half step operation and low selects full step operation." }, { "number": "20",- "name": "RESET",+ "name": "~{RESET}", "type": "input", "description": "Active low reset input that restores the translator to the home position (state 1, ABCD = 0101)." } ], "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 describes SYNC as a chopper oscillator output but also says an external clock may be i; HOME is described as an open collector output; the schema has no open-collector type, so it is mappe; OSC is an RC timing network node rather than a clear pin direction; mapped to passive as a judgment "- ],- "pages_sent": 11,- "cost_usd": 0.0192,- "at": "2026-11-12T03:46:10"- },+ "extractor": "ds2sf", "datasheet": { "url": "https://www.st.com/resource/en/datasheet/l297.pdf", "pages": 11,@@ -240,7 +225,7 @@ "zmin_mm": -3.5, "centre_offset_mm": 0, "footprint_binding": "identity",- "sha256": "d2a8284af05bc895b6fa69bb61e1600adcb56492d8769b513e9d7208c01da4e4",+ "sha256": "07f27c30203b506d62301c40c4a18123da5b3f664a7a4de60ffb05fe4f29856c", "checked": "2026-11-12", "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)" }@@ -713,5 +698,7 @@ ], "visibility": { "public": true- }+ },+ "description": "STMicroelectronics Stepper Motor Driver, DIP-20. Pinout settled in review by an AI reviewer against the manufacturer's datasheet, KiCad symbol/footprint/3D.",+ "org": "adom" }