Published using Google Docs
Ezcad3 Upgrade
Updated automatically every 5 minutes

Cryptic Concepts

Ezcad3 Upgrade

This will document the process of my upgrade from Ezcad2 to Ezcad3 on my Haotian Laser 60w M7 MOPA . I will link the relevant resources at the bottom of this document. Zoom in on the photos if needed.

*This will be updated as I notice mistakes, find more photos or have more information to add.*

Sections of this document

Pinouts for reference 

Removing the old controller

Installing the new power supply

Installing the DLC-M4-2D

Wiring the motor controls

Z axis motor installation

Setup & Calibration





Pinouts for Reference

LMCV4-FIBER-M (ezcad2 controller)


DLC2-M4-2D (ezcad3 2D controller)


Removing the Old controller


Removal of the old ezcad2 controller should be fairly straightforward. Make sure you disconnect the power for the laser at the wall outlet.

        For split units 


Installing the new power supply


Installing the DLC-M4-2D

-Find the best location for your new Ezcad3 controller, These things are big so make sure you leave clearance for the connectors.

My machine had a fairly small case so I couldn't fit the DLC controller where the old LMC controller used to live without getting closer than I'd like to the mains power and the 48v power supply meant for the laser source... I scouted a place that seemed like it would work well and started designing a mount.

(Left- Controller is too close to both the mains and the 48v power supply for the laser source, Right- This is where i have decided to mount the new controller )

This is the mounting bracket I designed in Illustrator & the final cut fresh off the laser.

Now that it's mounted the old Laser control and Galvo control along with the Power wires from our new 12v power supply can be connected to the controller. See DLC pinout reference


Wiring the Motor Controls 

Without home switch (above), with home switch (Below)

This is the Pinout of the DB9 Motor connector on the DLC-M-2D Controller

Here I labeled & connected my wiring to the Pulse and Direction pins(labeled on the driver) of the DQ542MA Step driver connector(green). For this I used open barrel crimp terminations and then inserted those into the connector screw port and tightened the screws onto the barrel terminations.

Now that we have that out of the way we can connect the other side of our wiring to the Db9 connector included with the Ezcad3 DLC board. We will connect PUL + to pin 6, PUL - to pin 2, DIR + to pin 7 & DIR - to pin 3. (See images below)

If you plan to use a home switch you will need to wire that here as well, I didn't but i may add one in the future.. See the reference pinout

Note: The connection on the included db9 connector is a solder cup so you will need a soldering iron, be sure to slide on your shrink tube before soldering the connection. After making the connection slide the heat shrink tube down and apply heat to securely cover the solder joint and any exposed wire.

Now that it's all wired up I added some sheathing and black harness tape to make things look a little more tidy.

Add the included Db9 Cover and plug your new motor wiring into your Step Driver and the DLC motor axis (The picture below is of the Z axis)

Repeat this for each axis you need control over…. Rotary anybody ?

Z Axis Motor Installation

The Parts arrive and we get a quick mock up.

Now the end cap of the Z axis is removed and brought to be scanned along with the Nema 23 Mounting block. For this I just used a common photocopier to scan accurately sized reference photos for making cutting templates on the laser. These reference photos were brought into my vector software (Inkscape & illustrator) and traced to create an outline to help me line up the Z axis cap for cutting the drill guides. This was then exported for ezcad.

Once the guides were cut I drilled and tapped the holes to accept an M5x0.8 thread. The next thing that needed to be done was to modify the shaft coupler that is to go between the motor and the Z axis screw. My Z axis screw had an end diameter of 11.75mm with the motor having a shaft diameter of 6.35mm. The closest I could find was a shaft coupler to connect 6.35mm to 12mm so there will need to be a hole drilled and tapped on the 12mm side of the coupler for a set screw to lock it into place on the 11.75mm Z axis lift screw.

The motor was then attached using the NEMA 23 mounting block along with 4 M5x65mm socket cap bolts, The wires were then extended and soldered to the connector shown above.


Setup & Calibration 

Now that everything is installed and operating we need to calibrate the lens for our new ezcad3 install. For this we will use the Calibration Wizard 9 point correction.

Start by opening the calibration wizard

I will be using the 2D XY Correction, once selected click “Confirm/Exit”

This will bring us to the 9 point correction

From here we will confirm scanner param

On my machine setting Galvo 2 = X  sets the orientation with X Axis being left and right and the Y Axis being up and down

Once set click “Enter/Exit”, Make sure to place a large scrap piece on the bed then click “Mark Image(3*3)”. You should end up with something looking like the picture below

Now you'll need to measure from point to point and input those values into the “Input coordinate” section of the calibration wizard. These should be measured like so..

This is the measuring order needed for each field, the red fields can be set to zero. Make sure that the image on your screen matches the Marked Image, if the orientation is different you will need to change the scanner para options. You will want to be accurate with this so use some measuring calipers if you can.

This is what mine came out like (your values will likely be different).

Once you have filled all the fields Click “Build Cor File” followed by “Save Cor File”. We will point Ezcad3 to this file later.

Next we’ll pop open ezcad3 and enter the F3 params menu

Once in the F3 params menu we’ll set the field named “Use the correction file” to “True”

Then under the “File Name” field we will select the 9 point correction file we just made by clicking the button with the three dots.

Congratulations!! If everything was done correctly your lens should now be calibrated.


- This section will be updated in the future -



The 60w jpt machine & DLC-M4-2D controller for this project were provided by Haotian Laser 

LMC Controller Manual - Click Here

DLC-M4 Controller Manual - Click Here 

Ezcad3 Calibration Wizard - Click Here

Ezcad3 Calibration 2D - Click Here

Ezcad3 Calibration 3D - Click Here