CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Servo Control

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Dario
Guest







Servo Control
PostPosted: Sun Jan 22, 2006 1:17 pm     Reply with quote

I am having problems getting a servo motor to center properly.

the cervo is approximately 10 degrees off when being centered if it is approaching the center from the left compared to approaching the center from the right.

I understood that these servo's are supposed to be fairly accurate. I am certain the code is correct as I have observed the correct signal on a scope. Can anyone confirm is it is just my sevo that is broken or if they will always approach a different angle depending on which sde they approach from.
kender



Joined: 09 Aug 2004
Posts: 768
Location: Silicon Valley

View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger

PostPosted: Sun Jan 22, 2006 4:05 pm     Reply with quote

Usually R/C servos are manually centered before actual use. R/C control boxes have sliders (in addition to the joystick) to center the servos. My advice whould be to add an offset-adjustment parameter to your contol algorithm and and tweak it untill you are satisfied.
aaron



Joined: 07 Sep 2003
Posts: 6

View user's profile Send private message

PostPosted: Sun Jan 22, 2006 4:30 pm     Reply with quote

You need to apply more pulses to the servo... I found the same thing and ended up having to give it between 6 and 10 pulses in order to get it to the right place consistantly. The speed that they quote on the servo definitely doesn't take this into consideration.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group