Marlin controller

Marlin detected via M114 and M115. Constant power mode, line-by-line streaming.

Light Lane supports Marlin-firmware machines. Connect over USB and Light Lane probes with M114 and M115 to confirm the firmware type. Marlin does not support M4 dynamic power or G2/G3 arcs. Light Lane accounts for both automatically, using M3 constant power and linear-only G-code output.

  • Auto-detects Marlin via M114 position query and M115 firmware query at connection time.
  • M3 constant power mode. Marlin does not support M4 dynamic mode.
  • Send-and-wait line-by-line streaming. One command, wait for ok, next command.

How Light Lane works with Marlin

Marlin is primarily a 3D printer firmware. Laser control is built on top of that, and the level of support varies significantly depending on how the firmware was compiled. Light Lane targets the standard Marlin laser configuration.

On connection, Light Lane sends M114 and M115. If it sees a Marlin firmware response, it switches to Marlin mode: M3 constant power, line-by-line streaming, S-values in 0 to 255 range. There is no M4 dynamic power in Marlin, which means laser output does not scale with feed rate during raster engraving. At acceleration and deceleration points, the laser fires at full configured power even though the head is moving slower. Keep max power settings conservative on Marlin machines, particularly for raster photo work.

Typical baud rate for Marlin is 250000, but this depends on how the firmware was compiled. Check your machine's documentation. Light Lane does not auto-configure Marlin baud rate. Select it from the port settings before connecting.

What Marlin support includes

  • Auto-detection via M114 position query and M115 firmware query.
  • M3 constant power mode for laser control. S-values in 0-255 range.
  • Send-and-wait line-by-line streaming. 15-second minimum timeout per command.
  • M999 alarm clear on connection recovery.
  • M410 emergency stop. Immediately cuts motion.
  • M400 wait-for-idle before job end to confirm the machine has finished moving.
  • M113 S0 busy-suppression to stop Marlin from sending keep-alive output during streaming.
  • Dry run mode with laser off for tracing the path before the real job.
  • Material test grid with Marlin-compatible G-code output.

Marlin technical specs

Parameter Value Notes
Baud rate 250000 (typical) Caller-supplied. Varies by firmware build. Check your machine documentation.
Laser power mode M3 constant No M4 dynamic mode. Power is fixed per line, not feed-rate-proportional.
Streaming mode Send-and-wait One line at a time. Waits for ok before sending the next.
S-value range 0-255 Light Lane maps all internal power values to the 0-255 Marlin range.
Arc support Not supported G2/G3 not available for Marlin. Arc fitting is disabled automatically.
Emergency stop M410 Marlin emergency stop command. Followed by M5 to kill laser output.
Streaming timeout 15 seconds minimum Longer timeout to account for Marlin's slower command response.
Firmware detection M114 and M115 Sent at connection time to confirm Marlin firmware.

Light Lane and Marlin in practice

Connection and test grid on a Marlin-firmware laser.

  • Port selector with Marlin firmware detected.
  • Material test grid output with M3 power settings.
  • Pre-stream check before sending the first job.

Marlin FAQ

Which Marlin firmware versions does Light Lane support?

Light Lane works with Marlin 2.x, including Marlin 2.x on converted 3D printer boards. It has been tested on a Creality Ender 3 with Marlin 2.x. Marlin 1.x may work but has not been tested. Laser-specific features rely on how the firmware was compiled. If your Marlin build does not include laser mode, G-code will stream but laser control commands may not behave correctly.

Why does my raster engraving look uneven at line ends?

Marlin uses M3 constant power. It cannot reduce laser power during deceleration. At the end of each raster line, where the head slows down, the laser fires at the same configured power level as mid-line. This produces darker burn marks at line ends. Keep max power settings conservative. Run a material test grid to find a safe starting point before engraving real work.

What baud rate should I use for Marlin?

250000 is the most common Marlin baud rate, but your firmware may be configured differently. Check your machine's documentation or Marlin config.h file for BAUDRATE. Select the matching baud rate in Light Lane's port settings before connecting.

Can I use the material test grid with a Marlin machine?

Yes. The test grid generates Marlin-compatible G-code with M3 constant power commands and S-values scaled to 0-255.

Does Light Lane support all Marlin-firmware lasers?

Not guaranteed. Marlin is highly configurable at build time. If your firmware does not enable laser mode, or if it uses an unusual power configuration, results may vary. Start with a dry run at very low power to confirm behaviour before running a full job.

Try Light Lane with your Marlin machine

14-day free trial, full Pro access, no card required.

Next steps

Validate one real workflow in Light Lane, then move to the most relevant guide or feature page.

Last updated February 21, 2026