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

    Laser stopped working after RRF3 upgrade

    Scheduled Pinned Locked Moved
    General Discussion
    4
    22
    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.
    • o_lampeundefined
      o_lampe @FelixH
      last edited by

      @felixh
      That's understood, but why do you switch it ON before you have the Laser-pin under control? There might be an internal pullup or something on the Laser breakout board? (I don't know)

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

        @felixh you should use this line for RRF3:

        M452 C"!exp.heater3" F200

        The laser will turn on when you execute a G1 move with an appropriate S parameter to set the laser power.

        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

        FelixHundefined 2 Replies Last reply Reply Quote 0
        • FelixHundefined
          FelixH @dc42
          last edited by

          @dc42 and so I did, but doesn‘t work. The laser goes full blast as soon as I power it on.

          I will give it another go this afternoon, however. Just to make extra sure.

          1 Reply Last reply Reply Quote 0
          • FelixHundefined
            FelixH @dc42
            last edited by

            @dc42 said in Laser stopped working after RRF3 upgrade:

            M452 C"!exp.heater3" F200

            I just tested it again. It doesn't make any difference.
            I just had two boards side, by side. One with RRF 3.3 and the other with RRF2.x (don't remember which one it is). On the RRF3, the laser turns ON as soon as I power up, no matter if C"exp.heater3" or C"!exp.heater3".

            I even skipped the macro all together and I added the

            M452 C"exp.heater3" F200 (with and without the ! on the config.g file...

            I am willing to to a video if needed.

            Phaedruxundefined 1 Reply Last reply Reply Quote 0
            • Phaedruxundefined
              Phaedrux Moderator @FelixH
              last edited by

              @felixh said in Laser stopped working after RRF3 upgrade:

              I am willing to to a video if needed.

              Being able to see what you see couldn't hurt. Photos of the wiring perhaps help.

              Z-Bot CoreXY Build | Thingiverse Profile

              FelixHundefined 2 Replies Last reply Reply Quote 0
              • FelixHundefined
                FelixH @Phaedrux
                last edited by

                @phaedrux I will do just that, but it will have to wait until I get the parts to prepare another breakout board for the laser, otherwise it is a mess and it would complicate things even more

                1 Reply Last reply Reply Quote 0
                • FelixHundefined
                  FelixH @Phaedrux
                  last edited by FelixH

                  @phaedrux
                  IMG_4669.jpg

                  So this is my setup. For testing purposes I am using a 12v PSU which powers both the laser and the Duet.

                  The small PCB in the middle is the Laser breakout board recommended for controlling a Laser with the Duet.

                  The thin wire between both boards connect the PWM input on the breakout board and the pin "exp.heater3" on the Duet.

                  If I am running FFR2.x the setup works as expected:

                  • I can switch between Laser and CNC mode without problems
                  • I can turn ON the laser with M3 Sx commands (I am aware this doesn't work on RRF3)
                  • I can turn OFF the laser with the M5 command

                  If I run RRF3.x the very same setup:

                  • I can switch between Laser and CNC modes
                  • The Laser powers up immediately when I turn on the PSU
                  • Sending M5 does NOT switch OFF the Laser
                  • changing C"exp.heater3" for C"!exp.heater3" or C"exp.8" or C"!exp.8" doesn't change anything of the above
                  1 Reply Last reply Reply Quote 0
                  • FelixHundefined
                    FelixH
                    last edited by FelixH

                    well, good news everyone.

                    After many tests done on a spare Duet2 (clone) board I finally got it to work. However, I cannot explain why. The only thing I did was to re-flash the firmware again, wire everything again (including putting terminals on some cables) and test.

                    hopefully my experience will be of some use to someone with the same experience...

                    EDIT: of course, many thanks at everyone who brainstormed with me! It is really appreciated!

                    1 Reply Last reply Reply Quote 0
                    • Phaedruxundefined
                      Phaedrux Moderator
                      last edited by

                      😒 That feeling you get when it starts working again without understanding why.

                      Z-Bot CoreXY Build | Thingiverse Profile

                      FelixHundefined 1 Reply Last reply Reply Quote 0
                      • FelixHundefined
                        FelixH @Phaedrux
                        last edited by

                        @phaedrux you get me!

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