# OLM2 - Adding Z-Axis Stepper Driver to Mainbaord

**URL:** <https://forum.lightburnsoftware.com/t/olm2-adding-z-axis-stepper-driver-to-mainbaord/55869>\
**Category:** Ortur Lasers\
**Created:** [January 1, 2022, 3:45am UTC](https://forum.lightburnsoftware.com/t/olm2-adding-z-axis-stepper-driver-to-mainbaord/55869 "2022-01-01T03:45:45Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![DanielS](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/daniels/32/36160_2.png) [@DanielS](https://forum.lightburnsoftware.com/u/DanielS)\
**Post date:** [January 1, 2022, 3:45am UTC](https://forum.lightburnsoftware.com/t/olm2-adding-z-axis-stepper-driver-to-mainbaord/55869/1 "2022-01-01T03:45:45Z")

</div>

Hello,

From the looks of it the OLM-MAX-V10 mainboard is fully capable to control the z-axis, at least hardware-wise. All it would take is the driver chip and a few auxiliary resistors and caps, provided that the firmware contains the necessary code to drive the z-axis.

Has anyone successfully managed to add a z-axis driver to the mainboard and is the firmware able to talk to the driver?

---

<div class="post-metadata">

**Author:** ![jkwilborn](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/jkwilborn/32/63089_2.png) [@jkwilborn](https://forum.lightburnsoftware.com/u/jkwilborn)\
**Post date:** [January 1, 2022, 6:12pm UTC](https://forum.lightburnsoftware.com/t/olm2-adding-z-axis-stepper-driver-to-mainbaord/55869/2 "2022-01-01T18:12:27Z")

</div>

> [@DanielS](#):
>
> OLM-MAX-V10 mainboard is fully capable to control the z-axis

Why/where do you think this?

Looked up the board, but didn’t find much on it. The picture was so small it was really illegible.

What are you going to use it for?

There are motor drivers that are pretty low cost for larger machines. I bought this one for my Ruida.

> **[CNC Digital Stepper Driver DM556 Stepper Motor Controller 2-phase Stepper Motor...](https://www.amazon.com/Digital-Stepper-Controller-2-phase-subdivision/dp/B08J3NFF9V)**
>
> Specification:5-24 V universal to control signal, without series resistance;TTL compatible and optically isolated inputs to 5.6A;Input voltage 20-50VDC;Up to 128 subdivision, 16 selectable micro-step resolutions of 400-25,600 via DIP switches;8...

Good luck, let us know how it works out…

😺

---

<div class="post-metadata">

**Author:** ![DanielS](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/daniels/32/36160_2.png) [@DanielS](https://forum.lightburnsoftware.com/u/DanielS)\
**Post date:** [January 1, 2022, 11:48pm UTC](https://forum.lightburnsoftware.com/t/olm2-adding-z-axis-stepper-driver-to-mainbaord/55869/3 "2022-01-01T23:48:08Z")

</div>

![2022-01-02 07_30_22](https://forum.lightburnsoftware.com/uploads/default/original/3X/d/b/db07b1e6264564260759535191505cccc0e0a269.jpeg)

I annotated an image that shows all the unpopuled things on the board.  
If it is as easy as soldering a A4988 driver to the board then I’d rather go that way than adding yet another stand-alone device to my collection.

Now it would be interesting to see if Ortur added the necessary code into their firmware. From a quick test last night it seems that at least something is happening when I try to control Z via laserGRBL. X and Y lock up to hold position, which is a good sign. Haven’t tried LightBurn yet but the results should be the similar.

I haven’t made up my mind yet what I would use it for, but I guess either a small stepper to adjust the laser or to lift/lower a platform under the laser.

---

<div class="post-metadata">

**Author:** ![berainlb](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/b/85f322/32.png) [@berainlb](https://forum.lightburnsoftware.com/u/berainlb)\
**Post date:** [January 2, 2022, 12:02am UTC](https://forum.lightburnsoftware.com/t/olm2-adding-z-axis-stepper-driver-to-mainbaord/55869/4 "2022-01-02T00:02:41Z")

</div>

I for one fully support you attempting to populate those spots on the board. I think there’s a chance that some level of Z-support was left out of the firmware as I know that LaserGRBL has special GRBL builds for Arduino that exist only to remove Z-axis support as it’s necessary to support a 2-axis laser but I could be wrong.

Worse case is you could compile a custom version of GRBL. Might be a good time to force Ortur’s hand in complying with their GPL commitments and releasing the source.

---

<div class="post-metadata">

**Author:** ![OrturTech](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/orturtech/32/7211_2.png) [@OrturTech](https://forum.lightburnsoftware.com/u/OrturTech)\
**Post date:** [January 2, 2022, 12:57am UTC](https://forum.lightburnsoftware.com/t/olm2-adding-z-axis-stepper-driver-to-mainbaord/55869/5 "2022-01-02T00:57:10Z")

</div>

> [@DanielS](#):
>
> OLM-MAX-V10 mainboard is fully capable to control the z-axis,

mmm not really. needs a custom firmware and is not only the stepper driver that is missing  
more amps would be required and would also require a better power control

i am not an expert on the electronics part of it, but i am sure is more that just hot air a stepper driver in

Firmware does not control Z currently, but i you have the skills you could modify the source code. 1.4 is public, 1.42 not yet is being cleaned and commented as we speak.

---

<div class="post-metadata">

**Author:** ![berainlb](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/b/85f322/32.png) [@berainlb](https://forum.lightburnsoftware.com/u/berainlb)\
**Post date:** [January 2, 2022, 1:03am UTC](https://forum.lightburnsoftware.com/t/olm2-adding-z-axis-stepper-driver-to-mainbaord/55869/6 "2022-01-02T01:03:48Z")

</div>

Really appreciate the insight Gil.

Where can the 1.4 source code be found? I’ve never seen this? I may have to eat crow if it’s available.

---

<div class="post-metadata">

**Author:** ![DanielS](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/daniels/32/36160_2.png) [@DanielS](https://forum.lightburnsoftware.com/u/DanielS)\
**Post date:** [January 2, 2022, 6:21pm UTC](https://forum.lightburnsoftware.com/t/olm2-adding-z-axis-stepper-driver-to-mainbaord/55869/7 "2022-01-02T18:21:30Z")

</div>

> [@OrturTech](#):
>
> Firmware does not control Z currently, but i you have the skills you could modify the source code. 1.4 is public, 1.42 not yet is being cleaned and commented as we speak.

I’d would also be interested in the source but I can’t find it anywhere.

I hooked the mainboard up to the oscilloscope and it seems that the firmware has the necessary code parts to control the missing stepper driver. I can see nice pulses on the STEP pin whenever I click one of the Z-up/down buttons and the DIR pin toggles nicely between HIGH and LOW depending on whether I click one of the Z-up-buttons or Z-down-buttons.

> [@OrturTech](#):
>
> mmm not really. needs a custom firmware and is not only the stepper driver that is missing  
> more amps would be required and would also require a better power control

7 resistors and 6 caps.  
I can see that a better power control might be necessary. I have ordered a stepper driver which should be here in a few days and then I’ll run some experiments.

---

<div class="post-metadata">

**Author:** ![berainlb](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/b/85f322/32.png) [@berainlb](https://forum.lightburnsoftware.com/u/berainlb)\
**Post date:** [January 2, 2022, 7:02pm UTC](https://forum.lightburnsoftware.com/t/olm2-adding-z-axis-stepper-driver-to-mainbaord/55869/8 "2022-01-02T19:02:55Z")

</div>

> [@DanielS](#):
>
> I hooked the mainboard up to the oscilloscope and it seems that the firmware has the necessary code parts to control the missing stepper driver. I can see nice pulses on the STEP pin whenever I click one of the Z-up/down buttons and the DIR pin toggles nicely between HIGH and LOW depending on whether I click one of the Z-up-buttons or Z-down-buttons.

That’s promising. I suspect Z-homing has been disabled in firmware but probably wouldn’t want this anyway depending on plan usage. Can you see if Z is activated during homing process?

---

<div class="post-metadata">

**Author:** ![DanielS](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/daniels/32/36160_2.png) [@DanielS](https://forum.lightburnsoftware.com/u/DanielS)\
**Post date:** [January 2, 2022, 7:18pm UTC](https://forum.lightburnsoftware.com/t/olm2-adding-z-axis-stepper-driver-to-mainbaord/55869/9 "2022-01-02T19:18:23Z")

</div>

You are right. It doesn’t try to home Z.

---

<div class="post-metadata">

**Author:** ![DanielS](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/daniels/32/36160_2.png) [@DanielS](https://forum.lightburnsoftware.com/u/DanielS)\
**Post date:** [January 6, 2022, 10:37am UTC](https://forum.lightburnsoftware.com/t/olm2-adding-z-axis-stepper-driver-to-mainbaord/55869/10 "2022-01-06T10:37:55Z")

</div>

I haven’t received the HR4988 driver yet, so I wired up a TMC2209 board and I’m happy to say that it works.  
That on the other hand means that even if the HR4988 (and all the other missing auxiliary components), when soldered to the main board, does not work, one could still grab the signal from the mainboard and feed it to an external driver and be able to control a stepper via the jog buttons.

This is the driver board I’m currently using:

 ![image](https://forum.lightburnsoftware.com/uploads/default/original/3X/7/7/77ef5cb16ba12a0eed52ccc82e1cbd7d49c52999.jpeg)

Here is a video on Youtube where you can see me control a stepper via the unpopulated pads on the Laser Master 2 mainboard from LaserGRBL:  
[Video on Youtube](https://youtu.be/7KUjvl8RZng)

---

<div class="post-metadata">

**Author:** ![berainlb](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/b/85f322/32.png) [@berainlb](https://forum.lightburnsoftware.com/u/berainlb)\
**Post date:** [January 6, 2022, 1:25pm UTC](https://forum.lightburnsoftware.com/t/olm2-adding-z-axis-stepper-driver-to-mainbaord/55869/11 "2022-01-06T13:25:11Z")

</div>

Excellent progress. The clicking sound in the video, is that from a button press or that’s coming from the stepper? Overall, the driver seems to be driving the motor more quietly than the factory part.

---

<div class="post-metadata">

**Author:** ![DanielS](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/daniels/32/36160_2.png) [@DanielS](https://forum.lightburnsoftware.com/u/DanielS)\
**Post date:** [January 6, 2022, 3:31pm UTC](https://forum.lightburnsoftware.com/t/olm2-adding-z-axis-stepper-driver-to-mainbaord/55869/12 "2022-01-06T15:31:44Z")

</div>

Oh, that’s just me clicking the Z jog buttons 🙂 . The TMC2209 runs in StealthChop mode so it’s significantly quieter than the HR4988. I should get the HR4988 in a few days and then I’ll compare the two.

---

<div class="post-metadata">

**Author:** ![RogerMars21](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/r/f475e1/32.png) [@RogerMars21](https://forum.lightburnsoftware.com/u/RogerMars21)\
**Post date:** [January 19, 2022, 11:20pm UTC](https://forum.lightburnsoftware.com/t/olm2-adding-z-axis-stepper-driver-to-mainbaord/55869/13 "2022-01-19T23:20:46Z")

</div>

I wanted to know the exact version of the motherboard present on my Ortur lm2 pro S2 and I had the pleasant surprise to see what the free entries on the card are for. Maybe that can help?

 ![IMG_8214](https://forum.lightburnsoftware.com/uploads/default/original/3X/d/8/d8804ccb4a881b6d5972ff01df58020ced912551.jpeg)

---

<div class="post-metadata">

**Author:** ![DanielS](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/daniels/32/36160_2.png) [@DanielS](https://forum.lightburnsoftware.com/u/DanielS)\
**Post date:** [January 22, 2022, 7:57pm UTC](https://forum.lightburnsoftware.com/t/olm2-adding-z-axis-stepper-driver-to-mainbaord/55869/14 "2022-01-22T19:57:10Z")

</div>

After a couple of days of tinkering everything seems to be working just fine. I populated all the empty spots and I can now control a third stepper directly from the software.

Here is my mainboard after the modifications:

 ![image](https://forum.lightburnsoftware.com/uploads/default/original/3X/6/6/661e2dcdf5337384b2f1a53e7c126ef4ef55fc0d.jpeg)

 ![image](https://forum.lightburnsoftware.com/uploads/default/original/3X/4/4/4459097da8bd30a3f22f69cdf70c682e1f43d3f7.jpeg)

**Area 1** is the most important one. I added an HR4988 stepper driver, 2 big sense resistors and a couple of smaller caps and resistors. Two resistors act as potential divider and set Vref. I chose 1.15V which, in combination with 270mOhm sense resistors, should result in a drive current of 0.5A.

**Area 2** had a pull-up resistor for the Enable-pin of the HR4988 missing.

**Area 3** now contains all the circuitry for the LED that’s lit up unless the Z-endstop-switch is depressed. I’m not planning to add a switch for the Z-Axis but it’s nice to have that light so I added all the missing components.

**Area 4** is the added socket for the stepper.

**Video on Youtube:**

[![](https://img.youtube.com/vi/E-L76Ibc5ck/maxresdefault.jpg "Ortur Laser Master 2 - Z-Axis Control Part 2") ](https://www.youtube.com/watch?v=E-L76Ibc5ck)

Now, If the laser is running at 100% and all 3 steppers are active, It would theoretically draw more current than the PSU can supply. Upgrading to a 4A PSU is an easy fix.

---

<div class="post-metadata">

**Author:** ![jkwilborn](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/jkwilborn/32/63089_2.png) [@jkwilborn](https://forum.lightburnsoftware.com/u/jkwilborn)\
**Post date:** [January 22, 2022, 8:30pm UTC](https://forum.lightburnsoftware.com/t/olm2-adding-z-axis-stepper-driver-to-mainbaord/55869/15 "2022-01-22T20:30:32Z")

</div>

Great job… Thanks for posting along with descriptions.

What kind of extra components did you need to enable the Z limit switch?

Take care

😺

---

<div class="post-metadata">

**Author:** ![berainlb](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/b/85f322/32.png) [@berainlb](https://forum.lightburnsoftware.com/u/berainlb)\
**Post date:** [January 22, 2022, 9:49pm UTC](https://forum.lightburnsoftware.com/t/olm2-adding-z-axis-stepper-driver-to-mainbaord/55869/16 "2022-01-22T21:49:32Z")

</div>

This is amazing. Great work.

> [@DanielS](#):
>
> If the laser is running at 100% and all 3 steppers are active, It would theoretically draw more current than the PSU can supply

Realistically you wouldn’t be doing dynamic Z-axis motion for laser cutting anyway. Really only for focus, material height adjustments, and multi-pass z-heigh adjustment. So you’d probably be okay.

Are you thinking to allow for laser module height adjustment or bed level adjustment?

Right now you wouldn’t be able to home without a custom GRBL build. We need to followup with @OrturTech to see where and how Ortur GRBL source code can be accessed.

---

<div class="post-metadata">

**Author:** ![jkwilborn](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/jkwilborn/32/63089_2.png) [@jkwilborn](https://forum.lightburnsoftware.com/u/jkwilborn)\
**Post date:** [January 22, 2022, 10:52pm UTC](https://forum.lightburnsoftware.com/t/olm2-adding-z-axis-stepper-driver-to-mainbaord/55869/17 "2022-01-22T22:52:58Z")

</div>

I did that on an early version, by simply commenting out the Z home function call.

Don’t know if the Ortur lasers are open sourced. I though you could drop a version of grbl on them but I do not posses one, so haven’t tried.

That was why I asked about how much trouble enabling the Z limit hardware. Might be easier than hacking the code if the source is hard to come by.

😺

---

<div class="post-metadata">

**Author:** ![berainlb](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/b/85f322/32.png) [@berainlb](https://forum.lightburnsoftware.com/u/berainlb)\
**Post date:** [January 23, 2022, 1:24am UTC](https://forum.lightburnsoftware.com/t/olm2-adding-z-axis-stepper-driver-to-mainbaord/55869/18 "2022-01-23T01:24:46Z")

</div>

GRBL Itself is GPL 3 so Ortur are obliged to release their modifications. Gil mentioned earlier that the source was available but nobody seems to know where. We’ll just need to followup.

I imagine it wouldn’t necessarily be too difficult to come compile your own firmware but would be far quicker to start from a known working base.

---

<div class="post-metadata">

**Author:** ![DanielS](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/daniels/32/36160_2.png) [@DanielS](https://forum.lightburnsoftware.com/u/DanielS)\
**Post date:** [January 23, 2022, 5:38am UTC](https://forum.lightburnsoftware.com/t/olm2-adding-z-axis-stepper-driver-to-mainbaord/55869/19 "2022-01-23T05:38:54Z")

</div>

> [@jkwilborn](#):
>
> What kind of extra components did you need to enable the Z limit switch?

 ![image](https://forum.lightburnsoftware.com/uploads/default/original/3X/2/f/2f15eb8dfc9c1eb81e87dbe59096bc3ca2cc49c2.jpeg)

1. 0603 diode (probably any diode will do)
2. 0402 100nF capacitor
3. 0402 1000 Ohm resistor
4. 0402 3300 Ohm resistor (current limiting resistor for the LED, other values possible depending on how bright you want the LED to be)
5. 0603 LED

Even though it should technically enable the Z-limit switch, this function seems to be deactivated in the firmware. So pretty much all it does right now is turning on the LED when a z-limit button is not attached or an attached button is not depressed and vice versa.

\_\_

> [@berainlb](#):
>
> Realistically you wouldn’t be doing dynamic Z-axis motion for laser cutting anyway. Really only for focus, material height adjustments, and multi-pass z-heigh adjustment. So you’d probably be okay.

The problem is that as soon as there is movement even on only one axis, all other steppers lock up to hold position. So there is definitely a current draw even though Z doesn’t do anything most of the time.

\_\_

> [@berainlb](#):
>
> Are you thinking to allow for laser module height adjustment or bed level adjustment?

I bought an adjustable mount for the laser head and the plan right now is to 3D-print a bracket for the stepper and then see how that works out.

 ![image](https://forum.lightburnsoftware.com/uploads/default/original/3X/b/f/bfed0d1d86dab690e35e8152594bbf011256b33c.jpeg)

\_

> [@berainlb](#):
>
> GRBL Itself is GPL 3 so Ortur are obliged to release their modifications. Gil mentioned earlier that the source was available but nobody seems to know where. We’ll just need to followup.
> 
> I imagine it wouldn’t necessarily be too difficult to come compile your own firmware but would be far quicker to start from a known working base.

I agree, it would be much easier if we had the source. @OrturTech

---

<div class="post-metadata">

**Author:** ![berainlb](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/b/85f322/32.png) [@berainlb](https://forum.lightburnsoftware.com/u/berainlb)\
**Post date:** [January 23, 2022, 5:50am UTC](https://forum.lightburnsoftware.com/t/olm2-adding-z-axis-stepper-driver-to-mainbaord/55869/20 "2022-01-23T05:50:38Z")

</div>

> [@DanielS](#):
>
> all other steppers lock up to hold position

Hmm… You’d think it could support at least 1 additional stepper since that’s normal, especially without a laser drawing current. Curious if there’s something else potentially going on. Or maybe just your new stepper draws more current than the original ones.

> [@DanielS](#):
>
> I bought an adjustable mount for the laser head and the plan right now is to 3D-print a bracket for the stepper and then see how that works out.

Very cool and a nice hack.

[Next page](https://forum.lightburnsoftware.com/t/olm2-adding-z-axis-stepper-driver-to-mainbaord/55869.md?page=2)
