I'm driving servos attached to GPIO, powered from external PSU and using PIGPIO Library through node.js - everything works just fine but I don't know how to completely "shut down" the servos - once they're set to a position they will try to maintain that position resisting external force - I get this is how servos work but how can I make them "relax" / shut down completely? Preferably with an only-software solution / not using a relay to cut the power physically?


1 Answer 1


The normal way is just to stop the servo pulses. You do that with pigpio by specifying a pulse width of 0.

Remember that when the servo isn't getting pulses the only thing which will keep it in place is the friction in its gearing.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.