I am testing out pyFirmata. I have a 360° servo, and know how to change its direction, but I dont't know how to stop it.

What command, like servo.write(), would work to make it stop moving until prompted to move again?

  • loop through all possible values
    – jsotola
    Jul 3 at 22:33
  • 1
    The "angle" is the speed, so set it to the angle that means 'don't move' - i.e., the middle.
    – Majenko
    Jul 4 at 9:39

1 Answer 1


You'll need to check datasheets for your servos but a PWM value of 1500 microseconds would generally be near neutral / no rotation. Decreasing values less than this should generate increasing speed clockwise. Increasing values greater than neutral should generate increasing speed counter clockwise.

See https://arduino.stackexchange.com/a/88650/71575

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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