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

    Wiring Servo

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    4
    11
    629
    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.
    • Phaedruxundefined
      Phaedrux Moderator
      last edited by

      Do you have a free heater pin?

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 0
      • 2500ccmundefined
        2500ccm
        last edited by

        No. This would be the easiest way...

        1 Reply Last reply Reply Quote 0
        • Phaedruxundefined
          Phaedrux Moderator
          last edited by

          What pins do you have free? Just fan8?

          Z-Bot CoreXY Build | Thingiverse Profile

          1 Reply Last reply Reply Quote 0
          • 2500ccmundefined
            2500ccm
            last edited by

            Sorry for the late reply. I had a lot of work to do.
            Free are Fan 1 and 8. Pwm 1-4 have free sockets, but the heater sockets are used. Pwm5 have a bltouch connected.
            Maybe use Fan 1 and 8 for switching the gnd or 5v of the servo and bltouch on/off. Then use the same pwm signal of PWM5? Is this possible?
            Bltouch and the servo for toolchange is not often used.

            dc42undefined 1 Reply Last reply Reply Quote 0
            • DIY-O-Sphereundefined
              DIY-O-Sphere @2500ccm
              last edited by

              @2500ccm
              An Sx1509+External Mosfet would be an option

              (UTC+1)

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

                @2500ccm you could use the FAN1- pin to control the servo if you connect a pullup resistor between it and the +5V supply to the servo. You will need to invert the output in the M950 command.

                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

                2500ccmundefined 1 Reply Last reply Reply Quote 0
                • 2500ccmundefined
                  2500ccm @dc42
                  last edited by

                  Thanks for all replies.
                  I will do it like @dc42 dc42 said. Which one do you prefere?

                  1 Reply Last reply Reply Quote 0
                  • 2500ccmundefined
                    2500ccm
                    last edited by

                    Now i got time to take this task on my todo list and installed a 3.9kohm resistor between 5v supply and signal. The 5v supply is external. I connected ground and 5v at external supply and signal at fan1-.
                    Commands are:
                    M950 S1 C"!fan1"
                    M280 P1 S125

                    Nothing happend. After that i googled and found in the duet wiki a part about external pullup resistor. 10kohm is recommend.
                    Is this my failure?

                    Thanks for reply
                    Moritz

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

                      @2500ccm the value of the pullup resistor is not critical. Did you connect the ground of your external 5V PSU to Duet ground?

                      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

                      2500ccmundefined 1 Reply Last reply Reply Quote 1
                      • 2500ccmundefined
                        2500ccm @dc42
                        last edited by

                        @dc42 Sorry for my late reply. After i connected ground it worked well! Thanks alot

                        1 Reply Last reply Reply Quote 1
                        • Phaedruxundefined Phaedrux marked this topic as a question
                        • Phaedruxundefined Phaedrux has marked this topic as solved
                        • First post
                          Last post
                        Unless otherwise noted, all forum content is licensed under CC-BY-SA