0

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?

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

1 Answer 1

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 and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.