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

    Triggers firing by themselves on restart

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    4
    15
    555
    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 @RodrigoRMaraujo
      last edited by

      @rodrigormaraujo
      4.7k -10k ohms are common. (that is 4700 -10000 ohms for the uneducated readers)

      RodrigoRMaraujoundefined 1 Reply Last reply Reply Quote 0
      • cosmowaveundefined
        cosmowave @RodrigoRMaraujo
        last edited by cosmowave

        @rodrigormaraujo said in Triggers firing by themselves on restart:
        please how can i do this? I have no idea.

        Something like this. You have to addapt this code to your inputs:
        This code has to be in the beginning of the Trigger macro!

        if fans[0].rpm < 100
                    G4 P10
                    if fans[0].rpm < 100
                        M25
                        M118 S"No Water flow!"
        

        Mankati FSXT+, DeltaTowerV2, E3D MS/TC

        RodrigoRMaraujoundefined 1 Reply Last reply Reply Quote 0
        • RodrigoRMaraujoundefined
          RodrigoRMaraujo @o_lampe
          last edited by RodrigoRMaraujo

          @o_lampe said in Triggers firing by themselves on restart:

          4.7k -10k ohms are common. (that is 4700 -10000 ohms for the uneducated readers)

          Ok, thank you!

          1 Reply Last reply Reply Quote 0
          • RodrigoRMaraujoundefined
            RodrigoRMaraujo @cosmowave
            last edited by

            @cosmowave thanks for the answer.
            Got it, but I'm not sure it would work well, because I check the status (state.status == "idle" || state.status == "busy"). This state will be the same before and after the G4. The problem, as I understand it, is the reading of a false signal through the endstop port, which is apparently extremely sensitive to noise.

            fcwiltundefined cosmowaveundefined 2 Replies Last reply Reply Quote 0
            • fcwiltundefined
              fcwilt @RodrigoRMaraujo
              last edited by fcwilt

              @rodrigormaraujo

              Are the switches of the normally closed type?

              Are the triggers running when you press the switch or release the switch.

              I've got plain normally closed switches on both Duet 2 and Duet 3 hardware using the built-in pull-up resistors and have never seen your kind of problem.

              Frederick

              Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

              RodrigoRMaraujoundefined 1 Reply Last reply Reply Quote 1
              • cosmowaveundefined
                cosmowave @RodrigoRMaraujo
                last edited by

                @rodrigormaraujo said in Triggers firing by themselves on restart:

                is the reading of a false signal through the endstop port, which is apparently extremely sensitive to noise.

                Eventually you can improve the cabeling (shielded cable)? try to not routing them near to stepper/ stepper cables...

                Mankati FSXT+, DeltaTowerV2, E3D MS/TC

                RodrigoRMaraujoundefined 1 Reply Last reply Reply Quote 0
                • RodrigoRMaraujoundefined
                  RodrigoRMaraujo @fcwilt
                  last edited by RodrigoRMaraujo

                  @fcwilt said in Triggers firing by themselves on restart:

                  Are the switches of the normally closed type?
                  Are the triggers running when you press the switch or release the switch.
                  I've got plain normally closed switches on both Duet 2 and Duet 3 hardware using the built-in pull-up resistors and have never seen your kind of problem.

                  No, I used normally open mechanical keyboard (cherry mx green) buttons.

                  [https://pt.aliexpress.com/item/1005001681627152.html?spm=a2g0s.9042311.0.0.2742b90a6Tptvm]

                  A friend commented to me about using NC buttons. I ordered magnetic filters on aliexpress. If the problem persists I will look for these buttons, but I will have to review how to install them on the skirts of the voron.

                  fcwiltundefined 1 Reply Last reply Reply Quote 0
                  • RodrigoRMaraujoundefined
                    RodrigoRMaraujo @cosmowave
                    last edited by

                    @cosmowave said in Triggers firing by themselves on restart:

                    Eventually you can improve the cabeling (shielded cable)? try to not routing them near to stepper/ stepper cables...

                    I ordered magnetic filters on the advice of a friend who works in electronics and builds cnc machines. According to him, this will help eliminate noise.
                    [https://pt.aliexpress.com/item/4000803662446.html?spm=a2g0s.9042311.0.0.3366b90aNy53pX]

                    1 Reply Last reply Reply Quote 0
                    • fcwiltundefined
                      fcwilt @RodrigoRMaraujo
                      last edited by fcwilt

                      @rodrigormaraujo said in Triggers firing by themselves on restart:

                      @fcwilt said in Triggers firing by themselves on restart:

                      Are the switches of the normally closed type?
                      Are the triggers running when you press the switch or release the switch.
                      I've got plain normally closed switches on both Duet 2 and Duet 3 hardware using the built-in pull-up resistors and have never seen your kind of problem.

                      No, I used normally open mechanical keyboard (cherry mx green) buttons.

                      [https://pt.aliexpress.com/item/1005001681627152.html?spm=a2g0s.9042311.0.0.2742b90a6Tptvm]

                      Normally closed setups are less sensitive to noise. Your normally open switches might, perhaps, be the cause of your problem.

                      Frederick

                      Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                      RodrigoRMaraujoundefined 1 Reply Last reply Reply Quote 0
                      • RodrigoRMaraujoundefined
                        RodrigoRMaraujo @fcwilt
                        last edited by

                        @fcwilt yes, thank you!

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