Not to butt in, but I’ve used Mega/RAMPS with that same 2.5 watt laser… using remapped D9 fan output (12v) to pin 44 (5v) for the TTL modulation. Check out this post and following (scattered)… where I show scope shots of the output for various M106 Sxxx input…