Table of Contents

Maker Shield CNC Controller

Safety Statement

The author of this document is not liable or responsible for any accidents, injuries, equipment damage, property damage, loss of money or loss of time resulting from improper use of electrical or mechanical or software products.

Assembling electrical and mechanical CNC machine components like power supplies, motors, drivers or other electrical and mechanical components involves dealing with high voltage AC (alternating current) or DC (direct current) and other hazardous items which can be extremely dangerous and needs high attention to detail, experience, knowledge of software, electricity, electro-mechanics and mechanics.

BEFORE MAKING ANY CONNECTIONS OR DISCONNECTIONS POWER MUST BE REMOVED FROM THE DEVICE AND THE CONTROLLER. FAILURE TO DO SO WILL VOID ANY AND ALL WARRANTIES.

Before starting please read through all the instructions.

Note : Any Mains power connections must be installed by a Licensed electrician or suitability qualified person.

Errors and omissions excepted

Introduction


The Maker Shield is an all in one GRBL 1.1 compatible stepper motor shield designed for the Arduino Uno and Uno compatible microcontroller boards. It has been designed to be easy and intuitive to use with no requirement for additional driver modules.


Key Features


For GRBLv1.1 configuration settings, refer to https://github.com/gnea/grbl/wiki/Grbl-v1.1-Configuration

Application

The Maker Shield CNC Controller is suitable for a variety of small and medium sized automation equipment and instruments including but not limited to: CNC machines, laser engraver / cutter, plotters and drawbots. The integrated drivers are capable of driving standard 4 wire stepper motors with up to 2.5 Amp drive capability per motor coil.

Detailed Pin Descriptions

This section will describe the connection and adjustment settings to get the best out of your Maker Shield. It is recommended to read through this section to become familiar with this board.

Stepper Motor Output Header Pins

The stepper motor header pins are a 4- way Dupont style header pin that describes which drive channel it is used for and the relevant pin assignments. To ensure you get correct motor functionality and rotational direction, refer to your stepper motor wiring guide. Note: The Maker Shield pin assignments are a guide only and while the current assignments are marked as B1 B2 A2 A1 these can also be transcribed as B+ B- A- A+.

Microstep and Enable DIP Switch

Each motor drive channel comes with its own Microstep and channel Enable DIP switch (Z Axis channel shown in picture). To set the required microstep resolution refer to the table below or the table on the back of the Maker Shield. Important NOTE: Ensure you refer to the numbers marked on the board (Circled in RED in the image to the right below) for correct micro step settings and not the numbers marked on the switch itself.


Note : It is important to note that if a drive channel is not being used (not connected to a motor) that the relevant EN switch is in the ‘Off’ position.


Driver Enable Indicator

The Maker Shield incorporates a green GRBL Enable indicator as a visual reminder that the driver IC’s are energised and supplying power to the connected stepper motors.



Drive Channel Error Indicator

Each drive channel incorporates its own error indicator (Y drive channel shown in image) that will illuminate if there is a problem with the driver IC. Some error conditions are overheating or over current detection. If an error condition is detected and is persistent check all wiring is correct and connectors are firmly seated.


Voltage Reference Adjustment

The voltage reference adjustment allows for setting the current output (up to approximately 2.4 Amps) of the driver channel IC. It is important to ensure that the output current matches the motor current rating to ensure smooth and correct operation of your stepper motor. If the values are incorrect, you may end up overheating your motors if the current is set too high or under-powering your motors if the current is set too low. This board also incorporates a handy voltage reference pad for each drive channel.

Limit Switch Connector

The limit switch connector allows up to two limit switches per channel to be directly connected to the Maker Shield. This is achieved by the Loop connector for the respective channel input.

Clone Axis Header Pins

The Clone axis header pins allow you to clone either the X, Y or Z driver channel. When you are cloning an axis, select the step and direction pins for that particular axis that you would like to clone. For more information on how to clone an axis, refer to the Component Assembly section of this manual on how to clone an axis.

Driver IC Cooling

