This setup will allow Pulse Width Modulated (PWM) control of the laser via pin D11 of the Nano card. If using the pre-compiled HEX file or if you want to change the settings later send the following commands: #define DEFAULT_Z_MAX_RATE 40000.0 // mm/min
#define DEFAULT_Y_MAX_RATE 40000.0 // mm/min #define DEFAULT_X_MAX_RATE 40000.0 // mm/min Or in case 2: above the source files can be edited before compilation (located in C:\Users\your name\Documents\Arduino\libraries\grbl).Įdit "defaults_generic.h" to suit the machine, I have used the following with sucsess: In case 1: above this can be done by sending commands to GRBL via a Sender program (I use 3dpBurnerSender) the new commands will overwrite the existing commands and be retained. In either case you now need to configure GRBL to suit the Eleks engraver. I use the USBASP programmer to do this - available from ebay for £5. You can use the Arduino ISP or a separate programmer to do this.
Inkscape gcode grayscale serial#
Then copy to notepad and use Xloader to program the card - note only works at 57600 baud for some reason so check that the serial port is set to 57600 in Device Manager / Ports (Serial Baude rate will be 115200 for normal operation).Ģ: Or download the source from and compile with Arduino IDE then upload to the card (having set IDE to the Nano card and set the serial port number). Two methods available to do this:ġ: You can either download the pre-compiled version from - the JTP lasertool version 0.9j as a HEX file. If you want to try greyscale engraving (PWM) you will need to swap the link on the motherboard to V0.9 and change the firmware on the Arduino Nano card to GRBL v0.9. Using Eleks / Benbox Laser Engraver with GRBL0.9j