CNC shield V4 kit+ Arduino nano+3 driver A4988

Référence: 59-03395

92,000 TND

En stock


Garanties sécurité


Livraison gratuite à partir de 300dt


Ouvert tous les jours de 8:30h à 18h

Product Description:

   3D printer stepper motor driver CNC shield V4 needs to work with Nano board. It can be used as driver expansion board for engraving machines and 3D printers. It has in total 3 channel slots for A4988 stepper motor driver modules (not included) for driving 3 channel of stepper motors. Each channel of stepper motor only needs 2 IO ports, which means 6 IO ports is sufficient to manage 3 stepper motors. This shield can make quick work for managing stepper motors in your project.

Product Introduction: 

  • 1. 3 axis stepper motor driver
  • 2. Compatible with micro-drive laser engraving machine, three-axis CNC engraving machine,.
  • 3. 2A can be controlled within the two-phase four-wire stepper motor.
  • 4. Released the digital IO interface, easy to connect to other modules, such as ENDSTOP.
  • 5. Released the I2C interface, you can connect to the LCD I2C or other I2C module.
  • 6. Power DC5V interface, 7.5-12V voltage input.
  • 7. GRBL compatible
  • 8. Worked with nano.

  • Product Feature: 
  • Noted:

       This product is defaulted full step mode, please modify it to 1/16 mode or any other mode by yourself if you need.

        replace config.h (change into below line)in grblmain folder:

       #define STEPPERS_DISABLE_BIT 0 // Uno Digital Pin 8

       #define X_STEP_BIT 2 // Uno Digital Pin 2

       #define Y_STEP_BIT 3 // Uno Digital Pin 3

       #define Z_STEP_BIT 4 // Uno Digital Pin 4

       #define X_DIRECTION_BIT 5 // Uno Digital Pin 5

       #define Y_DIRECTION_BIT 6 // Uno Digital Pin 6

       #define Z_DIRECTION_BIT 7 // Uno Digital Pin 7


    #define STEPPERS_DISABLE_BIT 8 // Nano Digital Pin 8

    #define X_STEP_BIT         5  // Nano Digital Pin 5
    #define Y_STEP_BIT         6  // Nano Digital Pin 6
    #define Z_STEP_BIT         7  // Nano Digital Pin 7
    #define X_DIRECTION_BIT    2  // Nano Digital Pin 2
    #define Y_DIRECTION_BIT    3  // Nano Digital Pin 3
    #define Z_DIRECTION_BIT    4  // Nano Digital Pin 4 

      B.The product is equipped with A4988 driver module. If you want to change working mode, just need to adjust the level of ms1 ms2 ms3(DRV 8825 ms0 ms1 ms2) that have been connected to three pairs of pin header(with jumper cap). If plugging a jumper cap, the circuit is connected to GND. Namely, ms1 ms2 ms3(DRV 8825 ms0 ms1 ms2) are connected to GND, meaning the working mode has changed into full-step mode. The circuit is disconnected without jumper cap. If you want to connect the circuit with high level, you have to connect it to VCC by soldering(like below picture for 1/16 mode).


       The relation between working mode of A4988 module and MS1, MS2, MS3 is shown as below table:


    MS1MS2MS3Microstep Resolution
    LowLowLowFull step
    HighLowLowHalf step
    LowHighLowQuarter step
    HighHighLowEighth step
    HighHighHighSixteenth step

    Arduino NANO +CNC Shield V4.0+A4988 User Manual/Instruction

    The input voltage of CNC Shield V4.0 is DC 7.5V-12V, do not higher than 12V.

    Software installation
    1) Install the grblmain library file and burn program
    , and then  replace config.h (change into below line)in grblmain folder, the new config.h: 
    #define X_STEP_BIT         5  // Nano Digital Pin 5
    #define Y_STEP_BIT         6  // Nano Digital Pin 6
    #define Z_STEP_BIT         7  // Nano Digital Pin 7
    #define X_DIRECTION_BIT    2  // Nano Digital Pin 2
    #define Y_DIRECTION_BIT    3  // Nano Digital Pin 3
    #define Z_DIRECTION_BIT    4  // Nano Digital Pin 4
    Place the grblmain folder to libraries in Arduino IDE installation directory.  CH430 usb driver need to installed that you can find out the serial port and burn the grblmain into your Nano. 
    CH430 usb driver for window xp,7, 10
    CH430 usb driver for Linux
    CH430 usb driver for Mac
    Open Arduino IDE, choose File->Examples->grblmain->GRBLtoArduino, you'll open a grbl sample program, select the port and board type, burn this grbl sample program to Arduino NANO.
    Download and install Grbl Controller,open it, interface as shown in picture:
    Use the USB cable to connect your PC and Arduino NANO, select the port and select the baud rate as 9600. Click "Open", if it connected, "Open" will be "Close/Reset ", the background is red. Click "Choose File" to choose the graphy you want to engrave, after selected click "Begin" to engrave.

    Package Included: 

      1x nano 3.0 CH430 USB Chip (with USB cable)

       3xA4988 stepper motor drive(green and red )

       1x  CNC shield   V4 engraving machine expansion board


    simple test on V4


    #define EN        8  
    //Direction pin
    #define X_DIR     2 
    #define Y_DIR     3
    #define Z_DIR     4
    //Step pin
    #define X_STP     5
    #define Y_STP     6 
    #define Z_STP     7 
    int delayTime=400; //Delay between each pause (uS)
    int stps=200;// Steps to move 1Round 
    void step(boolean dir, byte dirPin, byte stepperPin, int steps)
      digitalWrite(dirPin, dir);
      for (int i = 0; i < steps; i++) {
        digitalWrite(stepperPin, HIGH);
        digitalWrite(stepperPin, LOW);
    void setup(){
      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, stps); //X, Clockwise
      step(false, Y_DIR, Y_STP, stps); //Y, Clockwise
      step(false, Z_DIR, Z_STP, stps); //Z, Clockwise
      step(true, X_DIR, X_STP, stps); //X, Counterclockwise
      step(true, Y_DIR, Y_STP, stps); //Y, Counterclockwise
      step(true, Z_DIR, Z_STP, stps); //X, Counterclockwise




    11 14 18 21


Références spécifiques