makerbase-mks / MKS-DLC32

MKS DLC32 motherboard kit, which is an offline engraving master control kit developed for desktop engraving machines. The hardware is equipped with a 32-bit high-speed ESP32 module, integrated WIFI function, and directly drives a 3.5-inch touch color screen; it can realize fast engraving and WEB web pages. Control, mobile phone APP control and other functions.
https://www.aliexpress.com/item/1005003183498253.html?spm=a2g0o.store_pc_home.productList_8356958.pic_0
256 stars 105 forks source link

dls 32 with 2 external drivers and separate power supplies. #454

Open Strummerone opened 5 months ago

Strummerone commented 5 months ago

Hi I'm using DLC 32 on a DIY CNC with 2 external drivers on the Y axis. As I'm using external drivers Ive connected both sets of control wiring from the board to each driver via the set of pins marked Y axis (Dir,S, En etc). Problem is that if I have just one driver connected everythings fine, however when both drivers are connected, one of them (the drivers) go into fault mode( Steady red light). I read somewhere that both driver have to be on the same power supply, mine have separate 36v power supplies (Cheaper believe it or not) Is this true or am I missing something? Anyone any ideas..

MJ666 commented 5 months ago

As long you have a common ground for your the DLC32 and the 2 external drivers there is no reason why it should not work. Can you post a schematic of your build or may be picture how it is connected?

Strummerone commented 5 months ago

As installed wiring.pdf

I,ve been tinkering and managed to get both stepper motors on the Y axis working from the one power supply. Only trouble is that when I connect further axis i.e X or Z neither of them want to work with the Y but if I set them up on them individually 9without the Y connected they work.

MJ666 commented 5 months ago

How is the DLC32 powerd? I guess it is another power supply? You may need a common ground of all power supplys with strong wirering. It should not rely on the thin ground traces of the DLC32 itself only. This may lead to potential shift on your ground and causing your problems.

Strummerone commented 5 months ago

As Installed with ground.pdf

Please see new drawing with additional bits. Would adding the interconnecting ground to each driver (see drawing) help? I could cross bond (British expression for equipotential bonding) the power supply chassis to each other with a larger earth cable but I think the chassis is already earthed via the incoming supply. I can't get my head around why these won't work together as the DLC32 is just sending out signals. Oh and by the way, the power supply and the supply for the DLC32 are from the same source.

MJ666 commented 5 months ago

The motor drivers are using optocouplers for the signal inputs. Having both drivers separately powered should not be a problem. May be the output power of the DLC32 pins is not sufficient to drive both motor drivers. Twice as much current is needed to drive two optocoupler LED's. If your motor drivers are near together you may route the cables from one to the other but not separately to each of them from the DLC32. The information in the link is may be also useful to boost the signal for two external motor drivers to one st of pins: https://github.com/bdring/external_stepper_motor_driver

ham577 commented 4 months ago

I encountered a similar issue with an external driver. Additionally, as you mentioned, they seem to operate in different directions despite receiving the same signal. i noticed some industrial driver support logic voltage up to 12v and in some cases 24v because noisy industrial situation and 3.3v logic voltage cause some issue in such driver additionally remind it length of your signal cable between dlc32 and driver must lower than 12 inch for same reason use limit switch 5v pin to set logic voltage 0-5v like image below must (hopefully) solve problem 20240214_132511 20240214_132436