Feature

●A4988 Driver CNC Shield Expansion Board V3 Engraver Shield 3D Printer CNC Shield V3


Description

A, Product introduction

The expansion board can be used as a carving machine,3DPrinter driver expansion board, a total ofFourThe slot of the drive module of the stepper motor.Note that Moto Sako does not containA4988Stepper motor drive module, need to be in the shop to buyCan be drivenFourThe road does not enter the motor, and each step motor is only requiredTwoindividualIOMouth, that is to say,SixindividualIOMouth can be a very good managementThreeStepper motor, the use of very convenient, farewell to the traditional stepper motor cumbersome.


Two, UNOAnd moduleIOIntroduction to the correspondence of the mouth

Stepper motor basic control needs of the pin, the other pin is in the engraving machine, or3DThe printer when it is used, here we do not make detailed,IOCorresponding as above.

UNO----------------------Expansion board

8 ------------------------ (ENStepper motor driver to enable the end, the low level effective)

7 and Z.DIR (ZAxis direction control)

6 and Y.DIR (YAxis direction control)

5 and X.DIR (XAxis direction control)

4 conducting Z.STEP (ZAxis step control)

3 conducting Y.STEP (YAxis step control)

2 conducting X.STEP (XAxis step control)

/ /The following is a simple stepper motor control procedures,

#define EN 8 / /Stepping motor to the end, the low level effective

#define X_DIR 5 //Xaxis Stepper motor direction control

#define Y_DIR 6 //yaxis Stepper motor direction control

#define Z_DIR 7 //zaxis Stepper motor direction control

#define X_STP 2 //xaxis Step control

#define Y_STP 3 //yaxis Step control

#define Z_STP 4 //zaxis Step control

*

/ /Function:StepFunction: control the direction of the stepper motor, step by step.

/ /Parameters:DirDirection controlDirPin,Corresponding to the stepper motorDIRPin,StepperPinCorresponding to the stepper motorSte