It is highly recommended to provide adequate cooling (heatsinks and fan) for the driver IC’s during normal operation. These drivers can get hot enough to burn before they will shut down due to overheating and will not resume normal operation until the appropriate temperature threshold has been reached. Allowing the motor drivers to overheat may result in missed steps or poor performance. It is recommended to use the provided adhesive heatsinks to aid in heat dissipation.

VMOT Header Pins

The VMOT header pins provide an additional power output that is tied to the VIN voltage used to drive the stepper motors (Max 24V). These pins can be used to run a cooling fan to ensure better cooling and more efficient operation of your Maker Shield.

GRBL Input and Output Header Pins

This board utilises the standard 2.54mm Dupont style header pins (as described in Section 2) for easy and convenient connection of external accessories. Ensure that the polarity of the header pins is correct before connecting peripherals.


Arduino Uno Reset

The onboard reset button will perform a reset of the Arduino Uno compatible controller. Pressing this button during operation will cause you to lose the current workload that is running on your Arduino Uno compatible controller and halt the current operations. This reset button performs the same function as the Arduino Uno compatible controller's onboard reset button.


Motor Power Input Connector

The motor power input connector (Blue) is located on the left-hand side of the board. This is where the main power from your power supply is fed into the Maker Shield. Note the polarity marked on the board. NOTE: Max input voltage is 24V.

WARNING: The Maker Shield supply voltage MUST not exceed +24V.

Assembly

There are two assembly guides in this Manual; the bundled kit and the standalone controller. The bundled kit can be found here and the standalone controller Manual can be found here.

Maker Shield Bundle Assembly

The Maker Shield CNC controller bundle contains all the electronic hardware that you require to wire and run your CNC machine/Laser or plasma build.

Part 1: Base Assembly

Parts Required:

Description Quantity
Laser cut base panel 1
10mm Male to Male Spacer 8
Arduino Compatible Controller 1
Maker Shield CNC controller 1
6mm M3 Nylon screws 8



The correct orientation of the base board is with the engraved writing facing you. It is recommended to peel off the protective backing at this stage. In this build tutorial, the protective cover has been left on to ensure that all components are easy to see.





Part 2: Top Assembly

Parts Required:

Description Quantity
Laser cut top panel 1
M3 Nut 8
30mm 24V Fans 2
M3 x 16mm Button Head screws 8



The Correct orientation of the top panel is with the engraved writing facing you and in the bottom left corner.



Part 3: Top and Base Assembly

Parts Required:

Description Quantity
40mm Threaded Hex Spacer 4
M3 x 6mm Button Head Screws 8



Use the 40mm threaded hex spacers and button head screws to attach the top and bottom assemblies as shown below:



Part 4: Wiring

Wiring the Maker shield is discussed in the Component Assembly section. The wiring in this section is for the additional hardware that comes with the bundle.

Stepper motor wiring

In the Maker Shield bundle are a quantity of 4, 4 pin dupont connectors used in the wiring kit. These are to be used with either Nema17 or Nema23 motors. See the tables below for the correct wiring sequence:

Nema 17:



Motor Side 4 Pin Dupont Connector Side
Red Yellow
Blue White
Green Red
Black Black

Nema 23:



Motor Side 4 Pin Dupont Connector Side
Red Yellow
Green White
Blue Red
Yellow Black

Terminal Block Wiring:

The terminal block is used to join the cooling fans and the touch probe to the 2 pin dupont connectors which will then be connected to the respective male dupont pins on the Maker Shield.

The 2 fans come with an JST-XH connector attached, cut this off and strip the wires to feed into the terminal block.

The touch probe comes with bare leads and must be stripped to fit into the terminal block as well.

Preparing the wires:

Our recommended way to strip the wires is with a wire stripper. Strip about 5mm of shielding off the cable to expose the copper. Twist the exposed copper to prevent fraying as shown below.

After twisting the cable, insert into the provided terminal block. Follow the wiring schematic shown below. The touch probe and fans will occupy 6 terminations on the terminal block. You may use the remaining 6 to your discretion.

Terminations:

It is recommended to feed the wires in through the case using the pre-cut slots. This is to create strain relief and neaten the cables. The fans will cool the drivers more efficiently this way. In this instance, the cover is taken off to make it easier to show the correct terminations.

