Pages: [1]   Go Down
Author Topic: Servo Library  (Read 300 times)
0 Members and 1 Guest are viewing this topic.
California
Offline Offline
Sr. Member
****
Karma: 2
Posts: 433
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm watching this video: 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?
Logged

Dubai, UAE
Offline Offline
Edison Member
*
Karma: 21
Posts: 1670
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

This signal -
http://rcarduino.blogspot.com/2012/01/how-to-read-rc-receiver-with.html


Duane B
rcarduino.blogspot.com


Logged


Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 238
Posts: 24322
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
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%
Logged

"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.

Pages: [1]   Go Up
Jump to: