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
284 stars 115 forks source link

WIFI password with ! does not work #66

Closed insensitiveclod closed 2 years ago

insensitiveclod commented 2 years ago

Hello,

I have a wifi-password that ends with the '!' character. This seems to be a problem for the current firmware. Entering it via WEBUI fails to work Using the GCODE interface to set it results in a parsing error for the interpreter (forgot exactly what it returns); it seems to parse it in a special manner and attributes special meaning to it.

When removing the ! character from the end of my (existing) wifi-network password. it started to work.

To reproduce:

I wasnt able to find a way around this using escapes or quoting; and if there is a way to get it to work, the WEBUI also doesnt know about it (yet)

Cheers !

solawc commented 2 years ago

Hello,

I have a wifi-password that ends with the '!' character. This seems to be a problem for the current firmware. Entering it via WEBUI fails to work Using the GCODE interface to set it results in a parsing error for the interpreter (forgot exactly what it returns); it seems to parse it in a special manner and attributes special meaning to it.

When removing the ! character from the end of my (existing) wifi-network password. it started to work.

To reproduce:

  • Try entering a wifi-password ending with ! in the wifi-gui
  • Use gcode $Sta/Password = blablabla!

I wasnt able to find a way around this using escapes or quoting; and if there is a way to get it to work, the WEBUI also doesnt know about it (yet)

Cheers !

Hello, is the "!" you used in Chinese or English? Currently, Chinese characters cannot be recognized correctly

ryanm101 commented 2 years ago

I have this issue too, characters are in English What is the default password for the MKS_DLC ssid?

torenich commented 2 years ago

It will work if you use one of the available touchscreens to set the password. Unfortunately the ! character is handled differently by the console. There is a way to do it, but you have to key it in the console in a very specific manner. I've never done it, but there is info out there showing how to do it.

EDIT: see below. This is from the original creator of Grbl_ESP32. This is a link to the docs for his new project that is based on Grbl_ESP32.

https://github.com/bdring/FluidNC/wiki/FluidNC-FAQ#special-character-issue

According to the Docs, if I'm reading correctly, your password would be typed out in the console blablabla%21

ryanm101 commented 2 years ago

oh just the ascii code for it.. interesting thank you..

I dont have an LCD as the plan was to run this via octoprint or a headless server.

offtopic: Any recommendation on linux software to manage the cnc machine?

torenich commented 2 years ago

Octoprint works pretty well with the "Better Grbl Support" plugin, at least the last time I used it a few months ago. There is also a server called LinuxCNC. I've never used it, but it's pretty popular.

insensitiveclod commented 2 years ago

I've been using https://github.com/vlachoudis/bCNC

There are some issues with using it together with the ESP32-based boards however; the software doesnt quite like the serial output from the board whenever there's a machine reset. The way that most esp boards are hooked up to USB serial is, however, to perform a reset whenever DTR (i believe) is triggered. And a lot of software triggers the DTR upon startup. There's some small edits one can do in bCNC to get it to play well with the Makerbase-DLC32. bCNC can also push G-Code to a tcp-socket (useful), and has a way to vizualize what the machine will do, as well as basic scripting and manual g-code control.

abinoer commented 2 years ago

The English symbol "!" It is normal