Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    PWM control of laser module not working

    Scheduled Pinned Locked Moved
    Laser Cutters
    2
    2
    266
    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.
    • firex726undefined
      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
      
      droftartsundefined 1 Reply Last reply Reply Quote 0
      • droftartsundefined
        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

        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

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