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

Drive PWM laser using external mosfet module?

Scheduled Pinned Locked Moved Solved
Laser Cutters
9
14
1.2k
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.
  • undefined
    o_lampe @Reefwarrior
    last edited by 9 Feb 2022, 07:41

    @reefwarrior
    If you want to switch power on/off, they should work. But for PWM laser control, I'd use a level shifter. They switch faster with shorter rise/fall time. That makes the output clear and sharp.

    undefined 1 Reply Last reply 9 Feb 2022, 07:45 Reply Quote 0
    • undefined
      Reefwarrior @o_lampe
      last edited by 9 Feb 2022, 07:45

      @o_lampe Are you referring to a logic-level shifter?

      undefined 1 Reply Last reply 9 Feb 2022, 07:48 Reply Quote 0
      • undefined
        o_lampe @Reefwarrior
        last edited by 9 Feb 2022, 07:48

        @reefwarrior Yes, I just checked the supplier. They should have them, but probably in a lot of 50-100 PCBs as it seems.

        undefined 1 Reply Last reply 9 Feb 2022, 07:52 Reply Quote 0
        • undefined
          Reefwarrior @o_lampe
          last edited by 9 Feb 2022, 07:52

          @o_lampe Can you perhaps advise as to how I should connect what? 🙂

          undefined 1 Reply Last reply 9 Feb 2022, 14:21 Reply Quote 0
          • undefined
            Reefwarrior @Reefwarrior
            last edited by 9 Feb 2022, 14:21

            So there are 3 connectors on the diode laser. + / - / TTL

            As soon as voltage is applied (12V) to + and -; the laser 'fires'.

            Can this thing be driven by the duet board? And if so, how?

            undefined 1 Reply Last reply 9 Feb 2022, 16:14 Reply Quote 0
            • undefined
              dc42 administrators @Reefwarrior
              last edited by dc42 2 Sept 2022, 16:15 9 Feb 2022, 16:14

              @reefwarrior the TTL input is usually a PWM-capable input for controlling the laser. This can be driven directly from the LASER/VFD output of a Duet 3 (including Duet 3 Mini) or from a PWM output of a DueX board or Expansion Breakout board.

              If you have a Duet 2 without one of those expansion boards, then the recommended approach is to use a 74HCT02 gate to level-shift one of the expansion connector heater outputs. See the "Duet 2 Additional Hardware" tab at https://docs.duet3d.com/en/User_manual/Machine_configuration/Configuration_laser for details. If you find that too hard then you can purchase the Expansion Breakout Board.

              Duet WiFi hardware designer and firmware engineer
              Please do not ask me for Duet support via PM or email, use the forum
              http://www.escher3d.com, https://miscsolutions.wordpress.com

              undefined undefined 2 Replies Last reply 9 Feb 2022, 18:10 Reply Quote 0
              • undefined
                Reefwarrior @dc42
                last edited by 9 Feb 2022, 18:10

                @dc42 Thank you for the help! 🙂

                1 Reply Last reply Reply Quote 0
                • undefined Reefwarrior has marked this topic as solved 9 Feb 2022, 18:10
                • undefined
                  SupraGuy
                  last edited by 23 Feb 2022, 17:52

                  Very timely, as I was just looking for this information myself to drive a PWM laser from a Duet 2 Wifi.

                  I ended up purchasing boards from JLCPCB.com, and they appear to have a minimum order quantity of 5 (And for some reason, it's cheaper to buy 15.) ... So I have 15 on the way, populated with the SMT components C1 and U2. It was a bit unclear as to which side H1 connected to. It looks like it should go on the bottom of the board, though I'm not sure which header it connects to. If it's on the expansion board, that could be a problem for me, and I might need to figure some other stuff out, but it appears to occupy pins 1-8 of the 50 pin expansion header.

                  Anyway, I've got the boards on the way, and 8 pin headers coming separately. I'll probably just solder wire to the board for the DC in and laser out, since neither JLCPCB nor Digikey seemed to have appropriate connectors in stock when I looked.

                  For what the extra cost, maybe I should have just bought a Duet 3 6HC instead.

                  Lead screw driven printer, powered by Duet 2 Wifi
                  MPCNC powered by Duet 2 Wifi
                  CoreXY printer driven by Duet 3 6HC
                  LowRider CNC powered by Duet 2 Wifi

                  undefined 1 Reply Last reply 22 Apr 2022, 01:33 Reply Quote 0
                  • undefined
                    ktapper @SupraGuy
                    last edited by 22 Apr 2022, 01:33

                    @supraguy You got any extra printed boards?

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      Denis @dc42
                      last edited by 17 Oct 2022, 00:26

                      @dc42 If my laser is 24 volts, can I connect to the PWM from the LASER/VFD output and power it from the 24v input or from the heater?

                      undefined 1 Reply Last reply 17 Oct 2022, 06:28 Reply Quote 0
                      • undefined
                        dc42 administrators @Denis
                        last edited by 17 Oct 2022, 06:28

                        @Denis said in Drive PWM laser using external mosfet module?:

                        @dc42 If my laser is 24 volts, can I connect to the PWM from the LASER/VFD output and power it from the 24v input or from the heater?

                        If the laser accepts a 5V or TTL level PWM input signal, then you can connect the LASER/VFD output to that and the laser power supply voltage is immaterial. Make sure that you have the Duet and laser grounds connected.

                        Duet WiFi hardware designer and firmware engineer
                        Please do not ask me for Duet support via PM or email, use the forum
                        http://www.escher3d.com, https://miscsolutions.wordpress.com

                        undefined 1 Reply Last reply 27 Mar 2023, 19:16 Reply Quote 0
                        • undefined
                          olliss @dc42
                          last edited by 27 Mar 2023, 19:16

                          @dc42 said in Drive PWM laser using external mosfet module?:

                          @Denis said in Drive PWM laser using external mosfet module?:

                          @dc42 If my laser is 24 volts, can I connect to the PWM from the LASER/VFD output and power it from the 24v input or from the heater?

                          If the laser accepts a 5V or TTL level PWM input signal, then you can connect the LASER/VFD output to that and the laser power supply voltage is immaterial. Make sure that you have the Duet and laser grounds connected.

                          I had out9 connected to pwm. and the power for the laser connected to the out1 connector, because I wanted to turn the power on/off with it. I tested the laser and everything seemed to work fine until I realized that even though out1 is off my diode laser fan still runs.
                          Luckily nothing seems to have broken.
                          so did i understand correctly that i can't control the laser power directly from the duet board when i want to turn it on/off?
                          Maybe I should put a relay in between.

                          undefined 1 Reply Last reply 28 Mar 2023, 09:39 Reply Quote 0
                          • undefined
                            T3P3Tony administrators @olliss
                            last edited by 28 Mar 2023, 09:39

                            @olliss the output connectors switch the ground side, not the power supply side so that wont work. you can put a external switch (like a relay, SSR etc) in between to turn off the power.

                            www.duet3d.com

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