Stepper Motors

4 Pin Dupont Connector Side Maker Shield Controller
Yellow A1
White A2
Red B2
Black B1



Repeat this for the other 3 motors connections

Thread the cables through the slot and you may further neaten the cables by use of cable ties as shown.


Limit Switches

The correct orientation is as follows



You may further neaten this by using cable ties.


In this controller bundle are EDG-2P connectors. Use these to connect to the provided 2 core shielded cable for the limit switches. Connect the Red wire to the White wire and Black wire to the Blue wire.

Cooling fans

The correct connections for the cooling fans are as shown. The VMOT terminal is used for these connections.



You may use cable ties to loop the cable around to the terminal block.

Complete! Proceed to the Power Supply Wiring section here of this manual and follow the steps till the recommended GRBL Machine settings here to complete your build.

Component Assembly

Below is a guide on how to assemble the Maker Shield controller.

Arduino and Maker Shield connection

While taking normal static electricity precautions, insert the Maker Shield onto the Arduino Uno, making sure that the Maker Shield pins are correctly aligned with the Arduino’s pins. Take care not to bend the pins.

Limit Switch Wiring

Limit switches are necessary if you intend to home your machine and prevent your machine from running into the end of the gantry. We recommend using our 2 Core Shielded Cable to eliminate any potential noise.

There are 2 methods of wiring your limit switches; Normally Closed and Normally Open. The standard configuration in GRBL is the Normally Open configuration. If you wish to use the Normally Closed configuration, you will need to invert the settings in the GRBL settings by changing the $5 setting from 0 to 1.

As shown above our limit switches have 3 pins;

Normally Open Configuration: If you are using our 2 core shielded cable, connect the blue wire to the “Common” (Pin 1) and the white wire to “Normally Open” (Pin 3).

Normally Closed Configuration: If you wish to use the Normally Closed configuration in your build, connect the blue wire to the “Common” (Pin 1) and the white wire to “Normally Open” (Pin 2).

Method 1: Standard Normally open Limit switch Configuration.

Note that the images below are for illustrative purposes. The signal wire colour in this manual is yellow, use white colour instead as included in your kit.

See the wiring for the Normally Open configuration in the diagram below. This example is for the X axis limit switch. Repeat this step for the Y and Z axis limit switches.

Method 2: Loop configuration with 6 limit switches.

This method shows the connection for wiring two limit switches, this configuration requires the normally closed configuration. Repeat this step for the Y and Z axis limit switches.


Emergency Stop Switch Wiring

Emergency stop switches are recommended for stopping your machine in case of an emergency. There are 2 methods that you can use to wire up your emergency stop switch; A power cut (Method 1) or a Pause/Hold function (Method 2). If you wish to use a power cut, you will need to put your limit switch in line with your V+ lead. When activated, this will cut power to the controller and all work/machine position will be lost. A Pause/Hold will put the controller in a hold state and the work process can be resumed after releasing the Emergency stop.

Method 1: Power Cut (Recommended)

The emergency stop switch is to be put in line with the +24V lead going from your power supply to the Maker Shield. This method cuts all power to the stepper motors and work will be lost.

Method 2: Pause/Hold

This method pauses the job. It is recommended if you intend to resume the job.

Cloning the Y-Axis

If your machine has a mirrored axis, also known as a slave axis, the axis will need to be cloned. In most cases the machines have a dual Y-Axis. See below on how to clone the Y-Axis. Insert a shunt in the YD and YS headers as indicated below:

Stepper Motor Wiring

It is important to ensure that your motors are wired correctly. Bipolar stepper motors have 2 coil pairs within them and therefore the wiring has to match these coils The coils typically have a labelling system that labels these coils, A+, A-, B+, B-. A+ and A- correspond to the first coil and B+ and B- correspond to the second coil. In the example shown below, green and black make up coil A and blue and red make up coil B. If these coils are mixed, the motors will vibrate instead of turn or turn in one direction only. For our Nema23 stepper motors, the wiring sequence is Red, Green, Blue , Yellow, for A+, A-, B+ and B- respectively.



XYZ Probe Wiring

