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 CCS Technical Support

Hitecc 422 servo control

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



Joined: 24 Oct 2005
Posts: 5

View user's profile Send private message

Hitecc 422 servo control
PostPosted: Thu Oct 27, 2005 3:14 am     Reply with quote

Hi, I purchased a biped robot from www.lynxmotion.com and I want to use PIC16F876 to control the robot (instead of using their control card).

But I found out one problem. All the servos are 'reversable' means when we are not triggering the servo, so the robot leg will fall down due to gravity.

So, I just want to know a way to control all the servo motors 'anti reversable' when I not changing the motor angle.

Thanks...

pcmguy,
Harry Mueller



Joined: 17 Oct 2005
Posts: 116

View user's profile Send private message

PostPosted: Thu Oct 27, 2005 5:09 am     Reply with quote

Just keep sending their most recent pulse to all the servos, that way they'll hold their position.

Harry
rnielsen



Joined: 23 Sep 2003
Posts: 852
Location: Utah

View user's profile Send private message

PostPosted: Thu Oct 27, 2005 8:19 am     Reply with quote

You'll need to apply a 'holding voltage' to the servo in order for it to stay in position. Pulsing it will make it rotate but, with any servo, if you simply remove voltage from it it will 'free wheel' and move to where gravity will take it. All servo and stepper controllers apply a holding voltage when it is not moving the motor.

Ronald
RobM



Joined: 29 Apr 2005
Posts: 13
Location: Santa Cruz, CA

View user's profile Send private message

PostPosted: Thu Oct 27, 2005 12:15 pm     Reply with quote

rnielsen wrote:
You'll need to apply a 'holding voltage' to the servo in order for it to stay in position. Pulsing it will make it rotate but, with any servo, if you simply remove voltage from it it will 'free wheel' and move to where gravity will take it. All servo and stepper controllers apply a holding voltage when it is not moving the motor.

Ronald


This is not correct. RC servos require a continuouse pulse to hold position:
http://www.geocities.com/BourbonStreet/3220/servobasics.html

They set a position that is a function of the "on" time of the pulse, where 1ms is 0 and 2mSec is full scale out.
_________________
Rob
_______
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