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

    Problem with X endstop

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    2
    3
    574
    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.
    • demigh0dundefined
      demigh0d
      last edited by

      I did a complete rebuild/upgrade of my printer and have run into a snag with the X endstop.

      Both the X and Y endstops are the same (sainsmart optical), wired the same and configured the same.

      The Y endstop works fine.

      On power up they both show (in the web interface) not hit, as they should.

      If I trigger the X stop it shows hit.

      If I untrigger the X stop it stays hit. If I unplug the X stop completely it stays hit.

      The led on the endstop turns on/off as it should.

      Any ideas?

      [[language]]
      M574 X1 Y1 S1
      
      Duet Ethernet 1.0 + DueX5
      1.19beta11 (2017-07-25)
      
      
      1 Reply Last reply Reply Quote 0
      • demigh0dundefined
        demigh0d
        last edited by

        Possibly a webUI bug because the x stop IS working but its status is not being updated n the webUI (under settings > machine properties).

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

          It's normal for the endstop to show as hit when you unplug it when using S1.

          What I suspect is happening is that the endstop is marginal when run from 3.3V. When not triggered, it is pulling the endstop input low enough to light the LED but not low enough to be registered reliably as triggered by the processor. The remedy is to reduce the IR LED series resistor on the endstop board as I describe at https://duet3d.com/wiki/Connecting_endstop_switches#3.3V-compatible_optical_endstop. If the series resistor is an SMD type, you may find it easier to solder another one on top (so in parallel) rather than replace the existing one.

          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
          • First post
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA