• 3d Printer Kit For Arduino With UNO R3 Board + CNC Shield V3 + 4PCS A4988 + 4PCS Heatsink 3 D Printer Accessory Part DIY

3d Printer Kit For Arduino With UNO R3 Board + CNC Shield V3 + 4PCS A4988 + 4PCS Heatsink 3 D Printer Accessory Part DIY

stars, based on ( 0 ) reviews
FREE SHIPPING Over $20 for All orders.
$9.87now [ 1 piece / Lot ]
Quantity Price
1+ $9.87
8974 items available
Introduction
This kit is for Arduino including UNO R3 + CNC shield V3 + 4 A4988 3D printer laser engraving machine Suite
 
Shipping List
  • UNO R3: 1PCS
  • CNC shield V3: 1PCS
  • A4988 with heat sink: 4 PCS  (the store is four A4988, not three)
  • BS connection line: 1PCS
An introduction to the corresponding relationship between UNO and module IO
 
The pins needed for basic control of stepper motor are used when other pins are used in engraving machines or 3D printers. Here we do not elaborate, IO corresponds to above.
8 ------------------------ (EN stepper motor drive enable, active low)
7 and Z.DIR (Z axis direction)
6 and Y.DIR (Y axis direction)
5 and X.DIR (X axis direction)
4 conducting Z.STEP (Z axis stepping control)
3 conducting Y.STEP (Y axis stepping control)
2 conducting X.STEP (X axis stepping control)
"Here is a simple stepper motor control program,
#define EN / / 8 stepping motor enable, active low
Direction control of #define X_DIR 5 //X axis stepping motor
Direction control of #define Y_DIR 6 //y axis stepping motor
Direction control of #define Z_DIR 7 //z axis stepping motor
#define X_STP 2 //x axis step control
#define Y_STP 3 //y axis step control
#define Z_STP 4 //z axis step control
*
/ / function: step function: stepper motor control direction, the number of steps.
Parameters: dir / / dirPin corresponding direction control, stepper motor DIR pins, stepperPin corresponding stepper motor step pins, steps step steps
/ / no return value
* /
Void step (Boolean dir, byte dirPin, byte stepperPin, int steps)
{
DigitalWrite (dirPin, DIR);
Delay (50);
For (int i = 0; I < steps; i++) {
DigitalWrite (stepperPin, HIGH);
DelayMicroseconds (800);
DigitalWrite (stepperPin, LOW);
DelayMicroseconds (800);
}
}
Void (setup) {// stepper motor will be 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); the //X axis motor reverses 1 cycles and the 200 step is one circle
Step (false, Y_DIR, Y_STP, 200); the //y axis motor reverses 1 cycles and the 200 step is one circle
Step (false, Z_DIR, Z_STP, 200); the //z axis motor reverses 1 cycles and the 200 step is one circle
Delay (1000);
Step (true, X_DIR, X_STP, 200); the //X axis motor is turning 1 laps, and the 200 step is one circle.
Step (true, Y_DIR, Y_STP, 200); the //y axis motor is turning 1 laps, and the 200 step is one circle.
Step (true, Z_DIR, Z_STP, 200); the //z axis motor is turning 1 laps, and the 200 step is one circle.
Delay (1000);
}
Experimental phenomenon: the step motor reverses one circle, pause for 1 second, and then passes a circle, so cycle.
It is worth noting that when the A4988 module is inserted, pay attention not to insert the reverse, the step motor connection mode is:
2A, 2B is a group of (red, green), 1A, and 1B as a group (blue, yellow) want to change direction, change the location of one of the groups, such as 2A, and 2B exchange.

 

3dprinter

 

Use:
Four-wheel Drive Attributes:
Assemblage
RC Parts & Accs:
Connectors/Wiring
For Vehicle Type:
Cars
Upgrade Parts/Accessories:
Adapter
Size:
other
Remote Control Peripherals/Devices:
Receivers
Tool Supplies:
Cutting
Model Number:
other
Brand Name:
Technical parameters:
Value 2
Material:
Metal
Recent Reviews
+