Controlling a Servo via pwm

I have 4 servos, which are mounted on 4 Hydraulic valves. To Control them a have a Joystick which sends a Voltage between 0.5 and 4.5 Volt. ( If not used they are at 2.5 Volt. ) I also have installed a Barth STG 650 Can which has one PWM Output between 1 and 10 kHz Now my Question. Is it possible to power te servo by with 5 Volt ( so just connect the Red and the black Cable to a Transformator) and connect the Signal line directly to the pwm Output.
To connect all 4 Servos I would Install 4 Relais which would have 3 In and Outputs so if the Relais isn’t on the servo would have neither power nor a Signal. I hope someone can Answer the Question.


Riener Lukas-Karl

Hello, Riener.

Can you link to the product page or datasheet for the servos and any other Pololu products you are planning on using? It would also help if you posted a schematic that shows how you plan to connect everything.


I am using the Feetech Ft 5335 servos. I planned to connect them to a Maestro motor control, but the controller didn’t act fast enough for my purposes and i don’t know how long he survives the harsh Environment (He is build in allen agricultural machine) so i would just let him away and just connect the plus and the Gnd line to my Power source and the pwm line to my sps a barth stg650can sps

It is not obvious from the datasheet for those servos if they will outright work at 5V since the only voltage specifications reported are the nominal operating voltages of 6V and 7.4V. However, I tested one from my office and was able to control it down to voltages of around 4V. So, I do not expect 5V to be an issue.

I am not very familiar with the PLC you plan on using, but in general, you should be aware that the signal that hobby RC servos use, which is oftentimes referred to as a PWM signal, might not be the same as the Power PWM Output on your PLC (which, judging by its name and description, looks like it is more appropriate for directly supplying power to motors and not sending control signals to a servo). You can learn more about the hobby servo signal (and how it is different from a PWM signal that changes its duty cycle) in this blog post.

Also, if your servos are able to move fast enough for your application by themselves when controlled from something like a hobby RC transmitter/receiver, but not when controlled from a Maestro, I suspect there is an issue with how you are using the Maestro. I could help you troubleshoot that if you tell me more about your setup. In particular, how fast were you updating your servo signals? What voltage were you supplying to your servos and what are you using to supply power? It would also help if you posted your Maestro settings file. To generate that text file from the Maestro Control Center, click File > Save settings file... .