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
274 stars 109 forks source link

Not sourde code #10

Closed JuananBluenoa closed 1 year ago

JuananBluenoa commented 2 years ago

Please, could you post the source code?

Tanks

automics commented 2 years ago

I need the source code too, because I do not use the external display, but I need a constantly enabled WiFi and telnet port.

m3dkata commented 2 years ago

Yes, we need source code, count me.

derFrickler commented 2 years ago

I made a working config for the original Grbl-Esp32 - if you don't use the TFT, this should work for you: https://github.com/derFrickler/Grbl_Esp32/blob/DLC32/Grbl_Esp32/src/Machines/MKS-DLC32.h

JuananBluenoa commented 2 years ago

Thanks derFrickler I have tested your configuration and it does not work. At 24v it only restarts. At 12v restarts when starting a job.

derFrickler commented 2 years ago

Strange, it works fine for me. Whats the Error you get? Whats connected to the board? Maybe uncomment the 3 OLED Lines: https://github.com/derFrickler/Grbl_Esp32/blob/DLC32/Grbl_Esp32/src/Machines/MKS-DLC32.h#L39

JuananBluenoa commented 2 years ago

Just the power supply and a microsd with the gcode. I will try usb without microsd. I have already tried commenting OLED My board is MKS DLC32 V1.1_001 With MKS firmware does not reboot

derFrickler commented 2 years ago

Same board revision for me. Try formatting the full chip once before flashing: ../linux-amd64/esptool erase_flash

GadgetX commented 2 years ago

Unfortunately your settings are wrong check you IO19 that should be TTL not control_reset_pin 🙄🙄🙄

makerbase-mks commented 2 years ago

@derFrickler @automics @GadgetX @JuananBluenoa @m3dkata MKS DLC32 will be open souce recently, we are preparing it.

derFrickler commented 2 years ago

Unfortunately your settings are wrong check you IO19 that should be TTL not control_reset_pin roll_eyesroll_eyesroll_eyes

No, TTL is definitely on GPIO_NUM_22

GadgetX commented 2 years ago

Unfortunately your settings are wrong check you IO19 that should be TTL not control_reset_pin roll_eyesroll_eyesroll_eyes

No, TTL is definitely on GPIO_NUM_22

I'm not sure if you have MKS dlc32 🤔 io19 is TTL 🙄🙄🙄

derFrickler commented 2 years ago

I have a DLC32 v1.1 and TTL for Laser/Spindle is on IO22. Says the schematics (labeled LC) https://github.com/makerbase-mks/MKS-DLC32/blob/main/hardware/MKS%20DLC32%20V1.1_002/MKS%20DLC32%20V1.1_002%20SCH.pdf As well as my measurements on the TTL output when i run "M03 S500" on my code. io19 is LCD_MISO which i use for control_reset_pin

GadgetX commented 2 years ago

I have a DLC32 v1.1 and TTL for Laser/Spindle is on IO22.

Says the schematics (labeled LC) https://github.com/makerbase-mks/MKS-DLC32/blob/main/hardware/MKS%20DLC32%20V1.1_002/MKS%20DLC32%20V1.1_002%20SCH.pdf

As well as my measurements on the TTL output when i run "M03 S500" on my code.

io19 is LCD_MISO which i use for control_reset_pin

Yup I understand pin out on schematic it's different to pin out on the board definitely MKS give shit on this what we write !!!

automics commented 2 years ago

Why is closed? Where is the source code?

diruuu commented 2 years ago

@derFrickler do you have config example for FluidNC compatible for MKS-DLC32? Grbl_Esp32 is now become FluidNC but they're using different config file format.

trashypopashy commented 2 years ago

@derFrickler @automics @GadgetX @JuananBluenoa @m3dkata MKS DLC32 will be open souce recently, we are preparing it.

When will you do this? Come on, guys! Go ahead!

daxliniere commented 2 years ago

@makerbase-mks , how is the source code coming along? We understand that your use of Grbl_ESP without releasing the source code is a breach of the Grbl_ESP licence agreement. This was confirmed by Bart Dring, author of Grbl_ESP.

makerbase-mks commented 1 year ago

Code open source late but finally here: https://github.com/makerbase-mks/MKS-DLC32-FIRMWARE