Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    PWM control of laser module not working

    Laser Cutters
    2
    2
    151
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • firex726
      firex726 last edited by firex726

      Hi All,

      I have a Wanhao duplicator i3 v2.1 (Marlin), I have a small laser module I can hook up directly to the PWM controlled fan connector and using the M106/M107 commands I can control it's intensity and use it for engraving.

      I have been trying to adapt the same setup for my Hypercube Evo and Duet2Wifi board but can't seem to get the PWM (if that's what it is) to control the laser correctly.

      The power leads of the laser control board attach directly to the fan connector and on the Wanhao it just works, but the Duet it is either 0% or 100%. Even when trying to manually send the M106 S### command it'll respond in binary function.

      Wanhao

      M106 S2

      Very faint light, barely see with lights on.

      Duet

      M106 P1 S2

      Full blast would burn hole in wall

      ; Fans
      M106 P0 S0 I0 F500 H-1               
      M106 P1 S0 I0 F500 H-1
      
      droftarts 1 Reply Last reply Reply Quote 0
      • droftarts
        droftarts administrators @firex726 last edited by

        @firex726 It will depend on the signal your laser module is expecting. Does this guide apply? https://duet3d.dozuki.com/Wiki/Laser_PWM_control
        Otherwise, search the forum for other examples of hooking up a laser: https://forum.duet3d.com/search/?term=diode laser&in=titlesposts
        It may also be firmware dependent. What firmware version are you on? Send M115, post response. Your full config.g would probably help, too.

        Ian

        Cartesian bed-slinger with Duet 3 Mini 5+ WiFi : RRP Fisher Delta v1 with Duet 2 Maestro : TronXY X5S with Duet 2 Wifi (in progress)

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Unless otherwise noted, all forum content is licensed under CC-BY-SA