This expansion board as a driver expansion board, can be used for engraving machines, 3D printers.
It is a total of four slots, can drive four A4988 stepper motor.Each road stepper motors only need two IO ports.In other words, six IO ports can be well managed three stepper motors.Very convenient to use.
UNO for module IO port correspondence introduction.
Note:This version is not included the A4988 module and UNO R3 module!
1 x 3D Printer Expansion Board
IO corresponding pins
UNO for ———————- expansion board
8 ———————— EN ( stepper motor driver enable , active low )
7 ———————– Z.DIR (Z -axis direction control )
6 ———————– Y.DIR (Y -axis direction control )
5 ———————– X.DIR (X -axis direction control )
4 ———————- Z.STEP (Z -axis stepper control )
3 ———————- Y.STEP (Y -axis stepper control )
2 ———————- X.STEP (X -axis stepper control )
The following is a simple stepper motor control procedures,
define EN 8 / / stepper motor enable , active low
define X_DIR 5 / / X -axis stepper motor direction control
define Y_DIR 6 / / y -axis stepper motor direction control
define Z_DIR 7 / / z axis stepper motor direction control
define X_STP 2 / / x -axis stepper control
define Y_STP 3 / / y -axis stepper control
define Z_STP 4 / / z -axis stepper control
/ / Function:step .function:to control the direction of the stepper motor , the number of steps .
/ / Parameters:dir direction control , dirPin corresponding stepper motor DIR pin , stepperPin corresponding stepper motor inch step inch pin , Step number of step of no return value.
void step (boolean dir, byte dirPin, byte stepperPin, int steps)
void setup ()
void loop ()
Note:When inserting the A4988 module, must be careful not to insert opposite.Stepper motor wiring as follows
2A, 2B is a group (red, green), 1A, 1B is a group (blue, yellow), if want to change direction, can be change the position of one group , for example 2A, 2B mutually exchanged.
CNC Shield V3 3D Printer Expansion Board
Shipping:Standard Shipping about 10-25 business days
Only logged in customers who have purchased this product may leave a review.