← Projects
laser intermediate Aug 4, 2026 ◑ 3 views ◯ 5 min read

Build a DIY Laser Rotary Attachment: Stepper Motor, Rollers, and GRBL Wiring

Build time: 4-6 hours
Tools needed: 3D printer or laser cutter for the frame (or hand tools if adapting an existing frame), soldering iron for motor connector wiring, digital calipers, small screwdriver set, hot glue or thread-lock for securing rollers
Parts List
rotary attachmentdiy buildstepper motorgrblray5 20wlightburnlaser project

This site already has a full guide to using a rotary attachment once you own one — engraving tumblers, cylindrical objects, and jewelry with the settings and jigging that takes. What it doesn't cover is building one from scratch, which is worth doing if you want a rotary sized for your specific range of workpieces (slim pens up through wide tumblers) or you'd rather spend $40-60 in parts than $150-250 on a commercial unit. A DIY roller-style rotary is a genuinely simple build: a stepper motor, two sets of rollers, a frame, and a GRBL wiring change — no custom electronics beyond what your laser controller already supports.

How a Roller Rotary Works

The roller-style rotary (as opposed to a chuck-style rotary that clamps the workpiece directly to the motor shaft) uses two parallel sets of rollers: one set driven by the stepper motor, one set idle. The workpiece rests on top of both roller sets and rotates by friction as the driven rollers turn, exactly like a lathe's tailstock-free steady rest. This is the simpler build and the more common style for tumblers, cups, and round stock of varying diameter, since the same rollers accommodate a wide range of workpiece sizes without reconfiguration — a chuck-style rotary needs the workpiece centered and clamped to the shaft directly, which works better for uniform, precisely round stock like pen blanks.

Difficulty, Time, and Tools

This is a beginner-to-intermediate electromechanical build. The mechanical assembly (frame, rollers, motor mount) is straightforward; the part that requires care is the GRBL wiring and configuration, since you're either adding a 4th axis driver to your controller or repurposing the Y-axis output, and a wiring mistake here can affect your laser's normal cutting axes if not done carefully.

Wiring Approaches

ApproachProsCons Y-axis substitution (swap the rotary in place of the Y motor via a switch or connector)No extra driver needed, works on any GRBL board with a Y axis, cheapest optionCan't cut and rotary-engrave without physically swapping connectors; must recalibrate steps/mm each time you swap back Dedicated 4th-axis driver output (if your controller board has one, e.g. many GRBL boards with an A-axis header)No swapping, rotary and normal axes coexist, LightBurn's rotary setup wizard expects thisRequires a controller with a spare stepper driver/axis, slightly more wiring External stepper driver + microcontroller as a semi-standalone rotaryFully independent of the laser controller, portable between machinesMost complex to set up, needs its own driver board and firmware/GRBL config

For most owners of a Longer Ray5 20W or similar GRBL-based diode laser, the Y-axis substitution method is the practical starting point — LightBurn explicitly supports this workflow (its rotary setup dialog has a "use Y axis" option), and it avoids buying a new driver board. Check your controller's spare axis headers before assuming you need the swap method; several GRBL boards sold for these machines already break out a 4th axis connector unused in stock configuration.

Build Steps

  1. Build or buy the roller frame. A 3D-printed or laser-cut plywood frame holding two parallel steel or aluminum rod pairs works well; see this site's living hinge and snap-fit guides if designing the frame yourself, or search for open-source rotary frame files as a starting point.
  2. Mount the stepper motor to drive one roller shaft, typically via a small pulley/belt or direct coupling. Keep the motor's shaft aligned with the roller shaft to avoid binding.
  3. Add rubber sleeves or O-rings to the rollers for grip — bare metal or printed plastic rollers slip on smooth workpieces like tumblers, especially once engraving debris gets on the surface.
  4. Wire the stepper to your chosen axis per the table above, following your controller board's stepper driver wiring (typically 4 wires: two coil pairs) and matching motor current to the driver's rated output.
  5. Configure GRBL steps/mm for the rotary axis. This is the setting most people get wrong on a first build: rotary steps/mm depends on your roller diameter (which sets how far the workpiece surface travels per roller rotation) and is different from your linear X/Y steps/mm. LightBurn's rotary setup tool calculates this for you if you enter your roller diameter and motor/driver microstepping accurately — measure the actual roller diameter with calipers rather than assuming a round number.
  6. Test with a scrap cylindrical object before committing to a real piece: run a simple test pattern (a ring of text works well) and check that the image doesn't stretch or compress around the circumference, which indicates the steps/mm calibration is off.
  7. Fine-tune roller spacing for your typical workpiece range — some builds use adjustable rail spacing so the same rotary handles both slim pens and wide tumblers.

Calibration Check

Once wired and configured, verify calibration with a known-diameter test cylinder: engrave a horizontal line pattern that should form a complete, evenly-spaced ring around the object. If the ring doesn't close cleanly (gap or overlap where it should meet), your steps/mm or entered roller/workpiece diameter is off — adjust and re-test rather than proceeding to real work, since this error compounds with every subsequent engrave until corrected.

Safety

This is a low-voltage stepper motor build with no unusual electrical hazard beyond normal wiring care — disconnect power before making any wiring changes to your laser controller, and double-check polarity on stepper coil pairs before powering on, since a miswired stepper can behave erratically or stall rather than damage anything, but erratic behavior with a spinning workpiece under a running laser beam is still worth avoiding. As always with rotary engraving, keep the laser's normal enclosure/shielding in place and don't run the rotary with the machine's safety interlocks bypassed.

A DIY roller rotary is one of the better cost-to-capability laser accessories to build rather than buy — the mechanical parts are simple and forgiving, and once the steps/mm calibration is dialed in it behaves exactly like a commercial unit for the tumbler, cup, and cylindrical engraving work already covered elsewhere on this site.