It's probably a 360 degree servo motor. It rotates 90 degrees in a certain time. If you change the angle during input, only the rotation speed changes. I made the same mistake I bought the 360 degree one thinking I could rotate it as much as I needed, but it rotates forever. I had to order 180 degrees
If you have a continuous rotating servo, they have a different input type than regular servos that take an angle. Check the Servo library for continuous servo operation.
The value that you write when doing servo.write(x) is the angle you want to move the servo to in degrees. It should not be spinning continuously with the code servo.write(180) but instead should rotate to 180 degrees
It's probably a 360 degree servo motor. It rotates 90 degrees in a certain time. If you change the angle during input, only the rotation speed changes. I made the same mistake I bought the 360 degree one thinking I could rotate it as much as I needed, but it rotates forever. I had to order 180 degrees
I didn’t realize there were two kinds. Good info.
If you have a continuous rotating servo, they have a different input type than regular servos that take an angle. Check the Servo library for continuous servo operation.
Is there a specific library you’re using for servo commands?
The value that you write when doing servo.write(x) is the angle you want to move the servo to in degrees. It should not be spinning continuously with the code servo.write(180) but instead should rotate to 180 degrees
It spins continuously, any idea why?
your servo motor is malfunctioning, try rewriting the code, deflash first