Go Down

Topic: Servo Library (Read 552 times) previous topic - next topic


I'm watching this video: http://www.youtube.com/watch?v=FKj9jJgj8Pc and I noticed that he uses a range of 180 to control the position of the servo. So I am going to assume that does not directly translate to PWM.

If servos don't simply take a 0-100% duty cycle PWM signal, what exactly tells them how to position?


Read this
then watch this



So I am going to assume that does not directly translate to PWM.

The assumption is not a good one.
The signal is PWM (the width of the pulse defines the servo's position), but you're correct that it isn't the nearly 500Hz default Arduino PWM.
The rate is 50Hz, and the duty cycle is very low, usually in the range 5 - 10%
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131