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

    Servo Configuration Check

    Scheduled Pinned Locked Moved
    Using Duet Controllers
    5
    34
    1.6k
    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

      Have you seen this? https://docs.duet3d.com/en/User_manual/Connecting_hardware/Motors_servos

      Z-Bot CoreXY Build | Thingiverse Profile

      JRCLundefined 1 Reply Last reply Reply Quote 0
      • JRCLundefined
        JRCL @Phaedrux
        last edited by

        @phaedrux Yes! I think that’s just about all I have seen actually 😄

        1 Reply Last reply Reply Quote 0
        • fcwiltundefined
          fcwilt
          last edited by

          @jrcl

          Try one of the Duex5 pins that have pwm in the name. Not all output pins can generate PWM signals.

          !duex.pwm1
          !duex.pwm2
          !duex.pwm3
          !duex.pwm4
          !duex.pwm5

          Frederick

          Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

          JRCLundefined 1 Reply Last reply Reply Quote 1
          • JoergS5undefined
            JoergS5 @JRCL
            last edited by JoergS5

            @jrcl said in Servo Configuration Check:

            a M280 S0 P90 command

            hello, the command is P0 for servo index, not S.
            M280 P0 S90
            (an example of mutliple traps where the letter changes for the same thing)

            JRCLundefined 1 Reply Last reply Reply Quote 1
            • JRCLundefined
              JRCL @JoergS5
              last edited by

              @joergs5 Whoops! A mistype on my part in the post the correct command still does nothing. It's been since edited.

              1 Reply Last reply Reply Quote 0
              • JRCLundefined
                JRCL @fcwilt
                last edited by

                @fcwilt Gave this a try to no avail. Realized that my BL Touch was assigned to S0 so changed to

                M950 S1 C"!duex.pwm2"

                and after sending a M280 P1 S90, still got no response.

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

                  Please try M950 S1 C"!duex.pwm2" but without the !

                  And you're for sure using the pwm2 header?

                  Photo of your wiring?

                  https://docs.duet3d.com/duet_boards/duet_2_expansion/duex_wiring_v0.11_d1.0.png

                  Z-Bot CoreXY Build | Thingiverse Profile

                  JRCLundefined 1 Reply Last reply Reply Quote 1
                  • alankilianundefined
                    alankilian @JRCL
                    last edited by

                    @jrcl

                    Do you have the ground of the 5 Volt output connected to the ground on the Duet?

                    If it's isolated then you would need the grounds tied together.
                    (somewhat unlikely, but who knows)

                    SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

                    JRCLundefined 1 Reply Last reply Reply Quote 0
                    • JRCLundefined
                      JRCL @Phaedrux
                      last edited by

                      @phaedrux Tried without the ! and here is my wiring diagram and circled the pin on the duex to be safe. Still no dice.

                      ca169737-604f-4789-b6e5-8fd98bdb6791-image.png

                      314197a2-8d1c-4a17-91e3-acd6354495e6-image.png

                      Phaedruxundefined 1 Reply Last reply Reply Quote 0
                      • JRCLundefined
                        JRCL @alankilian
                        last edited by JRCL

                        @alankilian just posted my abridged wiring diagram above. I don't think that's isolated, but maybe?

                        fcwiltundefined alankilianundefined 2 Replies Last reply Reply Quote 0
                        • fcwiltundefined
                          fcwilt @JRCL
                          last edited by

                          @jrcl said in Servo Configuration Check:

                          @alankilian just posted my abridged wiring diagram above. I don't think that's isolated, but maybe?

                          Do you perhaps have an oscilloscope you could check the PWM signal with? It may not be meeting the requirements for your servo.

                          Frederick

                          Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                          JRCLundefined 1 Reply Last reply Reply Quote 0
                          • JRCLundefined
                            JRCL @fcwilt
                            last edited by

                            @fcwilt I don't unfortunately. I'm no electrical engineer, but could I use some sort of amplification module on the signal? Not sure if PWM signals work like that/or can be amplified like that.

                            JRCLundefined fcwiltundefined 2 Replies Last reply Reply Quote 0
                            • JRCLundefined
                              JRCL @JRCL
                              last edited by

                              @jrcl said in Servo Configuration Check:

                              @fcwilt I don't unfortunately. I'm no electrical engineer, but could I use some sort of amplification module on the signal? Not sure if PWM signals work like that/or can be amplified like that.

                              da2f591c-d87d-4f3a-8f9f-4687de2e1378-image.png

                              Managed to find the control signal specs. What are the PWM signals on the Duex able to supply?

                              1 Reply Last reply Reply Quote 1
                              • fcwiltundefined
                                fcwilt @JRCL
                                last edited by

                                @jrcl said in Servo Configuration Check:

                                @fcwilt I don't unfortunately. I'm no electrical engineer, but could I use some sort of amplification module on the signal? Not sure if PWM signals work like that/or can be amplified like that.

                                A PWM signal as used to drive a servo is a fixed frequency, typically 50 Hz, with a varying duty cycle.

                                While you could possible hear via an audio amplifier with suitable frequency range it wouldn't tell you if the signal met the needs of your servo.

                                You can get a fairly nice combo multimeter and oscilloscope which would do the job for $100 off of Amazon. A useful tool for working on 3D printers.

                                Frederick

                                Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

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

                                  @jrcl said in Servo Configuration Check:

                                  @phaedrux Tried without the ! and here is my wiring diagram and circled the pin on the duex to be safe. Still no dice.

                                  ca169737-604f-4789-b6e5-8fd98bdb6791-image.png

                                  314197a2-8d1c-4a17-91e3-acd6354495e6-image.png

                                  You've circled the PWM3 header, but the command you posted was for PWM2 M950 S1 C"!duex.pwm2"

                                  Which is it?

                                  Assuming it matches and it was just a typo, does the servo make any noise or get warm when you try and activate it?

                                  Can you send M950 S1 by itself and report back the reply?

                                  Can you try with some different PWM frequencies by adding a Q parameter to the M950 command?

                                  M950 S1 C"!duex.pwm2" Q50 perhaps

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  JRCLundefined 1 Reply Last reply Reply Quote 0
                                  • alankilianundefined
                                    alankilian @JRCL
                                    last edited by

                                    @jrcl

                                    Can you post the manufacturer and part number for your 24-to-5 Volt converter?

                                    SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

                                    JRCLundefined 1 Reply Last reply Reply Quote 0
                                    • JRCLundefined
                                      JRCL @Phaedrux
                                      last edited by

                                      @phaedrux Are they not grouped like this? I figured it was just a naming convention for the pin (E3_PWM) went with the PWM number (PWM2) and I saw this on the pin name table too and thought I still called C"duex.pwm2" though the control pin is called E3_PWM

                                      e7b3ea11-3108-45de-8af5-3b33086f9f8d-image.png
                                      2606dcdd-c578-49a6-b5bd-0d4798f527dd-image.png

                                      Phaedruxundefined 1 Reply Last reply Reply Quote 0
                                      • JRCLundefined
                                        JRCL @alankilian
                                        last edited by

                                        @alankilian Tobsun EA75-5V

                                        alankilianundefined 1 Reply Last reply Reply Quote 0
                                        • alankilianundefined
                                          alankilian @JRCL
                                          last edited by

                                          @jrcl

                                          I can't tell if that's isolated or not.

                                          If you've got everything else figured out, try connecting the two grounds together at the converter.

                                          SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

                                          fcwiltundefined 1 Reply Last reply Reply Quote 0
                                          • fcwiltundefined
                                            fcwilt @alankilian
                                            last edited by

                                            @alankilian said in Servo Configuration Check:

                                            @jrcl

                                            I can't tell if that's isolated or not.

                                            If you've got everything else figured out, try connecting the two grounds together at the converter.

                                            Without knowing how the unit is designed that might be unwise.

                                            Frederick

                                            Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

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