Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Motors (http://www.chiefdelphi.com/forums/forumdisplay.php?f=52)
-   -   How do the servos work? (http://www.chiefdelphi.com/forums/showthread.php?t=24764)

Alan Anderson 11-02-2004 21:46

Re: How do the servos work?
 
Quote:

Originally Posted by Phil_Lutz
I have the Servo directly connected to the PWM1 jack on the robot.

I map the PWM to a variable and set the variable to 0.
I tell the program to change the servo position (increment) when the trigger is held.

Nothing happens.

Do you have a good 7.2v battery connected? The servos won't work without one.

Al Skierkiewicz 12-02-2004 07:44

Re: How do the servos work?
 
Quote:

Originally Posted by Phil_Lutz
I have a tangent problem to this that I need a solution too.
I have the Servo directly connected to the PWM1 jack on the robot.

Phil,
I just have to ask, is the 7.2 volt backup battery connected? Without it you have no power to the servo. Just a little "gotcha" from Innovation First. When nothing works, check the power supply.

Phil_Lutz 13-02-2004 14:56

Re: How do the servos work?
 
Quote:

Originally Posted by Al Skierkiewicz
Phil,
I just have to ask, is the 7.2 volt backup battery connected? Without it you have no power to the servo. Just a little "gotcha" from Innovation First. When nothing works, check the power supply.

Yes. Good 7.2 volt Battery on the Robot, Good 12v as well.
I think I found the problem last night when working on Yaw Sensing.
I think I need to Generate_PWMS()

Servo is in PWM1, Yaw was in PWM2, got the Yaw Sensor to work didn't have time to try the Servo again.

Question.
Do you need to call Generate_PWMS() for each and every PWM you are using or just the Top 4, (13,14,15,16)

Thanks,

Phil

Al Skierkiewicz 13-02-2004 15:27

Re: How do the servos work?
 
Quote:

Originally Posted by Phil_Lutz
Question.
Do you need to call Generate_PWMS() for each and every PWM you are using or just the Top 4, (13,14,15,16)

Thanks,

Phil

Phil,
I don't have an answer on software, I will alert my software gurus and let him or her answer.

Ryan M. 13-02-2004 15:55

Re: How do the servos work?
 
Quote:

Originally Posted by Al Skierkiewicz
Phil,
I don't have an answer on software, I will alert my software gurus and let him or her answer.

I can answer now. :)

You only need to call Generate_PWMs() for the top four. The others are handled by the master processor.

Dave Flowerday 13-02-2004 15:55

Re: How do the servos work?
 
Quote:

Originally Posted by Phil_Lutz
Do you need to call Generate_PWMS() for each and every PWM you are using or just the Top 4, (13,14,15,16)

Phil,
Generate_PWMS() is only used for the top 4. The putdata() call updates the other PWM outputs via the master processor.

SomeGuy 14-02-2004 13:29

Re: How do the servos work?
 
Our team is also having problems with the servos. I could be wrong, but aren't servos supposed to resist turning by some outside force when they have power? We have tried several servos on several pwm's and you can easily turn them all with your hand. None of them move at all. I have tried mapping joystick outputs to the servos and tried moving them autonomously. Nothing works.

Phil_Lutz 15-02-2004 02:03

Re: How do the servos work?
 
We were (somehow) missing the putdata :(
All better now. Our 7.2 battery was not plugged in. Servos working like a charm now.
Yaw sensor not allowed as not in Kit 'o parts.
If we buy a gyro we can :)

Thanks for all the help.

Phil

Richomundo 17-02-2004 20:40

Re: How do the servos work?
 
I have tried to get the servo working.

Our code is set up so when i plug in pwms for motors they run. i inserted the servo code as a motor. pwm03 is the servo:

pwm03 = 200;


the servo is plugged in to the output 3 but does not move. i read the forums, and i see that they only run off the backup battery. is this true?

Joe Ross 17-02-2004 22:47

Re: How do the servos work?
 
Quote:

Originally Posted by Richomundo
the servo is plugged in to the output 3 but does not move. i read the forums, and i see that they only run off the backup battery. is this true?

Yes. That information is also on page 4 of the RC reference guide from Innovation First.

Al Skierkiewicz 18-02-2004 07:47

Re: How do the servos work?
 
Quote:

Originally Posted by Richomundo
I have tried to get the servo working. i read the forums, and i see that they only run off the backup battery. is this true?

Yes,
A little gift from Innovation FIRST is that the servo power is only from the backup battery (7.2 volts) If you are going to tuse servo make sure you have some way to check the battery and keep it charged.


All times are GMT -5. The time now is 18:22.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi