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
262 stars 108 forks source link

Air Assist PIN for DLC32 V1.0 Issue #400

Open zakkaon opened 1 year ago

zakkaon commented 1 year ago

Hi friend, I bought sculpfun s9 laser engraver, where the board using mks.

IMG_20230724_135014

I need help. How do I get signal from lightburn software. To control air assist. Which pins can I use with this version of the board. ?? Thank you very much.

MJ666 commented 11 months ago

If this is running MKS firmware you can try to locate the IO04 pin. Can not see it on the labeling. I also can not see an i2C header (SCL pin). If it is not exposed on a header you can solder a wire directly to the related ESP pin.

Wiki-the-Tinkerer commented 10 months ago

maybe check https://github.com/makerbase-mks/MKS-DLC32/wiki/Hardware-Wiring

ElectricBluefishProductionsInc commented 8 months ago

SCL pin is high by default on my board. Obviously when I connect it to my relay module it sets the relay ON which is not what anyone would expect. Can the default state of the SCL pin be set to low so that we can turn it on and off with the G-Code command when required/cutting? My relay module

Also, Is it possible to use the I2C header and protocol to address a I2C relay? board

MJ666 commented 8 months ago

There are relay modules available wich have an opening and a closing contact. This can solve your problem.

https://www.amazon.de/Hailege-Channel-Module-Isolation-Trigger/dp/B07XY2C5M5/ref=sr_1_8?__mk_de_DE=%C3%85M%C3%85%C5%BD%C3%95%C3%91&crid=DAG7GE2ZTPYV&keywords=relay+module&qid=1700581089&sprefix=relay+moduk%2Caps%2C303&sr=8-8

For this one you need to connect power to 5V. 5V is available at the probe connector.

Yo may also take a lock here how i solve the problem:

https://forum.lightburnsoftware.com/t/control-of-air-assist-with-atomstack-x20/90791/30

Wiki-the-Tinkerer commented 8 months ago

There are relay modules available wich have an opening and a closing contact. This can solve your problem.

The relays in the drawing looks to have both NC Normally closed and NOpen. So should be no prob, as long as you get a signal to them, either way.

ElectricBluefishProductionsInc commented 8 months ago

I will give that a try... I did not consider reversing the relay, was focused on the board.