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

Relay connection #351

Open TomasKliner opened 1 year ago

TomasKliner commented 1 year ago

Hello, i was wondering how would i go about connecting Relay to the board in a way that would Turn on at the same time as laser engraver.

In the past i tried connecting standard relay to the ttl port but since its PWM signal i tried to switch it for 12v PWM RC controlled relay, but that seems to be having issues also. I assume the TTL port is not suitable/compatible.

Is there any other way that i could connect to the board a standard 5v relay, that would turn on at the same time as the laser ? (Trying to create simple plasma cutter, using lasergrbl)

AndWalu commented 1 year ago

It will be easier to attach 12V relay: 12V relay

5V relay: 5V relay

These are just theoretical schematic, I didn't do them.

The relay should remain on for 10-20 ms after the pulse disappears.

J7 is described as Spindle on PCB v2.

dart1280 commented 1 year ago

Why not use the cooling output that already exists?. arrange via post processor or gcode generator to send a M7 before each M3 and an M9 to switch it off after each M5 in your gcode. Fit a relay board like https://www.aliexpress.com/item/1005004306855775.html to SCL as per the instruction manual?

scl