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

    Need help wiring end stop switches

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    3
    7
    713
    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.
    • kzamaniundefined
      kzamani
      last edited by

      Hello All!

      I two P11DMB-DLD Metrol positioning switches with the idea of using them in a large format 3D printer (think 4' x 4' x 4'.) The switches themselves only have two leads (blue and brown) and I believe they need to be wired according to the following diagram:
      0_1553214880632_589179f2-ef41-4585-a67b-fdc776e563e9-image.png

      How can I correctly wire the switches to the Duet Ethernet?

      Thanks!

      -Kevin

      1 Reply Last reply Reply Quote 0
      • kzamaniundefined
        kzamani
        last edited by

        The switch has a built-in LED, so the diagram on the right should be correct.

        1 Reply Last reply Reply Quote 0
        • kzamaniundefined
          kzamani
          last edited by kzamani

          Additionally, if I test continuity across the two wires with a multimeter, the LED lights up. If I push the button while testing the continuity, the LED will turn off.

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

            Switches with series LEDs don't work in low voltage (3.3V) switching circuits because the voltage drop of the LED is too high. However, if you wire them the wrong way round (so that the LED doesn't light up) or bypass the LED, then you should be able to use them as ordinary NC microswitches. Alternatively you could use an NPN transistor to interface each one to an endstop input.

            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
            • deckingmanundefined
              deckingman @kzamani
              last edited by

              @kzamani As David has pointed out, switches with series LEDs don't play nicely with end stop inputs. As it happens, I use a very similar Metrol precision switch for my Z axis but had to set it up as a type P1 analogue probe. I did a bit of write up on my blog which you might find interesting https://somei3deas.wordpress.com/2017/03/21/setting-up-a-metrol-positioning-switch. It was a couple of years ago so some of the information might be a bit out of date. But you could at least use one of the switches as a Z probe but you need to arrange the mechanics such that the nozzle has some degree of movement in the Z direction which being constrained in both X and Y.

              BTW these are excellent switches - the repeatability is quite remarkable. In hindsight, I should have bought the non-LED version.

              Ian
              https://somei3deas.wordpress.com/
              https://www.youtube.com/@deckingman

              1 Reply Last reply Reply Quote 0
              • kzamaniundefined
                kzamani
                last edited by

                Thanks @dc42 & @deckingman ! I've ordered a few resistors and I'll post back when they come in. Thank you both for the quick responses and thank you Ian for the informative blog post! That really helped.

                -k

                1 Reply Last reply Reply Quote 0
                • kzamaniundefined
                  kzamani
                  last edited by

                  I found success by wiring the Blue wire to GND and the Brown cable to the "in / XYZ stop" pin.

                  Thanks!

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