Laser Intensity
Hello all,
Trying to add laser engraving to my 3d printer.
I have been able to get the laser to turn on and off with M3 S255 and M3 <S255.
But I would dearly love to enable intesnity settings.
My laser has a PWM input that is being triggered by Pin4 as configured in my firmware, but I am missing some setting or configuration that allows PWM to work.
Here are what I believe to be the relavent files. Thanks!
configuration.h - https://pastebin.com/LDhZ5i0U
events.h - https://pastebin.com/wUTPFEBx
drivers.cpp - https://pastebin.com/P9RMTYcs
Trying to add laser engraving to my 3d printer.
I have been able to get the laser to turn on and off with M3 S255 and M3 <S255.
But I would dearly love to enable intesnity settings.
My laser has a PWM input that is being triggered by Pin4 as configured in my firmware, but I am missing some setting or configuration that allows PWM to work.
Here are what I believe to be the relavent files. Thanks!
configuration.h - https://pastebin.com/LDhZ5i0U
events.h - https://pastebin.com/wUTPFEBx
drivers.cpp - https://pastebin.com/P9RMTYcs
Comments
http://forum.repetier.com/discussion/1387/implementing-laser-intensity
I have been looking at that thread off and on for the last 6 hours. information is talked about hte implementation in both the firmware itself comments and that thread but much information is just plain left out.
http://forum.repetier.com/discussion/comment/17741/#Comment_17741
Tried to implement what I found here, but now I get now laser on m3 commands.
https://github.com/repetier/Repetier-Firmware/pull/524
I just need a simple PWM output pin to drive my laser.
I'm using Arduino Mega with RAMPS 1.4
https://forum.repetier.com/discussion/6363/laser-enable-pin-issue#latest
I recommend!
Just 1 line to change.
I chose pin 44 (Aux 2 - RAMPS 1.4)
But, if you said that PWM controller can be adjust by a potentiometer, this can be interesting also, the machine enables this external PWM but its duty is adjusted manually by potentiometer, if it has an enable pin is just hook to the LASER_PIN.