bdurbrow / grbl-Mega

An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on an Arduino Mega2560
https://github.com/gnea/grbl/wiki
MIT License
35 stars 8 forks source link

Laser PWM #28

Closed Bazza1959 closed 3 years ago

Bazza1959 commented 3 years ago

Hi bdurbrow not sure why my comments no longer show, as I was a constant commenter back when you first started creating this program,, but maybe it's that I have been absent for a long time as my wife has terminal cancer. I have finally managed to finish my cnc router and have had it working really well on an arduino uno, but today I dug out the mega and ramps board and LCD and started hooking everything up, can you tell me how to or where to connect the PWM/TTL wire from the laser to the board or is pin D58 already set up as a PWM pin. My laser is a 10 watt laser from Endurance lasers, which has a control box with a 3 way switch Laser on full power, Laser off and Laser on PWM what do I have to change in GRBL other than uncomment the enable laser mode in cpu_map and will other software like UGS and laser GRBL know that its on a different pin than the D11 on the uno and that the PWM is not controlled by the spindle speed pin like on the uno