LabWired The easy way to build hardware
board I/O module

STEP/DIR stepper driver

The STEP/DIR stepper driver is a board I/O module in the LabWired part catalog. Its catalog type is a4988. It connects to the MCU over GPIO. The catalog gives a supply range of 3–5.5 V. It has 15 pins. A registered peripheral model runs in the engine: the firmware talks to it over the real bus and gets device-accurate responses.

STEP/DIR stepper driver in LabWired
Rendered by the matching LabWired editor component.

Key facts

CategoryBoard I/O modules
Catalog typea4988
InterfaceGPIO
Supply range3–5.5 V
Pins15
DatasheetAllegro A4988 stepper driver datasheet

What LabWired simulates

What is simulated

Simulated device model

How it was validated

Built from the datasheet

STEP/DIR stepper driver pinout

PinElectrical typeFunction
VDD Power input Supply
GND Power input Supply
STEP Input GPIO
DIR Input GPIO
EN Input GPIO
MS1 Input GPIO
MS2 Input GPIO
MS3 Input GPIO
RESET Input GPIO
SLEEP Input GPIO
VMOT Power input Supply
1A Passive —
1B Passive —
2A Passive —
2B Passive —

How to simulate the STEP/DIR stepper driver in LabWired

  1. Open the Playground at app.labwired.com and place an MCU board.
  2. Add the STEP/DIR stepper driver (catalog type a4988).
  3. Connect VDD, GND and VMOT to the supply and ground of the board. Use a supply inside the catalog range of 3–5.5 V.
  4. Connect STEP, DIR, EN, MS1, MS2, MS3, RESET and SLEEP to free GPIO pins.
  5. Connect 1A, 1B, 2A and 2B as your circuit needs.
  6. Run the firmware. It drives and reads the pins of the part, and the device model responds on those pins.

Related Board I/O modules

All Board I/O modules · All parts

Modelled from Allegro A4988 stepper driver datasheet.