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

    rc servo not moving

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    4
    205
    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.
    • cosmowaveundefined
      cosmowave
      last edited by

      Hello,
      i have a Duet2 Ethernet running RRF3.3.
      Now i have connected the signal wire of a rc servo to the "exp.heater3" pin.
      The rc servo is powered from an external 5VDC power supply.

      But the servo does not move with M280 P1 Sxx
      xx= i have tried different "S-Values", but no moving was possible...

      my config.g part of the servo:

      M950 S1 C”exp.heater3” Q500	; assign GPIO port 1 to heater3 on expansion connector, servo mode
      M280 P1 S46    			; set (~1deg?) servo position on GPIO port 1 (Servo range 44.2 - 141.2?)
      

      I have allready checked the power supply of the 5VDC ->ok
      I have wired the Duet GND to the GND of the 5V power supply, so they should be on the same potential...

      Has anyone an idea what i can check additionally, or see an issue with my setup?
      Thanks!

      Mankati FSXT+, DeltaTowerV2, E3D MS/TC

      o_lampeundefined dc42undefined 2 Replies Last reply Reply Quote 0
      • o_lampeundefined
        o_lampe @cosmowave
        last edited by

        @cosmowave

        Sservo pins are just GpOut pins with a different default PWM frequency.
        

        Maybe you must not overwrite the Servo frequency with 'Q500'?

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

          @cosmowave said in rc servo not moving:

          M950 S1 C”exp.heater3” Q500 ; assign GPIO port 1 to heater3 on expansion connector, servo mode M280 P1 S46 ; set (~1deg?) servo position on GPIO port 1 (Servo range 44.2 - 141.2?)

          Looks like those are the wrong sort of double quote characters in your M950 command. The correct ones look like " not ”.

          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
          • cosmowaveundefined
            cosmowave @o_lampe
            last edited by

            @o_lampe said in rc servo not moving:

            @cosmowave

            Sservo pins are just GpOut pins with a different default PWM frequency.
            

            Maybe you must not overwrite the Servo frequency with 'Q500'?

            I have tried different frequencies, also without a "Q" Value

            @dc42 said in rc servo not moving:

            @cosmowave said in rc servo not moving:

            M950 S1 C”exp.heater3” Q500 ; assign GPIO port 1 to heater3 on expansion connector, servo mode M280 P1 S46 ; set (~1deg?) servo position on GPIO port 1 (Servo range 44.2 - 141.2?)

            Looks like those are the wrong sort of double quote characters in your M950 command. The correct ones look like " not ”.

            O yes! You are right! This is a bit embarassing...
            sorry for that, and thanks!

            Mankati FSXT+, DeltaTowerV2, E3D MS/TC

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