Use 2 male to female dupont cables to connect the black wire to ‘+’ and red wire to ‘-’ on the probe headers on the maker shield (highlighted by the red square).

Insert the male portion of the dupont cables into the 2 female end of the EDG connector and the touch probe is to be connected to the male end of the EDG connector, matching red from be probe to red on the dupont lead and black from the probe to black on the dupont lead.



For information on how to configure this probe in software, check out our software guide here.

Power Supply Wiring

For the best performance, it is recommended to use the MeanWell 350W 24V power supply. Do not exceed the recommended supply voltage of 24V as damage to the components may occur. Ensure that V+ from the Power Supply is connected to V+ on the Maker Shield (red wire) and V- from the power supply to V- of the Maker Shield (Black wire. Our cable has white wire. The Black has been used for illustrative purposes.).

Stepper Motor Driver Settings

To get the best performance from your motor, it is recommended to tune your current and micro-step settings. See below for the settings.


Enabling your motors

As mentioned earlier, the SW1 on your control board corresponds to the enable pin for that particular axis. If you wish to use that axis, enable the axis by moving the dip switch to the UP position. The motor enable interface is shown below:


Current Settings

As stepper motors are current driven devices, you will need to finetune your current settings. Refer to the table below for tuning the current. Refer to the datasheet of your stepper motor to get the correct current rating.

Reference Voltage (V) Driver current Output (A)
0.1 0.2
0.2 0.4
0.3 0.6
0.4 0.8
0.5 1.0
0.6 1.2
0.7 1.4
0.8 1.6
0.9 1.8
1.0 2.0
1.1 2.2
1.2 2.4

To set the current for the driver, you will need the following:

Procedure:

Refer to the diagram below while you are following the steps.


Micro-Step settings

Apart from current settings, stepper motors can be further fine tuned by means of setting the micro steps. Increasing the micro-steps increases your accuracy. The recommended micro step setting is 1/8th step. The table below will show you how to set the micro-step rate.

IMPORTANT NOTE: Follow the micro step numbering on the silkscreen on the board highlighted in the Green square not the dip switch itself as SW1 corresponds to the Enable pin for the relevant motor.


Micro Stepping Rates

Micro-Step SW1 SW2 SW3
FULL OFF OFF OFF
1/2 ON OFF OFF
1/4 OFF ON OFF
1/8 ON ON OFF
1/16 OFF OFF ON
1/32 ON ON ON

To set the micro step, peel off the orange protective film on the dip switches and set the dip switch to the desired setting. Flipping the dip switch upwards puts it in the ON position. Note that you may need to adjust the micro-stepping rate in the software as well, depending on the gcode sender that you are using. This guide uses 1/8th step so no further calculations are required as to the steps per revolution settings in GRBL.

Software and Programming

Your Arduino compatible microcontroller comes with the boot loader pre-flashed and is ready to be flashed with GRBL. Flashing GRBL on the Arduino is pretty straight forward. Adhere to the following steps: Download and install the Arduino IDE

Download and install the GRBL libraries.

Configuring your Arduino







Flashing GRBL





Configuring GRBL Settings in GRBL PANEL

There are many G-Code senders that can be used. We recommend the GRBL Panel G-Code sender because of its ease of use and features..


Click to expand image



Click to expand image



Click to expand image


Configuring and tuning your machine


Click to expand image


Recommended GRBL Settings

Below are the recommended GRBL settings. The highlighted settings must be modified to suit your machine.

This set of settings are for the lead screw driven Lead CNC 1000 x 1000mm. Adjust the work area of your lead screw driven machine accordingly.


