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
256 stars 105 forks source link

AIR ASSIST with LS ESP32 Pro V 2.1 #478

Open stef-ladefense opened 1 month ago

stef-ladefense commented 1 month ago

If I believe the diagram of version 2.1 of this card, a MOSFET pulls the ground of connector J15 towards GND, its positive contact is on the 12V of the card.

we can therefore supply power a relay or directly a 12V pump if it does not consume more than 1.5A, I would not charge more an XH2.54-2P type connector.

Capture d'écran 2024-06-08 135647

register $44 manages this output and supports 3 values, 0:disable 1:enable(Minimum output 0%) 2:enable(Minimum output 5%).

setting $44=1 works all or nothing. (setting it to 2 releases a little voltage but not enough to make a relay stick or operate the pump).

All that remains is to add an M8 command to the engraving start script to activate the air assist and an M9 command to the end script to stop the pump.

This solution directly powers a 12V 1A air pump without fail.

SB