Feature

●Other applicable scenarios: electrical curtains, printers, video conferences, educational domes, game consoles, office automation, home automation, child seat, medical pump that requires silent or low-jitter equipment and equipment
●It is the total number of four slots and can drive four A4988 stepping motors
●This expansion board as a driver expansion board can be used for engraving machines, 3D printers
●In other words, 6 IO ports successfully manage three stepping motors. Very convenient to use
●Each road stepping motor requires only two IO ports

[One Size Red]





Description

Stepper Motor Noise Reduction: Easy to hear stepper sound reduction.
Note: This version does not include the A4988 module and the UNO R3 module!

Package includes:

1 x 3D printer expansion board

Pin support IO:

----------------------UNO for expansion board
8------------------------EN(Stepper Motor Drive Binable, Active Low)
7----------------------- Z.DIR (ZAXY direction control)
6----------------------- Y.DIR (Controlled by the axis direction)
5----------------------- X.DIR (xaxis control)
4---------------------- Z.STEP (ZAXY Axis Stepper Control)
3---------------------- Y.STEP (YGamaku Axis Stepper Control)
2---------------------- X.STEP (xaxis stepper control)

Following is a simple stepping motor control procedure,

#, defines EN 8 / / Stepper Motor Neutral Active Low
#X_DIR 5 / / x Axis Stepper Motor Direction Control
#Y_DIR 6 / / Y🍀Axis Stepping Motor Direction Control
#Z_DIR 7 / / Z axis stepping motor direction control
#X_STP 2 / / x defines stepper control and axis
#Defined Y_STP 3 / / y axis for stepper control
#Define Z_STP 4 / / Z - Axis Stepper Control
/ *
/ / Function: Step Function: Stepping motor, control direction of step count.
/ / Parameter: DIR direction control, dirPin supports stepperPin stepper motor "step" pins, no return value step number and stepper motor DIR pins.

* /
Invalid Steps (Boole DIR, dirPin Bytes, StepperPin Bytes, Int Step)
{
digitalWrite (dirPin,DIR)
Delay (50)
(Because of the int model, I = 0; I digitalWrite(stepperPin,HIGH);
delayMicroseconds (800)
digitalWrite (stepperPin,LOW)
delayMicroseconds (800)
}
}
VOID SETUP () {/ / The stepper motor used for IO pins 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 (fake, X_DIR, X_STP, 200) The / / X axis motor is reversed to 1 ring, 200 steps is a circle.
Step (fake, Y_DIR, Y_STP, 200) Reverse the / / Y Axis Motor 1 Ring and 200 steps are a circle.
Step (fake, Z_DIR, Z_STP, 200) The step of the / / Z axis motor 200 is a circle, which reverses one ring.
Delay (1000);
Step (True, X_DIR, X_STP, 200) / X axis motor, 1 round forward and 200 steps are circle.
Step (True, Y_DIR, Y_STP, 200) Forward//Y-axis motor 1 circumference, 200 steps are circle.
Step (True, Z_DIR, Z_STP, 200) Forward//Z axis motor 1 circumference, 200 steps are circle.
Delay (1000);
}

Note: When you insert the A4988 module, you must be careful not to insert the opposite direction. Stepping motor wiring as follows:
Figure 2A,