5x Cnc Shield V3 Expansion Board Engraving Machine 3d Printer A4988 Driver Board

US $660

  • HONG KONG, Hong Kong
  • Jun 2nd
Description :           This Auction is for Brand New   5PCS CNC Shield V3 Expansion board engraving machine 3D Printer A4988 Driver Board       Please Visit my eBay Store for more great item: HKJE Led Lamp Center  Description: 100% brand new and high quality This expansion board as a driver expansion board, can be used for engraving machines, 3D printers. It is a total of four slots, can drive four A4988 stepper motor. Each road stepper motors only need two IO ports. In other words, six IO ports can be well managed three stepper motors. Very convenient to use. UNO for Arduino module IO port correspondence introduction. IO corresponding figure above UNO for Arduino---------------------- 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 ) / / The following 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 direction of the stepper motor , the number of steps . / / Parameters : dir direction control , dirPin corresponding stepper motor DIR pin , stepperPin corresponding stepper motor " step " pin , Step number of step of 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 () {/ / The stepper 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 reverse 1 ring, the 200 step is a circle. step (false, Y_DIR, Y_STP, 200); / / y axis motor reverse 1 ring, the 200 step is a circle. step (false, Z_DIR, Z_STP, 200); / / z axis motor reverse 1 ring, the 200 step is a circle. delay (1000); step (true, X_DIR, X_STP, 200); / / X axis motor forward 1 laps, the 200 step is a circle. step (true, Y_DIR, Y_STP, 200); / / y axis motor forward 1 laps, the 200 step is a circle. step (true, Z_DIR, Z_STP, 200); / / z axis motor forward 1 laps, the 200 step is a circle. delay (1000); } Note: When inserting the A4988 module, must be careful not to insert opposite. Stepper motor wiring as follows: 2A, 2B is a group (red, green), 1A, 1B is a group (blue, yellow), if want to change direction, can be change the position of one group , for example 2A, 2B mutually exchanged.   Payment Methode                           Shipping and Handling Notice Delivery  Time USA, Canada ,Australia, West and North Europe 10-15 Business Days, Other country 25-30 Business Days Shipping address Items will be shipped to your eBay profile address,Please ensure that eBay shipping address is correct. Item Send Time Items will be shipped within 1 to 2 business days upon payment received or cleared. Note If you don't receive items over 30 business days , please notify us. Return / Refund Policy We appreciate your business and offer an instant 7 days return policy.(7 days after receive the item). 100% refund if you can not received the items within 30-40 business days  100% refund if the items defectiveness before arrival. No refund will be made for any damaged caused by accidentally using. We have 100% confidence in our products, but if you find you get a defective one, please contact us to solve the problem before leaving us a negative feedback. Your partner for managing your online business

Directions

Similar products from Electrical breadboards

People who viewed this item also vieved

By clicking "Accept All Cookies", you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts.

Accept All Cookies