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

    Duet 3 mini Expansion

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    9
    264
    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.
    • Proschi3Dundefined
      Proschi3D
      last edited by Proschi3D

      Is it possible to expand the IO inputs on the Duet 3 mini?
      I have all but one occupied and would like to control two more rc servos.
      Otherwise I would have to home the Y axis sensorless to get an input free

      Love my Duet 3 Mini.
      https://www.instagram.com/proschi3d
      https://youtube.com/@proschi3d
      https://www.proschi3d.de

      cosmowaveundefined dc42undefined 2 Replies Last reply Reply Quote 0
      • cosmowaveundefined
        cosmowave @Proschi3D
        last edited by

        @Proschi78 Perhaps with a toolboard?

        Mankati FSXT+, DeltaTowerV2, E3D MS/TC

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

          @Proschi78 if you are not using a temperature daughter board, you can use the two CS pins on the connector as additional inputs or non-PWM outputs. Be careful because there is no protection on those 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

          Proschi3Dundefined 1 Reply Last reply Reply Quote 1
          • Proschi3Dundefined
            Proschi3D @dc42
            last edited by

            @dc42 thanks I will try it on the CS pins

            Love my Duet 3 Mini.
            https://www.instagram.com/proschi3d
            https://youtube.com/@proschi3d
            https://www.proschi3d.de

            Proschi3Dundefined 1 Reply Last reply Reply Quote 0
            • Proschi3Dundefined
              Proschi3D @Proschi3D
              last edited by

              @Proschi78
              ok i have now connected the servo to spi2.cs1.

              ;Servo configuration
              M950 S1 C"spi2.cs1" ; assign GPIO port 1 to out9 (Servo header), servo mode
              

              what command do i use to move it now?

              M280 P# S80 ?

              Love my Duet 3 Mini.
              https://www.instagram.com/proschi3d
              https://youtube.com/@proschi3d
              https://www.proschi3d.de

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

                @Proschi78 you asked about expanding the IO inputs. To control a servo, you need an output, and it must be PWM-capable. The SPI CS pins can be used as low-current outputs, but they are not PWM-capable.

                Do you have any of the four low-current outputs free? They can be used to drive servos, in conjunction with an external pullup resistor. Connect the OUTn_NEG pin of the output to the servo control wire, and connect a resistor in the range 2K to 10K between that connection and +5V. You will need to get +5V and GND for the servo from a different connector. Be careful not to connect the servo to the VFAN [in of the OUT connector by mistake.

                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

                Proschi3Dundefined 1 Reply Last reply Reply Quote 0
                • Proschi3Dundefined
                  Proschi3D @dc42
                  last edited by

                  @dc42 ok then i could put a filament sensor or limit switch on a cs in right?

                  Love my Duet 3 Mini.
                  https://www.instagram.com/proschi3d
                  https://youtube.com/@proschi3d
                  https://www.proschi3d.de

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

                    @Proschi78 said in Duet 3 mini Expansion:

                    @dc42 ok then i could put a filament sensor or limit switch on a cs in right?

                    Yes.

                    It's OK to use the input and output pin of an IO connector for different purposes, for example to drive a hobby servo and read and endstop.

                    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

                    Proschi3Dundefined 1 Reply Last reply Reply Quote 1
                    • Proschi3Dundefined
                      Proschi3D @dc42
                      last edited by

                      @dc42 OK thank you
                      then I will solve it like this

                      Love my Duet 3 Mini.
                      https://www.instagram.com/proschi3d
                      https://youtube.com/@proschi3d
                      https://www.proschi3d.de

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