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

    Problem getting a laser to work

    Scheduled Pinned Locked Moved Solved
    Laser Cutters
    4
    23
    2.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.
    • appjawsundefined
      appjaws
      last edited by

      I have something very strange.
      M3 S255 turns the laser OFF as does M3 S0
      It appears that the maximum power is around M3 S127

      appjaws - Core XYUV Duet Ethernet Duex5
      firmware 3.5.0-rc.4 Web Interface 3.5.0-rc.4
      Ormerod 1-converted to laser engraver, Duet wifi
      OpenSCAD version 2024.03.18
      Simplify3D 5.1.2

      keyz182undefined 1 Reply Last reply Reply Quote 0
      • keyz182undefined
        keyz182 @appjaws
        last edited by

        @appjaws said in Problem getting a laser to work:

        I have something very strange.
        M3 S255 turns the laser OFF as does M3 S0
        It appears that the maximum power is around M3 S127

        Try lowering or increasing the PWM frequency with the M452 F parameter. Some of the laser module controllers are a bit picky. You can also use the R parameter of M452 to set the PWM level that corresponds to max, so in your case, R127.

        1 Reply Last reply Reply Quote 0
        • appjawsundefined
          appjaws
          last edited by

          I tried changing the frequency but could not see any improvement.
          I am currently using M3 S107 as my maximum power.
          It works but I would prefer to have 255 levels of power, especially engraving photos.
          Any other ideas as to how I can use the full range?

          appjaws - Core XYUV Duet Ethernet Duex5
          firmware 3.5.0-rc.4 Web Interface 3.5.0-rc.4
          Ormerod 1-converted to laser engraver, Duet wifi
          OpenSCAD version 2024.03.18
          Simplify3D 5.1.2

          1 Reply Last reply Reply Quote 0
          • resamundefined
            resam
            last edited by

            @appjaws which laser and laser control board did you buy?
            Most of them use a "simple" PWM signal between 0-5V to control the laser intensity.

            I doubt that your laser really has a 50%-ish PWM signal as "full power" signal...

            1 Reply Last reply Reply Quote 0
            • appjawsundefined
              appjaws
              last edited by

              I've just measured the voltage on the Fan0 pin and it is fluctuating between 5.5V - 10.7V.
              Do you think I am over driving the PWM input?
              The problem I had no information supplied with the 2000mw laser and control board that I bought.
              I have tried to find out the correct voltage but was unsuccessful.

              This is a picture of the laser I bought
              0_1533053993278_laser.jpg

              appjaws - Core XYUV Duet Ethernet Duex5
              firmware 3.5.0-rc.4 Web Interface 3.5.0-rc.4
              Ormerod 1-converted to laser engraver, Duet wifi
              OpenSCAD version 2024.03.18
              Simplify3D 5.1.2

              keyz182undefined 1 Reply Last reply Reply Quote 0
              • keyz182undefined
                keyz182 @appjaws
                last edited by

                @appjaws said in Problem getting a laser to work:

                I've just measured the voltage on the Fan0 pin and it is fluctuating between 5.5V - 10.7V.
                Do you think I am over driving the PWM input?
                The problem I had no information supplied with the 2000mw laser and control board that I bought.
                I have tried to find out the correct voltage but was unsuccessful.

                The ones I've seen have all been 5v PWM controlled, so maybe you're over-driving? Do you have a link to where you bought it? And/Or some high res images of the top+bottom of the PCB?

                1 Reply Last reply Reply Quote 0
                • appjawsundefined
                  appjaws
                  last edited by

                  I bought it on ebay and the supplier has no information.
                  I could take some photos of the board but I will need to dismantle my setup first.
                  I wonder what size of resistor I could connect in series to reduce the actual voltage reaching the control board

                  appjaws - Core XYUV Duet Ethernet Duex5
                  firmware 3.5.0-rc.4 Web Interface 3.5.0-rc.4
                  Ormerod 1-converted to laser engraver, Duet wifi
                  OpenSCAD version 2024.03.18
                  Simplify3D 5.1.2

                  1 Reply Last reply Reply Quote 0
                  • resamundefined
                    resam
                    last edited by

                    Me, and others here on the forum use the HEATER_3 pin with a few extra components, instead of the fan output. Somebody even made a custom PCB for it.

                    https://duet3d.dozuki.com/Wiki/Laser_PWM_control

                    1 Reply Last reply Reply Quote 0
                    • appjawsundefined
                      appjaws
                      last edited by

                      I did start with that plan but could not get my lashup to work. I now have a better understanding so perhaps I'll try heater 3 again.
                      Thanks for your help.

                      appjaws - Core XYUV Duet Ethernet Duex5
                      firmware 3.5.0-rc.4 Web Interface 3.5.0-rc.4
                      Ormerod 1-converted to laser engraver, Duet wifi
                      OpenSCAD version 2024.03.18
                      Simplify3D 5.1.2

                      1 Reply Last reply Reply Quote 0
                      • appjawsundefined
                        appjaws
                        last edited by

                        I still haven't got the heater 3 solution as explained in the article "Controlling a PWM Laser with the Duet Board" The diagram indicates that the expansion header pin 8 is heater 3 but I have a constant 3.29 volts between that and pin 2 which is grd.
                        So I am wondering if the old version 6 boards, which I am using, have the same pin assignments as the version 2 boards.

                        So I have reverted to using the fan connector with the output reversed and a pull-up 1K resistor connected to +5V.
                        This is the results of checking the voltage at different S values.
                        Svalue Voltage Laser
                        0 4.4
                        10 2.58
                        11 2.47
                        13 2.33 ON
                        15 2.27
                        20 2.19
                        40 2.05
                        60 1.97
                        80 1.88
                        100 1.77
                        120 1.64
                        140 1.51
                        160 1.39
                        180 1.27
                        200 1.14
                        220 1.08
                        240 0.87
                        250 0.78
                        252 0.77
                        254 0.75
                        255 0.74 OFF

                        The increasing S values at the top end result in the power of the laser reducing.
                        Clearly I have something wrong but I am at a loss as to what to do next.

                        appjaws - Core XYUV Duet Ethernet Duex5
                        firmware 3.5.0-rc.4 Web Interface 3.5.0-rc.4
                        Ormerod 1-converted to laser engraver, Duet wifi
                        OpenSCAD version 2024.03.18
                        Simplify3D 5.1.2

                        keyz182undefined 1 Reply Last reply Reply Quote 0
                        • keyz182undefined
                          keyz182 @appjaws
                          last edited by

                          @appjaws said in Problem getting a laser to work:

                          So I am wondering if the old version 6 boards, which I am using, have the same pin assignments as the version 2 boards.

                          By this, do you mean this board? - https://reprap.org/wiki/Duet_Wiring#Duet_0.6

                          1 Reply Last reply Reply Quote 0
                          • appjawsundefined
                            appjaws
                            last edited by

                            yes that is the original board on my ormerod

                            appjaws - Core XYUV Duet Ethernet Duex5
                            firmware 3.5.0-rc.4 Web Interface 3.5.0-rc.4
                            Ormerod 1-converted to laser engraver, Duet wifi
                            OpenSCAD version 2024.03.18
                            Simplify3D 5.1.2

                            keyz182undefined 1 Reply Last reply Reply Quote 0
                            • keyz182undefined
                              keyz182 @appjaws
                              last edited by

                              @appjaws said in Problem getting a laser to work:

                              yes that is the original board on my ormerod

                              In that case, yes, the pinouts are different. I'm not sure if the circuit will need modification or not on there either.

                              dc42undefined 1 Reply Last reply Reply Quote 0
                              • dc42undefined
                                dc42 administrators @keyz182
                                last edited by

                                Heater 3 will be on a different pin of the expansion connector, but otherwise the same arrangement should work.

                                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

                                1 Reply Last reply Reply Quote 0
                                • appjawsundefined
                                  appjaws
                                  last edited by

                                  What pin will it be on?

                                  appjaws - Core XYUV Duet Ethernet Duex5
                                  firmware 3.5.0-rc.4 Web Interface 3.5.0-rc.4
                                  Ormerod 1-converted to laser engraver, Duet wifi
                                  OpenSCAD version 2024.03.18
                                  Simplify3D 5.1.2

                                  1 Reply Last reply Reply Quote 0
                                  • dc42undefined
                                    dc42 administrators
                                    last edited by

                                    See https://reprap.org/wiki/Duet_pinout

                                    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

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