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

    External drivers are reversing and going forward randomly

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    5
    432
    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.
    • Stoopundefined
      Stoop
      last edited by

      So, I've built a little PCB that drives 2 more extruders on the e2 and e3 pins on the expansion connector.

      I'm using 2 pololu DRV8825 drivers with all MS pins held high doing x32 microstepping

      But, one of the extruders will randomly go backwards or forwards.

      What the heck?

      dragonnundefined 1 Reply Last reply Reply Quote 0
      • dragonnundefined
        dragonn @Stoop
        last edited by

        @stoop it is probably losing steps. DRV drivers are know for the problems with holding position even when the current is set right.
        Try to increase it.

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

          DRV8825 drivers are known for needing very slow step pulse timings. Use the T parameter of the M569 command to extend the timings. Note, this also reduces the maximum possible step rate.

          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
          • Stoopundefined
            Stoop
            last edited by

            Thanks David.

            What would you suggest as a figure?

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

              The datasheet for the DRV8825 will tell you minimum step pulse length, step pulse interval, direction setup time and direction hold time. AFAIR they are about 2.5us.

              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