It's Cyber Monday all week long! Use promo code BFCM2023 at checkout for 15% off SparkFun Original Products under $200. Some exceptions apply. Shop SparkFun Originals.

MIKROE Stepper 2 Click

Stepper 2 Click is a complete solution for driving bipolar stepper motors with full/half and micro-steps. It features the A4988 IC from Allegro Microsystems with DMOS low RDSON drivers on its outputs, which ensure high efficiency and reliable operation of the internal H-Bridges. This IC has the integrated translator section, used to simplify the control: using simple step control inputs from the host MCU, the stepper motor can be driven in both directions, with the predetermined step sizes. In addition, the output current is regulated allowing for noiseless operation of the stepper motor, with no resonance and ringing typically observed at unregulated stepper driver designs.

Additional features of the Stepper Click include under-voltage, shoot-through, short circuit, overcurrent and thermal protection, so the Click board™ can operate reliably. With its input voltage range up to 35V, it can drive a wide range of stepper motors with up to 2A max. Due to simplicity of the step motor control, as well as the selection of various stepping modes offered by this Click board™, it is a perfect solution for building various applications that require precise and reliable stepper motor control, such as the movement control of beds, heads, and assemblies of various CNC plotting, milling and 3D printer designs.

Stepper Click uses the A4988, a micro-stepping driver IC with a translator and overcurrent protection, from Allegro Microsystems. This is a highly integrated IC, which offers a very simple bipolar stepper motor control interface, thanks to the integrated translator section. This section controls the output drivers, providing smooth action of the stepper motor. By controlling the current intensity and its decay throughout the rotation cycle, a constant torque is achieved for every position. The current regulator uses an internal comparator, DA converter (DAC), and external sensing resistor. The current is limited by the sensing resistor to about 1.6A (for a reference voltage of 3.3V). Absolute current limit on this IC is 2.1A, after which the overcurrent protection is activated.

A LOW to HIGH transition on the STEP pin of the A4988 IC will perform one rotational step. The direction of the rotation is controlled by the logic state on the DIR pin (routed to the mikroBUS™ INT pin, labeled as DIR). The step size is determined by three pins: MS1, M2, and MS3. It is possible to work with five-movement step sizes, ranging from full step size up to sixteenth step size. MS1, MS2, and MS3 pins are routed to the SMD jumpers labeled as STEP MODE (J1, J2, and J3), allowing step size to be selected by moving each of them according to the truth table below.

This device supports the Sleep mode, which is activated by a LOW logic level on the SLEEP pin. This will power down the unused sections of the A4988 IC, reducing power consumption to a minimum. After the wake-up event (logic HIGH on the SLEEP pin), at least 1ms of delay is required until the charge pump capacitors are recharged, allowing normal operation of the output stage drivers.

The #ENABLE pin allows the host MCU to enable or disable the output stage MOSFETs of the A4988 IC. Asserting this pin to a LOW logic level enables the output stage. The #RESET pin is used to set DACs and the phase current polarity to the initial Home state. The #ENABLE pin is routed to the AN (labeled as EN), while the #RESET pin is routed to the RST pin of the mikroBUS™, allowing the host MCU to control the IC via these pins.

The Click board™ is equipped with the input and output screw terminals. The terminal labeled as CN1 on the schematic is used to connect the external power supply, which should stay in the range from 8V to 35V. The stepper motor can be connected via the CN2 and CN3 screw terminals, with their input terminals labeled as 1A, 1B, and 2A, 2B. The logic section and the reference voltage pin of the IC are powered via the 3.3V mikroBUS™ rail.

  • Interface: GPIO
  • Compatibility: mikroBUS™
  • Dimensions: 42.9 x 25.4mm
  • Input Voltage: 3.3V
  • External Power Supply Voltage: Min. 8V, Max. 35V
  • Current Limit: 1.6 A
  • Step Size: Min. 1 step, Max. 1/16 step


Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

Customer Reviews

No reviews yet.