Code Monkey home page Code Monkey logo

mks-dlc32-firmware's Introduction

MKS-DLC32-FIRMWARE

The source code of MKS DLC32.

Environment construction:

  • vscode

  • platformIO

PlatformIOc needs to be installed on vscode.

Open Firmware with vscode, and platformIO will be started, In the platform.ini file,

default_envs = mks_dlc32_v2_1

Note:We will make a pin suitable for V1.0,Settings corresponding to the selection of coreXY.

Then compile and download.

mks-dlc32-firmware's People

Contributors

elf128 avatar makerbase-mks avatar solawc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mks-dlc32-firmware's Issues

Firmware source code looks to be not the latest available version.

Looks to be the firmware published here is not the latest version where the released binaries are build from? There are some differences in appearance when the firmware is build from this source and the prebuild versions. It is also unclear from reading the source code which options are used to build the different variants of the firmware like CNC, Laser, CoreXY, V1.0, V2.0, TS35, TS24 etc. It would be nice if this could be updated with latest changes.

Lcd TS24?

Solo he encontrado la pantalla TS35 y nada para la TS24, como configuro la pantalla TS24 de MKS?

Jog buttons

Need For Big machines jog movements, and the last firmware.

Last firmware release

The last binary release is v2.20, but the source code available is only v2.1.

image

Can you upload the 2.20 firmware version?

Best regards

Missing Config.h Statements/ Irregular homing need

I've noticed there are statements in the general GRBL config.h file examples that aren't present in the MKS branch of GRBL for the DLC32. I assume it would be possible to just copy and past those statements over into the MKS config file and then make sure it will compile properly. Specifically the code section I am wanting to add is in regards to the homing cycles, as I need my laser to Just home the x axis and then I want the Y axis to just be set to zero (rotary, so no real home) and no Z axis.

#define HOMING_CYCLE_0 (1<<X_AXIS) // REQUIRED: First move X home
//#define HOMING_CYCLE_1 ((1<<X_AXIS)|(1<<Y_AXIS)) // OPTIONAL: Then move X,Y at the same time.
// #define HOMING_CYCLE_2 // OPTIONAL: Uncomment and add axes mask to enable

Assuming Y axis is active but not homed, would it just set it to zero then since it has not home switch? Plan was to also put in (I believe its no_pin) for the y home switch as well. Or would it be easier to just setup an optical interrupt switch just for homing the Y even though its position is irrelevant.

Interface I2C

Hello, I have a Roly LaserMatic 10 laser machine that has this control board.
I contacted the seller of the machine and he tells me that the plate is made by you. My intention is to use the I2C output to connect a relay and thus take advantage of it to turn the air assistance on and off. Something similar to the schematic attached. I don't know if you have enabled the I2C output on this board. Looking for information, it said that the GPIO22 is the SCL_I2C output, is it correct on this board?
When I start Lightburn it tells me that it is a MKS DLC32 v.2.1 firmare V4.00 (8M.H35.20230428).
Placa
Air_pump

Uploading makes a mess

Hi,

If i upload the firmware via vscode, it makes something i unable to figure out. E.g i can not change $32 to 1.
It says it did, but on next start it is back to 0.
And issuing an M4 shows error 20 aka unknow gcode even if $$ shows $32=1.

Maybe something with the partitions is not right?

Also how can i make a firmware that contains also the spiffs bin as well?

Thanks

Where can I find more probe settings in the source code?

Hello. I've been struggling with the probe setup for a few hours now. I know that I can set the offset using gcode, but it would be more convenient for me to set it using the source code. My probe has a height of 10mm, after making the probe the machine is set to a height of 20mm from the material. Using 19mm courts, the machine also sets itself to 20mm after the test, even though it is actually set at 39mm from the material. It turns out that the height of the probe and the distance of the reflection are fixed in the code. I was looking for constants, variables that store this offset and distance of departure from the probe after the test. Without result. Maybe one of you would have an idea.

I want to contribute

Hi all!
Will be glad if i can contribute , but not have high experience , and also i dont know how contribute or if i can...
I have a site that convert a raster image to gcode (with continuous path for foam cutter), also you can copy any compatible image from internet and paste in page and will be converted in gcode automatically (for principiants is the best mode to begin) , from same page can send code to the grbl and cut , and another implementations.
All that you know is because i spend more of 30 years to find sample solutions at my problems , I have no college degrees ,my experience is only google,github,ecc.
I have this site https://www.costycnc.it/cm8 html+js page , i use potrace algoritm for tracing a raster image ,and coordonates convert to gcode. Also i create my own alghoritm to create a unique continuous path from all paths.
I think that will be interesting if mks dlc2 have a implementation like my site where principiants can copy or open a raster image and convert to gcode and cut (for moment only contour tracing because is more simple and i think that is not a cool idea to copy lasergrbl structure in mks32)
it's just a proposal and I don't mind at all if no one is interested!

Last firmware source code

Please release last firmware source code for MKS DLC32 2.1

The current firmware (2.1) is very old and full of bugs

Spindle type

