main
Ray Publish 0.1.0 62a7818 11d ago
{
  "slug": "l297n",
  "version": "0.1.0",
  "type": "component",
  "description": "HGSEMI Stepper Motor Driver, DIP-20. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "motor driver ics",
    "l297n",
    "factory-2.0.0",
    "extractor-text"
  ],
  "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"
  ],
  "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.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.0,
        "footprint_binding": "identity",
        "sha256": "96bf26d11cd5fa2979509248e420f77cf7d3b1c10cde28e9f353c2f0e9a78085",
        "checked": "2026-10-15",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}