Wiring a laser to a DuetWiFi

  • Okay, I have a question regarding wiring lasers to the DuetWifi.

    I have a 2500mW 12V laser which is switchable between TTL & PWM that I would like to attach to my DuetWifi.

    The laser (https://www.aliexpress.com/item/445nm-2500mW-12V-Laser-Engraving-Machine-Dedicated-Laser-Module-wit-TTL-and-PWM-can-control-laser/32807063746.html?spm=a2g0s.9042311.0.0.uWmzee) has three wires which are labelled VCC (power line), GND and PWM (control laser power).
    My question is how should this be wired to the Duet ?

    I would prefer to use PWM to control the laser as this would allow me to use M106 Snnn & M107 to control the laser and its intensity.

    I have spent hours googling but to no avail.


  • You'd have to look up the datasheet on the current controller for your laser. You may need to invert the PWM signal from the Duet outputs if the controller can't be configured to run with it. Other that - VCC to PSU +, GND to PSU ground and PWM to your PWM output, either Duet or inverter.

    On a side note - 2.5W laser is no joke. It's a Class 4 for a reason, even a reflection from a polished metal surface can cause permanent damage to your eyes. I hope you've got some proper safety goggles and know what you're doing.

  • As you will see from the link the controller is mounted to the top of the laser module - SW-LD62 V2.0 - I haven't been able to find any data sheet for it unfortunately but I will continue looking.

    I have laser safe acrylic sheets to create an enclosure and also the laser module was supplied with safety goggles.

  • administrators

    What we need to know is: what signal voltage does the PWM input connection require? Best ask the supplier. Or you could try to trace the circuit from the PCB and see where that signal goes.

Log in to reply