Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Motors (http://www.chiefdelphi.com/forums/forumdisplay.php?f=52)
-   -   Servo input values (http://www.chiefdelphi.com/forums/showthread.php?t=42919)

bush 29-01-2006 19:07

Servo input values
 
Is the range of input to the servos 0-255?

chrisinmd 02-02-2006 19:08

Re: Servo input values
 
Quote:

Originally Posted by bush
Is the range of input to the servos 0-255?

yes
they operate on the same PWM signal that the victors do
knowing this, you can use the servos in the kit to test your code w/out hooking up speed controllers and motors, just plug the servos in to the robot controller
make sure you plug in a backup battery, that's where they get their 7.2v from.
-Chris

Jared Russell 03-02-2006 11:01

Re: Servo input values
 
Quote:

Originally Posted by bush
Is the range of input to the servos 0-255?

NO!!!

0-254, just like any other IFI pwm signal.

255 is reserved for a special "beginning of data packet" byte - you can get some wacky behavior if you use it. Stick to 0-254.

steven114 03-02-2006 12:10

Re: Servo input values
 
The new controllers automatically replace 255s with 254s to fix that exact problem. On the old PBASIC controllers, if you sent pairs of 255s you'd get all kinds of problems...

chrisinmd 03-02-2006 17:41

Re: Servo input values
 
Quote:

Originally Posted by Abwehr
NO!!!

0-254, just like any other IFI pwm signal.

255 is reserved for a special "beginning of data packet" byte - you can get some wacky behavior if you use it. Stick to 0-254.

thanks for correcting me, I need to be getting more sleep!
-Chris

Al Skierkiewicz 03-02-2006 18:49

Re: Servo input values
 
Check the data sheet for the individual servo to determine it's exact response, i.e. angle vs. PWM.


All times are GMT -5. The time now is 05:53.

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