RRF3 : connecting a servo to duex.fan7
-
Hi
I'm trying to control a servo with duex.fan7 using fan7 connectors on Duex5.
As mentionned for RFF3 I tuned config.g like this :
M950 S7 C"duex.fan7"
But when I run M280 P7 S80 nothing happens...
I also tried inverting with ! and pull up resistor with ^ whitout success.
GND are connected and signal wire is ont FAN7-
What could I have missed ?Thanks !
Sylvain
-
Can you confirm that you're using FW 3.1.1 with M115?
Are you using the ! and ^ in front of the pin name in M950?
M950 S7 C"^!duex.fan7"
Can you test with a different fan pin?
-
Thank you for your answer.
Here it is :
FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.1.1 ELECTRONICS: Duet Ethernet 1.02 or later + DueX5 FIRMWARE_DATE: 2020-05-19b2
Yes I used ! and ^ as you mentionned, in front of pin name.
I could test with duex.fan8 but FYI duex.fan7 was before used as fan control with no problem. I also tested fan configuration after testing servo control, the output is OK when configured as fan output.
Best regards
-
What is the servo?
-
A small Futaba S3154
Red wire goes to +5v from Panel Due port
Black wire goes to GND from Panel Due port
White wire to FAN7-Best regards
-
Also tried with an other servo without success...
I don't find what I'm doing wrong.
-
Why are you not using one of the PWMx outputs on the DueX? They are designed for servos.
The fan outputs on the DueX do not support servos because the PWM frequency is not adjustable.
-
Ok.
I will use PWM5 from Duex5.
How shall I declare it in config.g ?
M950 S9 C"!duex.pwm5"
And then : M280 P9 S80 to run it ?
Thanks !
-
@sylvain said in RRF3 : connecting a servo to duex.fan7:
M950 S9 C"!duex.pwm5"
Just
M950 S9 C"duex.pwm5"
without the ! prefix. You can't use the corresponding heater pin (heater 7) at the same time.
-