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

    Remap a 5th motor to expansion on Duet 0.8.5

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    3
    6
    647
    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.
    • GWilkensundefined
      GWilkens
      last edited by

      Hi

      I would like to remap the driver-pins (en, dir, step) of one of the on-board driver to the expansion header.

      I dont need any of the heater or fan pins.

      Is this possible without much trouble to change the pins in the Pins_Duet.h?

      1 Reply Last reply Reply Quote 0
      • Dougal1957undefined
        Dougal1957
        last edited by

        see http://reprap.org/wiki/Gcodes#M584:_Set_drive_mapping you can use any of the additional 4 driver pin sets that are already on the duet 0.8.5

        and I am sure David or Tony will be along to confirm or deny this.

        Doug

        1 Reply Last reply Reply Quote 0
        • GWilkensundefined
          GWilkens
          last edited by

          i know, i am already using them 😄

          i need to use a 5th extern driver ^^

          1 Reply Last reply Reply Quote 0
          • Dougal1957undefined
            Dougal1957
            last edited by

            ah OK then David is the man then

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

              You need to change at least two areas. The first is Pins_Duet.h, to increase DRIVES by one, to define which pins you are using, and to remove any existing assignment of those pins. The other is the 3 functions at the end of Platform.h, which are used for driving the STEP pins. See the comment block that precedes those functions. To make is easier for yourself, try to assign the new STEP pin so that it is on port A, C or D and its bit number within the port isn't 1 and doesn't clash with any of the other bit numbers of STEP pins.

              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
              • GWilkensundefined
                GWilkens
                last edited by

                your are great, ill try that.

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