Product Introduction

1/17/2018 FireBeetle Covers-DC Motor & Stepper Driver SKU:DFR0508 - DFRobot Electronic Product Wiki and Tutorial: Arduino and Robot Wiki-DFRobot…
https://www.dfrobot.com/wiki/index.php/FireBeetle_Covers-DC_Motor_%26_Stepper_Driver_SKU:DFR0508#More 6/12
4. Set direction and start to rotate
start(dir) dir=CW: rotate in C.W.(Clockwise) dir=CCW: rotate in anti-clockwise
Stepper Motor Drive
FireBeetle Covers-DC Motor&Stepper Driver can control two-channel two-phase four-wire stepper motors simultaneously. It adopts DC motor interface and control via IIC
interface. The test explains the way demonstrates how to control a two-channel two-phase four-wire stepper motor by Arduino main board.
Hardware Connection
Connect the stepper motor to STEPPER1 and the power supply of motor should be 4~12V, shown as below.
(/wiki/index.php/File:DFR0508_FireBeetle_Covers-DC_Motor%26Stepper_Driver_6.png)
Stepper Motor Drive Wiring Diagram
Sample Code