rc servo not moving
-
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! -
Sservo pins are just GpOut pins with a different default PWM frequency.
Maybe you must not overwrite the Servo frequency with 'Q500'?
-
@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_lampe said in rc servo not moving:
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!