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

    Duet 3 6HC Endstops Will not Read in IO pins

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    4
    11
    458
    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.
    • alankilianundefined
      alankilian @Justin 0
      last edited by

      @justin-0 said in Duet 3 6HC Endstops Will not Read in IO pins:

      M574 X1 S1 P"!io0.in"

      How is your endstop connected to the board?

      Try turning on the pullup if your endstop switch goes to +3.3

      M574 X1 S1 P"!^io0.in"

      SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

      Justin 0undefined 1 Reply Last reply Reply Quote 0
      • Justin 0undefined
        Justin 0 @alankilian
        last edited by

        @alankilian
        I just tried it but there was no change in the reading. You are correct that I am using the 3.3v for the endstop. I do have the ground connected between the endstop and the board if that matters.

        alankilianundefined 1 Reply Last reply Reply Quote 0
        • alankilianundefined
          alankilian @Justin 0
          last edited by alankilian

          @justin-0

          "You are correct that I am using the 3.3v for the endstop. I do have the ground connected between the endstop and the board"

          I'm a little confused on how you are using both 3.3v and ground connected to the switch.

          Can you post an image of the connector with wiring and the switch with wiring?

          It shouldn't be difficult to connect an endswitch, so it's got to be something simple.

          You've done all the hard debugging so far and everything is right.

          SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

          Justin 0undefined 1 Reply Last reply Reply Quote 0
          • Justin 0undefined
            Justin 0 @alankilian
            last edited by

            @alankilian
            I agree it should be something simple. I tried placing a wire across the 3.3 to the io0 in pin and the board didn't read it. Below are images of the wiring.

            IMG_9249.jpg IMG_9247.jpg

            alankilianundefined dc42undefined 2 Replies Last reply Reply Quote 0
            • alankilianundefined
              alankilian @Justin 0
              last edited by alankilian

              @justin-0

              First, I see red/black/white on the switch and red/black/blue on the Duet connector, so that's strange.

              Second, let's forget about the switch at this time.

              1. Connect a jumper from the io_in pin to 3.3V and see what the endstop state is.
              2. Connect a jumper from the io_in pin to GND and see what the endstop state is.

              If we can't get the endstop state to change doing this. it's either something we're missing in the configuration or the board is not working.

              SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

              1 Reply Last reply Reply Quote 0
              • pfnundefined
                pfn @Justin 0
                last edited by

                @justin-0 you should run gnd to the switch and NC to the io.in port.

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

                  @justin-0 you should connect the switch between IN and GNC, not between IN and +3.3V. Preferably, use the NC contacts of the switch.

                  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
                  • Justin 0undefined
                    Justin 0
                    last edited by

                    Thanks for the advice everyone. I'll be able to try it in a bit. I appreciate everyone's help!

                    1 Reply Last reply Reply Quote 0
                    • Justin 0undefined
                      Justin 0
                      last edited by

                      I got it working thanks to everyone's advice. Using the two wires connected to the ground and io.0in pins, it works perfectly every time. Thanks for the help everyone!

                      alankilianundefined 1 Reply Last reply Reply Quote 0
                      • alankilianundefined
                        alankilian @Justin 0
                        last edited by

                        @justin-0

                        AWESOME!!!

                        SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

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