I have been piecing together a machine that I hope will one day become a 3D printer, but for now am just wanting to get the X Y axes to enable a laser engraver/cutter to function. All the framework, steppers, and assorted electrical bits have come from repurposed parts, old scanners, photocopiers, printers, etc.
I did buy the Arduino Mega2650 with RAMPS board and LCD, as well as a laser module, which included the 450nm laser, lens assembly, driver board, with 3 wires for power supply and TTL control.
I've read a lot, on the Marlin pages, gotten the gcode plugin to work with Inkscape, and browsed through this forum, and found many useful tips.
However, I'm now at a loss for how to make the laser work once I give it a file to engrave.
The laser module's power source can use +12V, so it is connected to the RAMPS D9, and the TTL wire is connected to the servo pin 6. I've modified my marlin files to reflect the hardware I've set up. On the LCD module there is a controller that lets me set fan1 from 0-255 and fan2 from 0-255, and the laser comes on at full power. By reducing the value for fan2, I'm able to control the power output of the laser. However, when using a file on the SD card, the gcode is apparently not addressing those pins correctly, and the laser does not light up at all.
I'm not certain if I need to make further modifications to the Marlin firmware, or edit the gcode. Or perhaps I ought to use a different pin for the TTL, and use the M42 function in the gcode file to turn on a pin and adjust the power level there.
I did buy the Arduino Mega2650 with RAMPS board and LCD, as well as a laser module, which included the 450nm laser, lens assembly, driver board, with 3 wires for power supply and TTL control.
I've read a lot, on the Marlin pages, gotten the gcode plugin to work with Inkscape, and browsed through this forum, and found many useful tips.
However, I'm now at a loss for how to make the laser work once I give it a file to engrave.
The laser module's power source can use +12V, so it is connected to the RAMPS D9, and the TTL wire is connected to the servo pin 6. I've modified my marlin files to reflect the hardware I've set up. On the LCD module there is a controller that lets me set fan1 from 0-255 and fan2 from 0-255, and the laser comes on at full power. By reducing the value for fan2, I'm able to control the power output of the laser. However, when using a file on the SD card, the gcode is apparently not addressing those pins correctly, and the laser does not light up at all.
I'm not certain if I need to make further modifications to the Marlin firmware, or edit the gcode. Or perhaps I ought to use a different pin for the TTL, and use the M42 function in the gcode file to turn on a pin and adjust the power level there.