master
Ray a4988: undo the 2026-10-02 re-etch (page has a non-factory author; it should not have been touched) 4c04f28
{
  "schema_version": 1,
  "type": "component",
  "slug": "a4988",
  "title": "A4988",
  "brief": "Allegro microstepping bipolar stepper driver, QFN-28. Up to 2 A/coil, 1/16 step, built-in translator (STEP/DIR). Datasheet-verified.",
  "version": "0.1.0",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "motor-driver",
    "stepper",
    "microstepping",
    "dmos",
    "qfn-28",
    "allegro"
  ],
  "component": {
    "mpn": "A4988",
    "manufacturer": "Allegro MicroSystems",
    "package": "QFN-28",
    "pin_count": 29,
    "category": "Motor Driver",
    "subcategory": "Bipolar stepper motor driver",
    "datasheet": "https://www.allegromicro.com/-/media/files/datasheets/a4988-datasheet.pdf",
    "parts": {
      "symbol": "a4988.kicad_sym",
      "footprint": "a4988.kicad_mod",
      "model_3d": "a4988.glb",
      "lbr": "a4988.lbr"
    },
    "distributor_links": {},
    "pins": [
      {
        "number": "1",
        "name": "OUT2B",
        "type": "output",
        "description": "DMOS Full Bridge 2 Output B. Motor phase 2 output; connects to one terminal of stepper motor coil B. Up to ±2 A at up to 35 V (VBB2)."
      },
      {
        "number": "2",
        "name": "ENABLE",
        "type": "input",
        "description": "Active-low output enable logic input. Logic low enables the DMOS FET outputs; logic high disables all outputs. Translator inputs (STEP, DIR, MSx) remain active regardless of ENABLE."
      },
      {
        "number": "3",
        "name": "GND",
        "type": "power_in",
        "description": "Device ground. Must be tied together externally with pin 18 by connecting to the exposed thermal PAD ground plane."
      },
      {
        "number": "4",
        "name": "CP1",
        "type": "passive",
        "description": "Charge pump capacitor terminal. A 0.1 µF ceramic capacitor is connected between CP1 and CP2 for the high-side gate-drive charge pump."
      },
      {
        "number": "5",
        "name": "CP2",
        "type": "passive",
        "description": "Charge pump capacitor terminal. Companion of CP1; 0.1 µF ceramic capacitor tied to CP1."
      },
      {
        "number": "6",
        "name": "VCP",
        "type": "passive",
        "description": "Charge-pump reservoir capacitor terminal. A 0.1 µF ceramic capacitor is required between VCP and VBB to act as the reservoir for the high-side FET gate drive supply."
      },
      {
        "number": "7",
        "name": "NC",
        "type": "unconnected",
        "description": "No internal connection. Leave floating or tie to ground for layout convenience."
      },
      {
        "number": "8",
        "name": "VREG",
        "type": "power_out",
        "description": "Internal regulator decoupling terminal. Nominal 7 V internally generated supply used to drive the sink-side FETs; decouple with a 0.22 µF ceramic capacitor to ground. Monitored for fault protection."
      },
      {
        "number": "9",
        "name": "MS1",
        "type": "input",
        "description": "Microstep resolution select input 1. Combined with MS2/MS3 selects full, half, quarter, eighth, or sixteenth step. Internal 100 kΩ pull-down."
      },
      {
        "number": "10",
        "name": "MS2",
        "type": "input",
        "description": "Microstep resolution select input 2. Combined with MS1/MS3 to select step size. Internal 50 kΩ pull-down."
      },
      {
        "number": "11",
        "name": "MS3",
        "type": "input",
        "description": "Microstep resolution select input 3. Combined with MS1/MS2 to select step size. Internal 100 kΩ pull-down."
      },
      {
        "number": "12",
        "name": "RESET",
        "type": "input",
        "description": "Active-low reset input. Drives the translator to the predefined Home state and turns off all FET outputs. STEP inputs are ignored until RESET goes high."
      },
      {
        "number": "13",
        "name": "ROSC",
        "type": "passive",
        "description": "Fixed off-time / decay-mode timing terminal. Resistor to GND sets t_OFF ≈ R_OSC/825 µs (with automatic mixed decay). Tied to VDD sets 30 µs off-time and mixed decay; tied to GND sets 30 µs off-time and 100% mixed decay."
      },
      {
        "number": "14",
        "name": "SLEEP",
        "type": "input",
        "description": "Active-low sleep input. Logic low disables output FETs, regulator, and charge pump for low-power standby; logic high enables normal operation (allow 1 ms for charge pump stabilization before first STEP)."
      },
      {
        "number": "15",
        "name": "VDD",
        "type": "power_in",
        "description": "Logic supply input. Operating range 3.0 V to 5.5 V (compatible with 3.3 V and 5 V logic). Decouple with a 0.22 µF ceramic capacitor to GND."
      },
      {
        "number": "16",
        "name": "STEP",
        "type": "input",
        "description": "Step-pulse logic input. Each low-to-high transition advances the translator/motor by one microstep as selected by MSx. Minimum HIGH/LOW pulse width 1 µs; setup/hold to input changes 200 ns."
      },
      {
        "number": "17",
        "name": "REF",
        "type": "input",
        "description": "Gm current-set reference voltage input (V_REF). Sets peak coil current I_TripMAX = V_REF / (8 × R_S). Range 0 V to 4 V (abs max 5.5 V)."
      },
      {
        "number": "18",
        "name": "GND",
        "type": "power_in",
        "description": "Device ground. Must be tied together externally with pin 3 by connecting to the exposed thermal PAD ground plane."
      },
      {
        "number": "19",
        "name": "DIR",
        "type": "input",
        "description": "Direction logic input. Selects rotation direction of the motor; changes take effect on the next STEP rising edge."
      },
      {
        "number": "20",
        "name": "NC",
        "type": "unconnected",
        "description": "No internal connection. Leave floating or tie to ground for layout convenience."
      },
      {
        "number": "21",
        "name": "OUT1B",
        "type": "output",
        "description": "DMOS Full Bridge 1 Output B. Motor phase 1 output; connects to one terminal of stepper motor coil A. Up to ±2 A at up to 35 V (VBB1)."
      },
      {
        "number": "22",
        "name": "VBB1",
        "type": "power_in",
        "description": "Load (motor) supply for Bridge 1. Operating range 8 V to 35 V; requires local bulk decoupling (typically 100 µF near VBB1/VBB2)."
      },
      {
        "number": "23",
        "name": "SENSE1",
        "type": "passive",
        "description": "Bridge 1 current sense resistor terminal. External R_S1 to GND sets phase-1 peak current together with V_REF. Voltage across R_S1 must not exceed 0.5 V (absolute max ±0.5 V)."
      },
      {
        "number": "24",
        "name": "OUT1A",
        "type": "output",
        "description": "DMOS Full Bridge 1 Output A. Motor phase 1 output; connects to the other terminal of stepper motor coil A. Up to ±2 A at up to 35 V (VBB1)."
      },
      {
        "number": "25",
        "name": "NC",
        "type": "unconnected",
        "description": "No internal connection. Leave floating or tie to ground for layout convenience."
      },
      {
        "number": "26",
        "name": "OUT2A",
        "type": "output",
        "description": "DMOS Full Bridge 2 Output A. Motor phase 2 output; connects to the other terminal of stepper motor coil B. Up to ±2 A at up to 35 V (VBB2)."
      },
      {
        "number": "27",
        "name": "SENSE2",
        "type": "passive",
        "description": "Bridge 2 current sense resistor terminal. External R_S2 to GND sets phase-2 peak current together with V_REF. Voltage across R_S2 must not exceed 0.5 V (absolute max ±0.5 V)."
      },
      {
        "number": "28",
        "name": "VBB2",
        "type": "power_in",
        "description": "Load (motor) supply for Bridge 2. Operating range 8 V to 35 V; must be tied to VBB1 at the same rail, sharing the 100 µF bulk decoupling."
      },
      {
        "number": "PAD",
        "name": "PAD",
        "type": "power_in",
        "description": "Exposed thermal pad for enhanced thermal dissipation. Solder to a ground plane; the GND pins (3 and 18) must be tied to this pad."
      }
    ],
    "provenance": {
      "extractor": "ds2sf",
      "datasheet": {
        "url": "https://www.allegromicro.com/-/media/files/datasheets/a4988-datasheet.pdf",
        "pages": 20,
        "sha256": "d1dfba3bb7be2cbf",
        "source_tier": "mfr"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 29,
        "described": 29,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    }
  },
  "metadata": {
    "specs": {
      "Type": "Bipolar stepper motor driver",
      "Output": "2 DMOS full-bridges",
      "Current": "up to 2 A/coil (with heatsink)",
      "Microstepping": "full, 1/2, 1/4, 1/8, 1/16 (MS1-3)",
      "Control": "STEP + DIR translator",
      "Motor supply": "8-35 V",
      "Protection": "current limit + thermal + crossover",
      "Package": "QFN-28 (5x5 mm, exposed pad)"
    }
  },
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "a4988",
    "stepper motor driver",
    "microstepping driver",
    "3d printer stepper",
    "step dir driver"
  ],
  "discovery_pitch": "A4988 microstepping bipolar stepper motor driver (QFN-28) with datasheet-verified pinout, KiCad symbol/footprint/3D, and full provenance.",
  "author": {
    "name": "Ray"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "a4988.kicad_sym",
    "a4988.kicad_mod",
    "a4988.glb",
    "a4988.lbr",
    "docs/hero.png",
    "docs/a4988-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "a4988-etched.step"
  ]
}