Simulated · Motors

A4988 stepper driver

A4988 stepper driver: STEP and DIR. In Argynix Lab it is fully simulated: wire it to an Arduino, ESP32, STM32 or Raspberry Pi Pico in your browser and run your code against it.

Each rising edge of STEP is a step in the direction DIR says, at the resolution MS1-MS3 set (open: full steps; all high: 1/16), while EN is low and SLP and RST are high (left open, they are taken as tied together and high, as they usually are). A stepper wired to 1A, 1B, 2A and 2B turns by that much. VMOT is not needed in the Lab; current limits and stalls are not simulated.

A4988 stepper driver in Argynix Lab

Pins

  • EN
  • MS1
  • MS2
  • MS3
  • RST
  • SLP
  • STEP
  • DIR
  • VMOT (motor supply)
  • GND (motor)
  • 2B
  • 2A
  • 1A
  • 1B
  • VDD (logic)
  • GND