ARDUINO CNC SHIELD

CNC SHIELD EXPANSION BOARD FOR ARDUINO V3 ENGRAVER

Category:

Product Description

  • Latest CNC Shield Version 3.0 for Arduino.
  • GRBL 0.9 compatible.(Open source firmware that runs on an UNO for Arduino that turns G-code commands into stepper signals)
  • PWM Spindle and directionpins
  • 4-Axis support (X, Y, Z , A-Can duplicate X,Y,Z or do a full 4th axis with custom firmware using pins D12 and D13)
  • 2 x End stops for each axis (6 in total)
  • Coolant enable
  • Uses removable A4988 or DRV8825 compatible stepper drivers
  • Jumpers to set the Micro-Stepping for the stepper drivers. (Some drivers like the DRV8825 can do up to 1/32 micro-stepping )
  • Compact design.
  • Stepper Motors can be connected with 4 pin molexconnectors or soldered in place.
  • Runs on12-36V DC. (At the moment only the DRV8825 drivers canhandle up to 36V sopleaseconsidertheoperationvoltagewhen powering the board.)
  • Please note that this is an unassembled kit and Basic soldering skills are needed.

A4988 Stepper Motor Driver:

  • A4988 Stepper Motor Driver Board is abreakout board for Allegro’s A4988 DMOS Micro steppingDriver with Translator and Overcurrent Protection;please read the A4988 datasheet carefully before usingthis product.
  • Low RDS (On) Output
  • Automatic current decay mode detection / selection
  • Mix with slow current decay modes
  • Synchronous rectification for low power dissipation
  • Internal UVLO
  • Crossover-current protection
  • 3.3 and 5 V compatible logic supply
  • Thermal shutdown circuitry
  • Ground fault protection
  • Load short-circuit protection
  • Five selectable step modes: full, 1/2, 1/4, 1/8 and 1/16
  • Warning: Connecting ordisconnecting a stepper motor while the driver ispowered can destroy the driver. (More generally,rewiring anything while it is powered is asking fortrouble).

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);

Additional Information

Weight 50 g

Reviews

There are no reviews yet.

Be the first to review “CNC SHIELD EXPANSION BOARD FOR ARDUINO V3 ENGRAVER”