CNC3D Nighthawk User manual

Nighthawk CNC Controller: 1
Version 3 –Revised 08/12/22
Nighthawk CNC Controller
User Manual

Nighthawk CNC Controller: 2
Version 3 –Revised 08/12/22
Safety precautions
•Please read this entire manual before using your new Nighthawk controller or
CNC3D Commander software.
•Please ensure any relevant PPE equipment is worn or used when operating
any CNC machine. This includes safety glasses for using any lasers.
•CNC machines can be dangerous and must be operated with diligence and
safety in mind.
By using this controller and or any associated software, you acknowledge and
agree that you are taking full responsibility for any damage to property,
machinery, person or persons that could potentially occur as a result of using
this product. CNC3D PTY LTD will not be held liable or responsible in any way
for the misuse or use of this product.
All 240V wiring MUST be done by a licensed electrician. Failure to do
so can cause fire or electric shock!
DO NOT ATTEMPT ANY 240V WIRING WITHOUT AN
ELECTRICAL LICENSE

Nighthawk CNC Controller: 3
Version 3 –Revised 08/12/22
Nighthawk Controller Specifications
Input Voltage
14-40V DC (max)
Power Usage
320W (max)
Onboard Drivers
4 x 4.5A (max)
Total Axes
4 (XYYZA)
SD Support
Class 4-10 (Up to 32Gb)
SD Format
FAT32 Required
WiFi Frequency
2.4GHz
Operating Frequency
240MHz
Antenna
4.5db Gain
Enclosure
Folded Steel
Mounting
Bench/Wall
Enclosure Finish
Powder Coating

Nighthawk CNC Controller: 4
Version 3 –Revised 08/12/22
Hardware setup
This section relates to our Full-Stack controller.
For stand-alone cards please skip to page 12
Did you get your Nighthawk controller with a CNC3D CNC machine or are you
retrofitting your Nighthawk CNC Controller to an existing machine?
Every Nighthawk controller provided with our fully assembled machines are tuned by our team for the
best performance and longevity. You will not need to change any hardware settings on your controller,
you can skip this section and move on to the Connection setup section of these instructions on page 22.
Power input orientation
The positive terminal is located closest to the Antenna plug. Please ensure to use a 14V minimum power
supply with a total wattage rating greater than 300w.
+
-

Nighthawk CNC Controller: 5
Version 3 –Revised 08/12/22
Setting your micro-stepping and current
The drivers included with your controller have physical settings that can be adjusted to suit your needs
these include micro-stepping and current output settings.
**PLEASE NOTE**
Always ensure the unit is powered OFF and the USB cable is disconnected before performing any micro-stepping
changes.
Setting Micro-stepping
Each drive has the option of 1 / [1, 2, 4, 8, 16] micro-stepping settings. For most CNC routing applications, a
1/8 ratio is a good balance of torque, accuracy and maximum speed.
The front of your Nighthawk controller shows 4 blue tactile switch blocks. These blocks are used to set your
micro-stepping. They can be seen here:
A small pick or screwdriver can be used to set the micro-stepping from the front of the unit or the
controller cover can be removed to make setting the values easier, see below for removing cover.
Each of these switch blocks has 3 small switches for
setting your micro-stepping.
The default on your controller will be 1/8.
Please note the ON position and switch number:

Nighthawk CNC Controller: 6
Version 3 –Revised 08/12/22
Micro-stepping settings chart
Set the switches for each drive in the order as per the table below to choose your micro-stepping options.
Setting the current for each driver
Each driver can have its current set to match the motors you are using on your machine. As noted above, if
you have purchased your machine from CNC3D and it came with a Nighthawk controller then the current
has already been set for you and you will not need to do this step.
As a general rule you should always set the current of your motors slightly lower than the value as per your
motor’s datasheet.
There are 2 methods for setting your motors current, the first is a “quick” method and should be used with
caution to ensure you do not overdrive your motors.
1. Remove the controller cover
Ensure all plugs or leads on the front of the controller are unplugged and the SD Card is removed
Tip: Try using a flat head screwdriver to lever the plugs out gently:
•Remove the plastic antenna (if attached) by unscrewing it from the gripped black plastic part of the
antenna. The brass thread can stay attached to the case.
•Using a Phillips head screwdriver, carefully unscrew the black power connector from the controller
housing. Take note of the orientation of the RED power cable to ensure it goes back in the same
orientation.

Nighthawk CNC Controller: 7
Version 3 –Revised 08/12/22
•Carefully lever the fan cover off the side of controller to expose the bolts attaching the fan. Loosen
these bolts and carefully remove the fan. Take care to ensure no stress is put on the fan cable in the
cable slot. Remember the orientation of the fan. The Nighthawk is designed to have cool air blowing into
the enclosure.
•Now remove the remaining 4 bolts on top of the enclosure. Once removed, carefully lever the front of
the housing upward. It should lift away quite easily by using one hand to hold blue the heatsink at the
bottom while removing the top cover. Now that the front cover is loose, flip it towards the back of the
enclosure taking care not to unplug or damage any wires. Everything should look like this:

Nighthawk CNC Controller: 8
Version 3 –Revised 08/12/22
2. Set the current for each stepper.
There are 4 blue screw trim pots and setting guides at the rear of the controller on the lower green driver
board, they are used for setting the current, see photo of what they look like:
Each dial has a guide above it to indicate roughly what the current setting is. The quick method for setting
your current is by visually adjusting the dial using a small Phillips head screw driver. See diagram below of
where the indicator is, there are 2 notches either side of it. See also below the approximate value of each
chevron on the dial:
It is important to note that this is a very rough method of setting your motor current and the following
finetuning method will be a better option.
Fine tuning your motor current
Firstly, you must connect power to the power input terminal on the side of the controller. Please be careful
with the orientation of the connections.
Just to the left of each of the blue dials there is a small solder-tinned hole, these are labelled as V(axis) i.e:
VX. These holes are used for precisely setting your motor current. There is also another hole on the far left
of all the blue dials labelled “GND”.

Nighthawk CNC Controller: 9
Version 3 –Revised 08/12/22
Using a multimeter set to voltage mode we can position the black probe on the GND hole on the board and
position the red probe on the hole closest to the driver you wish to set.
Close-up image showing the location of the
axis-specific voltage test point (VX) and the
common ground location (GND)
Testing the voltage on VY using a multimeter with the black probe on GND and the red probe on VY

Nighthawk CNC Controller: 10
Version 3 –Revised 08/12/22
Once your multimer probes are in position and a voltage is showing, use a small screw driver to carefully
turn the blue dial being set, rotate clockwise to increase current and counter-clockwise to decrease the
current. While turning, check the voltage change on your multimeter for the expected value.
The equations used for setting your current are:
Current = Voltage / 0.62
Which is equivalent to:
Voltage = Current x 0.62
Current is represented in amps (A) and 1000mA = 1A
Based on these equations if we are trying to set our current to 3A exactly we must have a reading of 1.86V.
As advised above, it is recommended to go slightly lower than the rated current. In this case we would set
the voltage reading to 1.84V.
Once you have set the current for each axis, you can power off the controller and reassemble the enclosure
in the same order it came apart from, keeping on mind to ensure the power connector and fan go back in
the same orientation. When fitting the enclosure back onto the electronics, take note to ensure the
antenna cable, fan cable and ribbon cable are not pinched anywhere by the case. Also remember to re-
attach the antenna. Once everything is fitted, use your fingers to push the fan cable back inside the
enclosure. It should look like this:

Nighthawk CNC Controller: 11
Version 3 –Revised 08/12/22
Connecting your stepper motors
The drivers on your Nighthawk support the connection for 4-wire stepper motors. Generally, these
motors have 2 pairs of motor poles. Connecting them to your controller should be relatively straight
forward.
**PLEASE NOTE**
Always ensure the unit is powered OFF and the USB cable is disconnected before connecting or
disconnecting any motors from your controller.
Use a small flat head screwdriver to attach your motor wires to the green plugs.
The motor connections are shown here, check your motors datasheet for the wiring colours of your motors
to match them to the controller.
If your machine is set up to use separate motors for each Y axis, such as one of our QueenBee, QB2,
YouCarve, Metal Storm or SharpCNC machines (XYYZ) then your Y2 motor will go into the A plug.
You can now skip ahead to page 20 for connecting
Limit Switches

Nighthawk CNC Controller: 12
Version 3 –Revised 08/12/22
Standalone Nighthawk Control Card
With the stand-alone card, you will need to use external stepper drivers to run your
motors, this allows for high-power motors as well as higher motor voltages than the
Nighthawk card can manage on its own.
PLEASE NOTE: The maximum input voltage for the Nighthawk Control Card is
40VDC. Any higher will cause damage to the card and void your warranty.

Nighthawk CNC Controller: 13
Version 3 –Revised 08/12/22
Typical machine retrofit to external drivers
WARNING!
Failure to select voltage correctly may cause irreparable damage
to the controller and your machine, please ensure you select
this voltage correctly!
Driver
Power

