Sell New cnc shield v3 engraving machine 3D Printer A4988 driver expansion board for Arduino best price
5
2
ratings
3
sold
₱99
Ships from | Mainland China |
---|---|
colour | 1PCS |
Product Description
II. UNOAnd moduleIOCorrespondence between the introduction port
The basic needs of the stepper motor control other pins are in the engraving machine, or3DWhen the printer was used, here we do not make Detailed,IOIt corresponds to the above figure.
Expansion board UNO ----------------------
8 ------------------------ EN (stepper motor drive 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,
#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 stepper motor direction, the number of steps.
// Parameters: dir direction control, dirPin DIR pin corresponding to the stepper motor, stepperPin step pin corresponding to the stepper motor, stepping a few steps steps
// No return value
* /
void step (boolean dir, byte dirPin, byte stepperPin, int steps)
【
digitalWrite (dirPin, dir);
delay (50);
for (int i = 0; i
digitalWrite (stepperPin, HIGH);
delayMicroseconds (800);
digitalWrite (stepperPin, LOW);
delayMicroseconds (800);
】
】
void setup () 【// the stepping motor used in the IO pin is set to 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);
】
void loop () 【
step (false, X_DIR, X_STP, 200); // X axis motor reversal lap, 200 steps for the circle
step (false, Y_DIR, Y_STP, 200); // y-axis motor reversal lap, 200 steps for the circle
step (false, Z_DIR, Z_STP, 200); // z-axis motor reversal lap, 200 steps for the circle
delay (1000);
step (true, X_DIR, X_STP, 200); // X-axis motor is transferred lap, 200 steps to circle
step (true, Y_DIR, Y_STP, 200); // y-axis motor is transferred lap, 200 steps to circle
step (true, Z_DIR, Z_STP, 200); // z-axis motor is transferred lap, 200 steps to circle
delay (1000);
Compare
![New Cnc Shield V3 Engraving Machine / 3D Printer / + 4pcs A4988 Driver Expansion Board](https://phshop.nghiatu.com/images/ph/4c85892cdc5dd671a43b2beaee8fb53d-small.jpg)
New Cnc Shield V3 Engraving Machine / 3D Printer / + 4pcs A4988 Driver Expansion Board
5
2
ratings
1
sold
₱287
![CNC Shield V3/CNC Shield V4 Engraving Machine / 3D Printer / A4988 Driver Expansion Board for arduino Diy Kit](https://phshop.nghiatu.com/images/ph/81042f0d5a4a92e25dc7e5b03aba0cdd-small.jpg)
CNC Shield V3/CNC Shield V4 Engraving Machine / 3D Printer / A4988 Driver Expansion Board for arduino Diy Kit
0
ratings
₱84
![cnc shield v3 engraving machine 3D Printer A4988 driver expansion board for Arduino Stepper Motor He](https://phshop.nghiatu.com/images/ph/26fe9c85c4f0634389dbefd7c70d4b5b-small.jpg)
cnc shield v3 engraving machine 3D Printer A4988 driver expansion board for Arduino Stepper Motor He
5
2
ratings
1
sold
₱106
![1Set New cnc shield v3 engraving machine / 3D Printer / + 4pcs A4988 driver expansion board](https://phshop.nghiatu.com/images/ph/9bceada5d35d15fd6a31700b1bab77ac-small.jpg)
1Set New cnc shield v3 engraving machine / 3D Printer / + 4pcs A4988 driver expansion board
0
ratings
2
sold
₱300
![✗▫1PCS cnc shield v3 engraving machine / 3D Printer / A4988 driver expansion board](https://phshop.nghiatu.com/images/ph/4edd270a10166b640d1285229cdf1d39-small.jpg)
✗▫1PCS cnc shield v3 engraving machine / 3D Printer / A4988 driver expansion board
0
ratings
₱396
![cnc shield v3 engraving machine 3D Printer+ 4pcs A4988 driver expansion board for Arduino + UNO R3 w](https://phshop.nghiatu.com/images/ph/fd158bb1634a53fb036771f1ca69fb3a-small.jpg)
cnc shield v3 engraving machine 3D Printer+ 4pcs A4988 driver expansion board for Arduino + UNO R3 w
4
12
ratings
16
sold
₱496
![CNC Shield V3 Engraving Machine 3D Printe+ 4pcs DRV8825 Or A4988 Driver Expansion Board For Arduino](https://phshop.nghiatu.com/images/ph/bdaa143e417c6df7cdfa8a7e95c3e208-small.jpg)
CNC Shield V3 Engraving Machine 3D Printe+ 4pcs DRV8825 Or A4988 Driver Expansion Board For Arduino
0
ratings
₱1,607
![Ready Stock New CNC Shield V3 Engraving Machine / 3D Printer / + 4 Pcs A4988 Driver Expansion Board](https://phshop.nghiatu.com/images/ph/205540215272d6c4a8a0d6ddeb022d29-small.jpg)
Ready Stock New CNC Shield V3 Engraving Machine / 3D Printer / + 4 Pcs A4988 Driver Expansion Board
0
ratings
₱1,033
![New cnc shield v3 engraving machine / + 4pcs A4988 driver expansion board forarduino](https://phshop.nghiatu.com/images/ph/fc1c92511ddd3324812b85d6eac3eb14-small.jpg)
New cnc shield v3 engraving machine / + 4pcs A4988 driver expansion board forarduino
4.8
10
ratings
15
sold
₱288
![✧New cnc shield v3 engraving machine / + 4pcs A4988 driver expansion board forarduino](https://phshop.nghiatu.com/images/ph/932eeb7af6ae2a093f9544b2f19f4fe6-small.jpg)
✧New cnc shield v3 engraving machine / + 4pcs A4988 driver expansion board forarduino
0
ratings
₱600