Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    External drivers are reversing and going forward randomly

    Duet Hardware and wiring
    3
    5
    302
    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.
    • Stoop
      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?

      dragonn 1 Reply Last reply Reply Quote 0
      • dragonn
        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
        • dc42
          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
          • Stoop
            Stoop last edited by

            Thanks David.

            What would you suggest as a figure?

            1 Reply Last reply Reply Quote 0
            • dc42
              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