Hi.
I would like to build the firmware for my laser engraver.
With SpindleType::PWM the output is fine, however it is not supporting M4, but the official firmware has no issue with it.
Setting to SpindleType::Laser and configuring LASER_OUTPUT_PIN there is no signal.

What is the issue then? How can i enable M4?

Thanks

TS24 Source code availability

Hello,

It seems that the source code for MKS DLC32 using TS24 display is not available - only for TS35. Is it possible to publish the source code for TS24?
I read an old comment saying the the TS35 and TS24 would be merged - this would be great, but just making the TS24 source code available would be very helpful by now.
Although the board and display are very good, the usability for this board in CNC using TS24 if VERY restricted and I'd like to improve the display functionality - and if there is any interest, make the modifications public, of course.

$beep_status can't work properly

hi!

I found a bug and tried to fix it

The problem is located at Firmware\Grbl_Esp32\src\mks\MKS_TS35.h

Change the contents of this file to the code in next

line 29

#if defined(USE_BEEP)
#define BEEP_ON ts35_beep_on()
#define BEEP_OFF ts35_beep_off()
#else
#define BEEP_ON
#define BEEP_OFF
#endif

Different axis movement direction for web applications

MAYBE the firmware on the WebServer side (problem present only on Web-UI and APP) reverses the direction of movement of the X and Y axes does not correspond to the actual (and correct) one in Lightburn/LaserGRB.

Have you identified the part of the firmware where you can customize the direction of the axes ONLY for web applications such as Web-UI and APP?

problem of wrong file upload

After uploading the wrong index.html.gz and updating it, it is difficult to access from the web.
Is the only way to solve the problem is to initialize the firmware?

minimo pwm accensione laser

Salve, ho bisogno di alzare il minimo pwm, su grbl usavo nel config.h il valore pwm_min e lo impostavo a 25 (pwm 0-255) oppure a 100 (pwm 0-1000). nel file config.h non trovo niente del genere. come posso fare ad accendere il laser a 1%?

Problem with firmware compiled and uploaded

I downloaded the last version of the firmware from here

https://github.com/makerbase-mks/MKS-DLC32-FIRMWARE

compiled it with platformio and uploaded the bin file to the mks dlc32 v2.1 board through the mkslasertool. I had no issues on this workflow but once I tried to connect with grbl controller I have this error

Expecting grbl version string. Unable to parse response.
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPY_FAST_FLASH_BOOT)

with the same grbl controller, before flashing the firmware (then with the main firmware uploaded by the producer), I had no problems with communication with the board. I was able to open the communication, parse $$ and so on.

Thanks in advance

We have news???!!!

Hello, I think it took too long to release the source code and people lost interest in the board...
Please tell me I'm wrong, that you are already developing opensources for CNC, laser and other uses for the MKS-DLC32...

FIRMWARE OPEN SOURCE:

Hi everyone,

I have a big problem, I mounted the open firmware with various modifications and customizations, I am left with a huge problem, when I rasterize a photo the engine goes jerky, can you help me please? Thank you @solawc @makerbase-mks @abinoer

TWO TREES TTS-10 80w

hello
I have a TWO TREES TTS-10 80w diode laser
board name makerbase MKS LTS v1.1
x and y1 axes work normally. I use LightBurn.
when I let the product do it for me, the laser doesn't work, I also don't have Wi-Fi.
[PRODUCER: MKS DLC32]
[VER:1.1h.2022102001:]
[OPT:VMPH,63,500]
Target buffer size found
[MSG:Using machine:MKS DLC32]
[MSG:No Wifi]

Im asking for help

Compiling for corexy

Is this posible? I changed the configuration to compile for corexy but seems that a file is missing

Flame Sensor

Hello,
How to add the flame detector (on the probe pin and $37=1 according to the documentation)

Thank You.

Compiling and uploading this firmware disables TS35-R V2

When I compile and upload the .bin from from this repo without any changes to a DLC32 V2.1 The screen is disabled and I can't connect to the board using the MKS tool. If I re-flash one of the pre-built binaries, the board and screen works as expected. Is there a particular config value that I'm missing to enable the screen or does the .bin file have to have a particular name ? I get no errors when compiling and uploading the binary. Looking through the code, it seems already setup for a TS35 screen and all the flags seem to be enabled, am I missing something ? Thanks

TWO TREES TTS-10 80w

I have a TWO TREES TTS-10 80w diode laser
board name makerbase MKS LTS v1.1
I would need a new one (bin file) because my system has dried up.
Im asking for help

Franc

firmware fork.

is this firmware really a fork of fluidnc?

because I am interested in using it with a wall plotter.

invertire logica soltanto di un fine corsa

Salve, è possibile invertire il parametro $5 riferito soltanto al finecorsa per l'asse Z? in sostanza vorrei il finecorsa X impostato a $5=0, Y impostato a $5=0 e Z impostato a $5=1...è possibile? Grazie

Enhancing MKS DLC32 firmware

Is there any specific to start? I am working on enhancing the MKS DLC32 firmware to support autonomous tool changing functionality when switching from the laser engraving module to the driller module. I would like to automate the trigger actions and send messages to the Universal Gcode Sender (UGS) when a tool change occurs.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.