I need some assistance configuring ortur LM2, a makerbase dlc32 v2.1 board and lightburn.
Has anyone got this config working? I could use some wiring advice.
I have the laser working (mostly), and the stepper motors work well. I can’t figure out the limit switch wiring in combo with lightburn config. I’ve omh’d my switches which I believe is correct.
Despite all my iterations of testing I always get an alarm1 hard limit issue as well as a notice that homing failed despite have $21,$22, and $5 set correctly (i believe). If somone could share their wiring that would be greatly appreciated.
Each of the limit switches must connect to SIG and GND on the Makerbase board, not to 3.3V or 5V.
You will want to wire them as normally open (NO), unless you have changed the GRBL settings to expect normally closed.
This means: switch is open = circuit is off = no trigger. When it hits the endstop = switch closes = GRBL sees it as “triggered.”
You can check this by manually hitting the switch while watching the GRBL console with ?, you should see it change the switch state.
Check these GRBL settings in the LightBurn Console:
$21=1 (Enable hard limits)
$22=1 (Enable homing)
$5=0 or 1 (Invert limit pins, depending on switch type - you might need to flip this if they are triggering early)
If the switch triggers the moment you boot-up, try toggling $5. That’s the typical guilty party when it gets the logic backward.
Homing directions:
$23 is controlling the direction it homes; be sure that it is heading toward your limit switches and not away from them.
Try:
$23=1 (or other value depending on your axis layout)
If it homes into nothing or the wrong corner flip the bits here.
Physical Test:
Unplug one limit switch and boot.
If the error clears, then you have a problem with that switch (stuck, bad wire, wrong polarity).
If all switches are off, but it still says “hard limit triggered”, then that is a logic config issue, not wiring.
LightBurn config:
Make sure you are not soft-limiting by accident.
Under Edit > Device Settings, check your workspace size to make sure it matches with what you’ve got and make sure you didn’t accidentally check “Auto-home on startup” before getting that stable.