Support: [email protected]
More Views

cnc shield v3 engraving machine 3D printer A4988 expansion board driver board

CD1214165831

Available

Quick Overview

Seller Name : 3D World
Best Quality Wholesale Price
Rs189.00
Cash-On-Delivery: Not Available for this product

OR

Details

Product Details

 

one, product description

The expansion board can be used as engraving machine,3D Printer drivers and other expansion boards, a total of 4 Road stepper motor driver module slot, Note that this board is not includedA4988 Stepper motor driver module, you can purchase another in the shop Can drive4 The road is not stepping motor, and each channel stepper motor only needs 2 A IO Mouth, i.e., 6 A IO Mouth can be a good management 3 A stepping motor, very convenient, bid farewell to the traditional stepper motor operation is complicated.

 

 

two,UNO And module IO Correspondence between the introduction port

 

 

Basic stepper motor control needs of other pins in the engraving machine, or3D When the printer was used, here we do not explain, IO It corresponds to the above figure.

Arduino compatible UNO ---------------------- 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)

// Here is a simple stepper motor control procedures,

# DefineEN8 // stepper motor enable, active low

# DefineX_DIR5 // X-axis stepper motor control direction

# DefineY_DIR6 // y-axis stepper motor control direction

# DefineZ_DIR7 // z-axis stepper motor control direction

# DefineX_STP2 // x-axis stepper control

# DefineY_STP3 // y-axis stepper control

# DefineZ_STP4 // z-axis stepper control

/ *

// Function: step function: to control the direction of the stepping motor, the number of steps.

// Parameters: dir direction control, dirPin the corresponding stepper motor DIR pins, stepperPin stepper motor step corresponding to the pin, the number of steps of the stepper steps

// No return value

* /

voidstep (booleandir, bytedirPin, bytestepperPin, intsteps)

(

digitalWrite (dirPin, dir);

delay (50);

for (inti = 0; isteps; i ++) (

digitalWrite (stepperPin, HIGH);

delayMicroseconds (800);

digitalWrite (stepperPin, LOW);

delayMicroseconds (800);

)

)

voidsetup () (// stepping motor used in IO pin as an output

pinMode (X_DIR, OUTPUT); pinMode (X_STP, OUTPUT);

pinMode (Y_DIR, OUTPUT); pinMode (Y_STP, OUTPUT);

pinMode (Z_DIR, OUTPUT); pinMode (Z_STP, OUTPUT);

pinMode (EN, OUTPUT);

digitalWrite (EN, LOW);

)

voidloop () (

step (false, X_DIR, X_STP, 200); // X axis motor reversal circle 1, 200 steps to circle

step (false, Y_DIR, Y_STP, 200); // y-axis motor reversal circle 1, 200 steps to circle

step (false, Z_DIR, Z_STP, 200); // z-axis motor reversal circle 1, 200 steps to circle

delay (1000);

step (true, X_DIR, X_STP, 200); // X-axis motor is rotated one revolution around 200 steps to

step (true, Y_DIR, Y_STP, 200); // y-axis motor is rotated one revolution around 200 steps to

step (true, Z_DIR, Z_STP, 200); // z-axis motor is rotated one revolution around 200 steps to

delay (1000);

)

 

Experimental phenomena: stepper motor reversal lap, pause one second, and then Story circle, and so on.

It is worth noting: a patch A4988 module when careful not inserted backwards, the stepper motor wiring is:

2A, 2B as a group Red, green, , 1A, 1B as a group Blue, yellow Want to change direction, change the location to which a group, such as 2A, exchange and 2B.

 

No , there is a problem will not be returned! !



Related Images









Additional Information

SKU CD1214165831
Cash on Delivery No

Product Tags

Use spaces to separate tags. Use single quotes (') for phrases.

Don't Miss Out

Stay up-to-date with the latest news, hottest trends and new arrivals direct to your inbox