Bảng Mạch Mở Rộng Cnc Shield V3 Cho Máy In 3d / A4988


₫ 30.734

Sản phẩm Bảng Mạch Mở Rộng Cnc Shield V3 Cho Máy In 3d / A4988 đang được mở bán với mức giá siêu tốt khi mua online, giao hàng online trên toàn quốc với chi phí tiết kiệm nhất,0 đã được bán ra kể từ lúc chào bán lần cuối cùng.Trên đây là số liệu về sản phẩm chúng tôi thống kê và gửi đến bạn, hi vọng với những gợi ý ở trên giúp bạn mua sắm tốt hơn tại Pricespy Việt Nam

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 motorStepPin,StepsNumber of 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) {//Will be used in the stepper motorIOPin 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); //XShaft motor reversalOneRing,Two hundredStep for a circle

(step false, Y_DIR, Y_STP, 200); //yShaft motor reversalOneRing,Two hundredStep for a circle

(step false, Z_DIR, Z_STP, 200); //zShaft motor reversalOneRing,Two hundredStep for a circle

Delay (1000);

(step true, X_DIR, X_STP, 200); //XShaft motor ForwardOneRing,Two hundredStep for a circle

(step true, Y_DIR, Y_STP, 200); //yShaft motor ForwardOneRing,Two hundredStep for a circle

(step true, Z_DIR, Z_STP, 200); //zShaft motor ForwardOneRing,Two hundredStep

Sản Phẩm Liên Quan

HOT

Bikini hàng Âu

₫ 400.000
HOT
HOT

Bikini Thái

₫ 300.000
HOT

Bikini OKISS- QCXK

₫ 400.000
HOT

Bikini xuất Âu

₫ 300.000