Setting Parameter Function
$0 10 step pulse, usec
$1 255 step idle delay, msec
$2 0 step port invert mask:00000000
$3 0 dir port invert mask:00000000
$4 0 step enable invert, bool
$5 0 limit pins invert, bool
$6 0 probe pin invert, bool
$10 3 status report mask:00000011
$11 0.02 junction deviation, mm
$12 0 arc tolerance, mm
$13 0 report inches, bool
$20 0 soft limits, bool
$21 0 hard limits, bool
$22 0 homing cycle, bool
$23 0 homing dir invert mask:00000000
$24 100 homing feed, mm/min
$25 1000 homing seek, mm/min
$26 250 homing debounce, msec
$27 5 homing pull-off, mm
$100 200 x, step/mm
$101 200 y, step/mm
$102 200 z, step/mm
$110 5000 x max rate, mm/min
$111 5000 y max rate, mm/min
$112 2500 z max rate, mm/min
$120 150 x accel, mm/sec
$121 150 y accel, mm/sec
$122 150 z accel, mm/sec
$130 824 x max travel, mm
$131 780 y max travel, mm
$132 50 z max travel, mm

Below are the recommended settings for an Ox 1000 x 1500mm machine. Adjust your X, Y and Z max travel settings to suit your machine accordingly.

Setting Parameter Function
$0 10 step pulse, usec
$1 255 step idle delay, msec
$2 0 step port invert mask:00000000
$3 0 dir port invert mask:00000000
$4 0 step enable invert, bool
$5 0 limit pins invert, bool
$6 0 probe pin invert, bool
$10 3 status report mask:00000011
$11 0.02 junction deviation, mm
$12 0 arc tolerance, mm
$13 0 report inches, bool
$20 0 soft limits, bool
$21 0 hard limits, bool
$22 0 homing cycle, bool
$23 0 homing dir invert mask:00000000
$24 100 homing feed, mm/min
$25 1000 homing seek, mm/min
$26 250 homing debounce, msec
$27 5 homing pull-off, mm
$100 26.667 x, step/mm
$101 26.667 y, step/mm
$102 200 z, step/mm
$110 5000 x max rate, mm/min
$111 5000 y max rate, mm/min
$112 2500 z max rate, mm/min
$120 150 x accel, mm/sec
$121 150 y accel, mm/sec
$122 150 z accel, mm/sec
$130 820 x max travel, mm
$131 1275 y max travel, mm
$132 57 z max travel, mm

Below are the recommended settings for an Ox 1000 x 1500mm machine with our gear rack transmission in the Y axis. Adjust your X, Y and Z max travel settings to suit your machine accordingly.

Setting Parameter Function
$0 10 step pulse, usec
$1 255 step idle delay, msec
$2 0 step port invert mask:00000000
$3 0 dir port invert mask:00000000
$4 0 step enable invert, bool
$5 0 limit pins invert, bool
$6 0 probe pin invert, bool
$10 3 status report mask:00000011
$11 0.02 junction deviation, mm
$12 0 arc tolerance, mm
$13 0 report inches, bool
$20 0 soft limits, bool
$21 0 hard limits, bool
$22 0 homing cycle, bool
$23 0 homing dir invert mask:00000000
$24 100 homing feed, mm/min
$25 1000 homing seek, mm/min
$26 250 homing debounce, msec
$27 5 homing pull-off, mm
$100 26.667 x, step/mm
$101 31.900 y, step/mm
$102 200 z, step/mm
$110 5000 x max rate, mm/min
$111 5000 y max rate, mm/min
$112 2500 z max rate, mm/min
$120 150 x accel, mm/sec
$121 150 y accel, mm/sec
$122 150 z accel, mm/sec
$130 820 x max travel, mm
$131 1275 y max travel, mm
$132 57 z max travel, mm

Maker Shield Laser Control

Safety Statement Before starting please read through all the instructions. Note : Any Mains power connections must be installed by a Licensed electrician or suitability qualified person. The laser safety goggles MUST be worn whenever the laser unit’s power supply is turned on.

To connect the laser to the Maker Shield, you will only need to connect the signal wires from the laser control board to the Maker Shield controller. All other connections are already pre-done.
Locate the TTL signal port circled in orange as shown below:


Connect the 2 pin JST connector to the TTL port and the other half to the maker shield. You can use the 2 pin Dupont connector and a 2 pin EDG connector (Not supplied in the kit). to accomplish this. TTL+ connects to the PWM+ and TTL- connects to PWM- as illustrated below. The lime green wire corresponds to TTL- (Black wire) and the red wire corresponds to TTL+.

In your grbl settings. You can type in $31=1 to enable laser mode.