Z-Axis Upgrades for Fixed-Focus Diodes
Most consumer diode lasers ship with a fixed-focus head, you set Z manually with a spacer and lock it. For multi-pass thick cuts, varied material thicknesses, and depth-mapped relief work, a motorized Z is a transformative upgrade.
Why Z-axis matters
- Multi-pass cuts on thick stock: as material is removed, the working surface drops away from focus. Without Z step, by pass 5 you're firing into out-of-focus space.
- Different material thicknesses: switching from 3mm ply to 6mm requires re-focusing. Motorized Z makes this instant.
- Auto-focus probe: drops the head onto material, retracts to focal distance. Eliminates spacer fumbling.
- Z-step-per-pass automation: Lightburn drops Z between passes for deep cuts and relief.
- Production batch consistency: auto-focus per part eliminates manual variation.
The three Z-axis upgrade tiers
Tier 1: Manual screw-jack Z ($30-80)
- Replace the static head mount with a screw-jack mount.
- Manually crank the head up/down with a hand knob.
- Marker scale or digital caliper for repeatability.
- Cheap, works, no electronics. Good for occasional thickness changes.
Tier 2: Motorized Z (NEMA 17 stepper + lead screw) ($80-180)
- Add a stepper motor + lead screw assembly to the head mount.
- Wire the stepper to a spare GRBL output OR a separate Arduino.
- Lightburn → enable Z axis → Z-step-per-pass works.
- Best balance of cost vs capability.
Tier 3: Full motorized Z + auto-focus probe ($150-300)
- Stepper motor + touch probe + microcontroller.
- Probe drops head onto material → controller stores Z → retracts to focal distance.
- Fully automated focus per job.
- Premium kits: Sculpfun Z-axis ($120), xTool S1 has it built in, OneLaser includes it.
Parts list (Tier 2 motorized Z DIY)
| NEMA 17 stepper motor | $10-25 |
| Lead screw (T8, 100-200mm) | $10-20 |
| Linear rails (2× 100-200mm) | $15-30 |
| Stepper driver (A4988 or DRV8825) | $5-15 |
| Z-axis bracket (3D-printed) | $5 |
| Coupler shaft | $3-8 |
| Wiring harness | $5-15 |
| Total | $50-120 |
Wiring to GRBL controller
Most diode controllers have spare output pins on the GRBL board:
- Identify a spare stepper driver socket (Z is usually unconfigured on diode boards).
- Plug in your A4988 or DRV8825 stepper driver.
- Wire stepper motor coils to the driver.
- In GRBL config, enable Z-axis:
$$command, set steps per mm, max speed, etc. - Lightburn → Device Settings → Enable Z axis with autofocus.
- Test: jog Z up/down 1mm; verify physical movement matches.
Auto-focus probe (Tier 3)
- Touch probe, small switch / button mounted next to the head that triggers when the head touches material.
- Wired to GRBL "probe" pin.
- GRBL command
G38.2drops head until probe triggers. - Lightburn → Move panel → Auto Focus button (after enabled in Device Settings).
- One-time procedure: home, measure focal distance from probe trigger point, set Z offset.
Common tuning
- Steps per mm: for an 8mm lead-screw + 200-step stepper + 16-microstep driver: 400 steps/mm. Verify by jogging 10mm and physically measuring.
- Max Z travel: set in GRBL config to prevent crashing the head into the bed.
- Z homing direction: set so home is at maximum height, not bottom.
- Auto-focus speed: slow on probe approach (5-10 mm/min) so the probe doesn't crash.
Common DIY mistakes
- No mechanical stop: head crashes into the bed at full speed. Add a hard limit.
- Wrong stepper driver current: overheats motor or under-drives. Set to ~1A for NEMA 17.
- Probe wired with wrong polarity: Lightburn doesn't detect contact. Check NO/NC config.
- GRBL Z-direction inverted: head goes UP instead of DOWN. Fix in GRBL config.