MIKROE Stepper 6 Click

Item #: ROB-19914
There are no reviews yet Write a review
Price: $58.15 inc GST
    The product is in stock Availability: Discontinued
    Usually ships In (Unavailable - Discontinued Product)

    Stepper 6 Click is the complete integrated bipolar step motor driver solution. It comes with the abundance of features that allow silent operation and optimal working conditions for the connected motor. A specialized integrated driver chip on this Click board™ far exceeds the capabilities of similar, commonly used step motor drivers. It comes in the package which also includes the mikroSDK™ software, and a library with all the functions. The Click board™ comes as a fully tested and approved prototype, making it a reliable device ready to use on the development board. Stepper 6 Click is a perfect solution for any application that requires an efficient and reliable motor driver. It can be used in 3D printers, laser printers, laser engravers, video security cameras, factory automatization, robotics, and other similar applications.

    The DRV8886 step motor driver IC can deliver a reasonably high amount of current to the connected load. This IC uses a set of I/O pins, simplifying the control over the connected step motor. Since the DRV8886 IC offers so many options, an additional port expander IC is used to cover them all, offering the full control over the IC via the SPI interface, with no restrictions.

    The DRV8886 IC also features a full set of protection features: overvoltage, thermal, overcurrent, and undervoltage protection schemes are all present on this IC, along with the fault indication pin. All these features make the Stepper 6 Click a robust and versatile bipolar step motor driving solution. With its integrated current sensing, a microstepping ratio up to 1:16, a non-circular stepping mode for higher torque output, a high efficiency, and a reasonably high current it can deliver, the Stepper 6 Click is a perfect solution for any application that requires an efficient and reliable motor driver. It can be used in 3D printers, laser printers, laser engravers, video security cameras, factory automatization, robotics, and other similar applications.

    Stepper 6 Click is equipped with the DRV8886, a highly integrated bipolar step motor driver with current sensing, from Texas Instruments. This integrated driver offers a simple interface, featuring a set of pins used to control the functions of the step motor. Since the number of pins exceeds the available mikroBUS™ general purpose pins, an additional port expander IC is used, exposing a 2-wire I2C interface for the communication with the host MCU. The port expander IC is the PCA9538, an 8-bit port expander with the I2C interface, an interrupt, and a reset, from NXP.

    The high efficiency of the integrated N-Channel power MOSFET H-Bridges allows a high efficiency to be achieved: Stepper 6 Click can withstand peaks of current up to 3A, while the internal current limiter is set to 1.4 A per bridge. The Click board™ can work with in the range from 8V up to 35V. However, when operated near the upper current and voltage limits, component heating is expected. If the temperature threshold of 150° is reached, a thermal protection will be engaged, while the fault condition will be indicated with the nFAULT pin of the DRV8886 IC. The nFAULT pin is routed to the port expander IC, allowing its state to be read over the I2C interface. The I2C interface bus of the PCA9538 is routed to the appropriate mikroBUS™ pins (SCA, SDL), allowing the host MCU to control it and read states of its pins.

    The PCA9538 is also connected to some other pins: both M0 and M1 pins are routed to this IC, allowing the microstepping configuration over the I2C interface. These two pins are used to set the microstepping size in the range from 1 to 1/6 of a step. The current through the coils is indexed and depends on a position, so the angle of 0° will allow 100% of the current to run through the coil, scaling it down to 0% for the 90°. These current values change with the step position and the microstepping current on an H-Bridge output is a sine function. An additional non-circular half-stepping mode is also available when more torque is required at higher motor RPM. The current in this mode is simply switched from 0% to 100% with no indexed values in between. One of the key features of the DRV8886 IC is the integration of the sensing resistors, which reduces the design complexity.

    The current decay through the coil for the circular microstepping modes is controlled by the DRV8886 IC, which offers three different decaying modes: slow decay, slow-mixed decay, and all mixed decay. The correct decay mode is necessary to prevent loss of the current regulation through the coil which might degrade the efficiency of the stepper motor control. The DECAY pin offers the control over the decay mode, and it is routed to the SMD jumper JP3, allowing it to be either pulled up (to the DVDD) or to the GND. The DRV8886 offers detailed information about the decay modes and how to set this pin for each.

    The maximum current is limited by setting the current through the RREF pin. A DAC converter is used to set the voltage at this pin. The pin is typically used with the resistor connected to the GND, but the Stepper 6 Click uses the MCP4921, a dedicated 12-bit DAC with SPI interface, from Microchip. This way, it is possible to change the maximum current limit by the firmware. The SPI interface of the MCP4921 is routed to the mikroBUS™, allowing the host MCU to take control over the maximum current limit. To find about the current limiting by using the DAC, please visit the DRV8886 datasheet. It offers all the necessary formulas to calculate the required DAC value for a certain current limit. However, the Click board™ comes with the library that contains functions which allow operational parameters of the Click board™ to be forwarded as the simple function arguments.

    The maximum current is additionally scaled down by the TRQ pin, which can have three different states. A logic LOW state on this pin will not scale the current limit, at all. A logic HIGH will scale the current limiting factor down to 50%. If the pin is in the HIGH-Z mode (floating), the current limiting factor will be set to 75%. The current limiting formulas in the DRV8886 datasheet do take into the account the scaling factor set by the TRQ pin. This pin is routed to the port expander IC and is available to be controlled over the I2C interface.

    The STEP, DIR, and EN pins of the DRV8886 are directly routed to the mikroBUS™ pins AN, PWM, and RST, respectively. These pins comprise the basic stepper motor driving interface, typically used on many similar devices: a rising edge on the STEP input pin will advance the internal sequencer (indexer) for one step; the DIR pin sets the direction, while the EN pin enables the output drives. A LOW logic level on this pin disables the H-Bridges at the output, leaving the logic section operational. A rising edge on the STEP input will still advance the internal sequencer, yet the connected motor will not act, as the H-Bridges are disabled.

    Stepper 6 Click has additional SMD jumpers that are used to set up the I2C peripheral address for the PCA9538 port expander (JP1 and JP2), as well as the logic voltage level selection SMD jumper, which allows selecting either 3.3V or 5V, allowing interfacing with a wide range of different MCUs. The motor power supply, as well as the two coils of a bipolar stepper motor (A and B), are connected to the Click board™ via the screw terminal block, according to the labeling on the bottom side of the Click board™, beneath the terminal.


    • Interface: GPIO, I2C, SPI
    • Compatibility: mikroBUS™
    • Dimensions: 42.9 x 25.4mm
    • Input Voltage: 3.3V or 5V
    • External Power Supply Voltage: Min. 8V, Max. 35V
    • Motor RMS Current: 1.4A
    • Step Size (without the interpolation feature): Min. 1 step, Max. 1:16 step

    Note: Power dissipation should be monitored. An additional heat sink might be required for high current operation.