Nighthawk CNC Controller: 14
Version 3 –Revised 08/12/22
Nighthawk Control Card Connections/Pins
C
o
nn
ec
t
io
n
s
Type and PIN
C
o
un
t
Connector
N
u
m
b
e
r
Name on
P
C
B
F
un
c
t
io
n
Green Pluggable
INPUT 2
1
Limit X
X Limit Switch
Green Pluggable
INPUT 2
2
Limit Y
Y Limit Switch
Green Pluggable
INPUT 2
3
Limit Z
Z Limit Switch
Green Pluggable
INPUT 2
4
Limit A
A Limit Switch
Green Pluggable
INPUT 2
5
PROBE
Probe Input
Green Pluggable
OUTPUT 10
6
LASER and
12V POWER
OUT
Laser Port and Proximity switch 12V
supply Max 12.5V @
2A
Green Pluggable
OUTPUT 4
7
VFD
VFD(VSD) Speed Control
Green Pluggable
DRY CONTACTS 3
8
FLOOD
Flood Relay (Dry
Contacts) Max 30VDC @ 2A
Green Pluggable
DRY CONTACTS 3
9
PLASMA/MIST
Spindle Interlock/Plasma/Mist Relay
(dry contacts) Max 30VDC @ 2A
TB BLOCK
POWER 4
10
POWER
POWER INPUT (12-14v or 14v to 40v)
(POW_SEL1-2) Min 12VDC Max
14VDC Dependent on POW_SEL
JUMPER
(POW_SEL2-3) Min 14VDC Max
40VDC
Limited Protection is provided by a
self-resetting fuse.
White JST
OUTPUT 2
11
FAN
Fan (12VDC)
White JST
OUTPUT 4
12
Y1_OUT
Y1_OUT
White JST
OUTPUT 4
13
Z_OUT
Z_OUT
White JST
OUTPUT 4
14
Y2_OUT
Y2_OUT
White JST
OUTPUT 4
15
X_OUT
X_OUT
White JST
OUTPUT 4
16
A_OUT
A_OUT
AUX_SEL
Jumper 3
17
AUX_SEL
A_OUT MODE SELECTOR
POW_SEL
Jumper 3
18
POW_SEL
Enables/Disable Onboard 12V regulator

Nighthawk CNC Controller: 15
Version 3 –Revised 08/12/22
Wiring of External Control Buttons
The Nighthawk control card has pins to allow wiring of external E-stop, pause and resume
buttons. These pins are highlighted below. On the control card these are bent at 90
degrees to the PCB.
The pins are active high and must connect to +12VDC to activate.

Nighthawk CNC Controller: 16
Version 3 –Revised 08/12/22
Wiring of VFD(VSD) to the Nighthawk for Speed Control
Numerous VFD drivers are available and as such no colour code is given for connection
from the Nighthawk to the VFD. Instead, generic terms are being used in this manual.
V
F
D (
I
N
P
U
T
S)
Nig
h
t
h
a
w
k
(
O
u
t
pu
t
s)
VI (0 to 10V) input VFD, Connector 7 PIN 1
Forward input VFD, Connector 7 PIN 2
Reverse input VFD, Connector 7 PIN 3
DCM Common Terminal of Digital Ground VFD, Connector 7 PIN 4
ACM Common Terminal of Analog Ground VFD, Connector 7 PIN 4
The Nighthawk uses a single common ground for both ACM and DCM as such you may
need to jumper DCM and ACM on the VFD

Nighthawk CNC Controller: 17
Version 3 –Revised 08/12/22
Proximity Limit Switch Wiring
The Nighthawk is designed to work with PNP proximity switches and are the only
recommended type. NPN proximity switches will not work.
Normally Closed switches are the recommended type as any break in the circuit will
cause the limit to trigger on that axis, resulting in safer operation.
Brown: +12 (10-pin plug)
Blue: GND (10-pin plug)
White: Limit Switch Input (round pad)
Black: Not used in this configuration

Nighthawk CNC Controller: 18
Version 3 –Revised 08/12/22
Relay Setups
There are 2 relays on the Nighthawk Control Card which control the FLOOD and PLASMA
ports. They are both dry contact relays and rated at 30VDC max @ 2A
These relays are not designed or rated for mains voltage or high current applications. If
looking to control a 110/230V appliance such as an extractor or pump you will need an
external mains voltage contactor. See below for an example setup.
Flood Relay (24VDC –Normally Open)
DC Pump
24V Max @ 2A

Nighthawk CNC Controller: 19
Version 3 –Revised 08/12/22
Using Flood Relay for Mains Voltage Applications

Nighthawk CNC Controller: 20
Version 3 –Revised 08/12/22
Connecting your other wires
The front of your controller has a label indicating the wiring for your limit switches, probe, laser and VFD
connections. Use a small flat head screwdriver to secure wires to the connectors. It is recommended to
use solder-tinned wires or bootlace crimped wires for a safe and secure fit.
** Laser Warning **
Care must be taken when attaching or working with any lasers. After connecting them to the controller,
ensure that the laser is pointed away from any people or animals and that you are wearing appropriate
laser PPE before powering on your controller.
Limit switches
X: The X axis limit switch. No polarity needed –either wire can go to either hole.
Y: The Y axis limit switch. No polarity needed –either wire can go to either hole.
Z: The Z axis limit switch. No polarity needed –either wire can go to either hole.
A: The A/Y2 axis limit switch. No polarity needed –either wire can go to either hole.
Aux
Probe: A probe connection. If issues occur when probing try swapping wire orientation.
Power
3 x +12V: General 12V rail. Maximum of 1A total –shared with laser 12V, to be used for inductive limit
switches only!
3 x GND: General ground rail. Maximum of 1A total –shared with laser 12V, to be used for inductive limit
switches only!
Please note: Take care to ensure these pins are never shorted. The internal resetting fuse should protect the
controller but it is still not recommended to short these outputs.
Table of contents
Other CNC3D Controllers manuals