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

    sensitivety of E2(pin9) and GND(pin2) on expansion as to E1

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    3
    6
    209
    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.
    • Yaoundefined
      Yao
      last edited by Yao

      Is the EM sensitivety of a simple endstop switch connected to E2 (pin9) and GND(pin2) on the expansion higher compared to the same endstop switch connected to E1_Stop (E1 and GND)?
      I am getting unexpeceted results in reading the switch connected to E2. That wire is 60cm longer,,, (260cm compared to 330 cm... that extra 60cm length is unshielded but twisted.

      Running Duet wifi with 3.4.6

      T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
      • T3P3Tonyundefined
        T3P3Tony administrators @Yao
        last edited by T3P3Tony

        @Yao the headers on the Duet 2 board designed to have external things directly connected to them (e.g. E0 and E1 endstop, have protection and they also have a diode to help indicate if the endstop is triggered or not.

        faa32191-e34c-4d71-ba71-c38ac267f9e1-image.png
        9d1ffc11-4d3a-4717-ba4e-49d393f2bde7-image.png

        The 50 way connector is designed to have a Duex5 or EBOB or similar board connected to it, the expectation is any required protection would then be implemented on that expansion board. So E2_STOP etc connect directly to the processor.

        The additional protection is probably minimising the impact of noise. A quick check would be to swap the switches between E1 and E2 and see what happens.

        Edited to add a link to the schematic:
        https://github.com/Duet3D/Duet-2-Hardware/blob/master/Duet2/Duet2v1.06/Duet2_Schematic_v1.06.pdf

        www.duet3d.com

        Yaoundefined 1 Reply Last reply Reply Quote 1
        • Yaoundefined
          Yao @T3P3Tony
          last edited by

          @T3P3Tony Thanks! That explains it all. i now know how to mitigate this

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

            @Yao the other reason why the expansion connector inputs are more sensitive to noise is that the only pullup resistor on them is the one in the MCU which has a value of about 100k. You could add a lower value pullup (e.g. 3.3K or 10K) between the input and +3.3V to reduce the sensitivity to noise.

            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

            Yaoundefined 2 Replies Last reply Reply Quote 1
            • Yaoundefined
              Yao @dc42
              last edited by

              @dc42 any way to do this without adding parts?
              Is there another (set of) free pin(s) I can use with the switch wired as is? (E0 and E1 stop are used, as are all standard endstop pins.)

              I did switch to the shielded cable to the E3 (pin9/ GND-pin2) but this dd not solve it. another machine layed out like this with much shorter wires does work.

              The strange thing is that when I test wire it on E3 (pin9/ GND-pin2) with a10cm wire+NCswitch. I also get inconsistent response. echo states are Always 0 pressed or unpressed. However, when I switch, the board does trigger...

              1 Reply Last reply Reply Quote 0
              • Yaoundefined
                Yao @dc42
                last edited by Yao

                @dc42 pullup resitor between expansion pin 43 and E3_stop, switch between E3_stop and ground? (I already used the nearby 3.3v pin 3)
                .
                .
                .
                5min later.
                Yes, This works with a 10KΩ ....

                1 Reply Last reply Reply Quote 1
                • droftartsundefined droftarts marked this topic as a question
                • droftartsundefined droftarts has marked this topic as solved
                • First post
                  Last post
                Unless otherwise noted, all forum content is licensed under CC-BY-SA