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
283 stars 114 forks source link

Motor-Port always with 24V #7

Closed trashypopashy closed 3 years ago

trashypopashy commented 3 years ago

No matter what I do: On the Motor-Port I always geht 24 V.

Is my Mosfet broken?

Would it be possible (with the CNC-Firmware), to get the Motor-Signal on the TTL or Laser-Port?

mks-viva commented 3 years ago

Hi! I want to know, if you power on for MKS DLC32 board, the mosfet led is light up?

trashypopashy commented 3 years ago

Yes, it does. I also reflashed the CNC-firmware, but the Problem stays the same.

mks-viva commented 3 years ago

Can you provide a video about when power on?

trashypopashy commented 3 years ago

Can you provide a video about when power on?

https://user-images.githubusercontent.com/53164150/135070958-c132a579-da64-44b6-b437-3a498265d756.mp4

  1. click is power-switch on
  2. click is power-switch off
trashypopashy commented 3 years ago

I have an external pwm-to-analog (0-10V)-converter for my seperate spindle-driver, so the TTL-Signal would be okay for me. Is there a way to get the TTL working in the CNC-firmware?

mks-viva commented 3 years ago

image

trashypopashy commented 3 years ago

I know where the port is located, but it does not work. Maybe all my issues with the DLC32 are because of the CNC-firmware?

mks-viva commented 3 years ago

Can you use laser firmware test board and it is will work?

trashypopashy commented 3 years ago

I can give it a try. But I need the Z-axis, of course (because I have a CNC).

trashypopashy commented 3 years ago

With the Laser-firmware on the TTL-Port I get the following output:

In Laser-firmware the signal has a frequency of 1kHz, when I choose "off" "5%" or "50%" on the touchscreen. When I send the grbl-commands for example M3 S50, then the TTL is 50% @ 32kHz or something like that.


With the CNC-Firmware I get the following:

In CNC-firmware the signal hat a frequency of 8kHz (which my PWM-to-analog-converter can not convert). Would it be possible, to get a linear relation between M3 Sxxx an the TTL-percentage at 1...3 kHz?

Is it possible to build the firmware on my own?

makerbase-mks commented 3 years ago

@trashypopashy We just come back from a long holiday. We would open source recently, but you still can leave email, I will ask engineer to compile a firmware of 1khz-pwm output for you.

makerbase-mks commented 3 years ago

DLC32_CNC_V1.2.001_Normal_8M_H35_1009.bin.zip DLC32 firmware for CNC, pwm default is 1khz, and can be modified using $28, for example, 1kz: $28 1000

Mar4M commented 1 year ago

@makerbase-mks Hi. Is this problem related to mine? My spindle motor is always turned on after power on and cant be controlled by UGS or Candle and I have no way of controlling the spindle while the power is on. Have been using the 1st version o the firmware for CNC since 2021 and directly updated to this version - V2.1.0_H35_20220526_02_N_CNC. Please help. By the way, I'm just a maker with no or at most very minimal knowledge with coding/programing.