Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save djsplice/0365c9aa1f207380207b47fbeffda07c to your computer and use it in GitHub Desktop.
Save djsplice/0365c9aa1f207380207b47fbeffda07c to your computer and use it in GitHub Desktop.

Laser Config

The Laser version of the grbl firmware needs to be installed.

  • Once the board is flashed, enable Laser mode in firmware $32=1
  • Create a new Lightburn Device called 'Laser'
  • In Device Settings -> Set S-Value Max = 1000

Laser Test Prints and Calibration

Laser Test File Download

Pen Plotter Config

The Pen-Lift version of the grbl firmware needs to be installed.

  • Once the board is flashed, disable laser mode $32=0
    • If laser mode is enabled, it won't trigger a pen lift between white space and mess up your awesome drawing!
    • Pen-Lift GRBL version supports M3/M4/M5[http://linuxcnc.org/docs/html/gcode/m-code.html#mcode:m3-m4-m5] spindle control
    • The servo position will be proportional to the power setting used. For example (assuming $30=1000 in grbl config):
      • M3 S0 or M5 is servo at "neutral" position
      • M3 S500 is half extended
      • M3 S1000 is full extension as defined by RC_SERVO_LONG in spindle_control.c
  • Created a new Device in Lightburn called "Pen Plotter"
    • Controller type 'GRBL-M3 (1.1e or later)'
    • In Device Settings, Set S-Value Max = 1000

I had to invert the Servo direction in grbl config.h

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment