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

    Limit Switch False Triggering Duet 3 Mini

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    5
    282
    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.
    • Topherundefined
      Topher
      last edited by

      Im swapping out a duet2 wifi (which was working fine) for a Duet 3 Mini wifi. I'm finding that my X axis limit switch is false triggering. I've determined it to be due to the X limit switch wires running alongside the motor wires. As an experiment, I took a spare single 12" length of switch trigger wire pair and connected to io5.in ground and trigger (my x trigger) with a spare switch board, and left it dangling. Upon homing, it did not trigger unless pressing the switch - perfect. But, when I routed the single wire along with the X-axis motor wire, then I get false triggering again. Do I need to add a small cap to this input? I've tried adding software pullup as well by including "!^io5.in" - still no go.

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

        Twisting the endstop and motor wiring pairs can help.

        Z-Bot CoreXY Build | Thingiverse Profile

        Topherundefined 1 Reply Last reply Reply Quote 0
        • Topherundefined
          Topher @Phaedrux
          last edited by

          @phaedrux I tried twisting and thought it solved it, but nope. Its doing it on my Z now. Twisted all the pairs of limit switches. I added a 10k resistor from the 3.3v to the trigger input and put a 0.1uf ceramic cap between ground and trigger. That solved it but I dont understand, Ive NEVER had to do that before. especially with a $200 (canadian) board. IMG_6423 2.jpg

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

            @leckietech what sort of endstop switches are they? I suspect they are ordinary microswitches. If so then you should use the normally-closed contacts, not the normally open contacts. If you use the normally open contacts and also route the endstop wires close to stepper motor wires, then you can expect to get false triggering because of capacitive coupling between the endstop wires and the stepper motor wires. You can avoid this by using shielded cable for the endstop wires; but it is much simpler to use the normally-closed contacts.

            The Duet WiFi had lower value pullup resistors and LEDs on the endstop inputs. Some opto and Hall sensors could not sink enough current to drive them; so we use higher value pullup resistors on the Duet 3 Mini.

            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

            Topherundefined 1 Reply Last reply Reply Quote 1
            • Topherundefined
              Topher @dc42
              last edited by

              @dc42 This makes perfect sense! Thanks for the suggestion, it sounds like the perfect simple solution. Im using cherry SPDT micro switches so that will be very easy to rewire

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