Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Program a Servo? (http://www.chiefdelphi.com/forums/showthread.php?t=63627)

programmr 09-02-2008 11:21

Program a Servo?
 
Hello, i was wondering if we have a servo that is used as a shifter, how would it be programmed. Is it a value like 0 - 255 or is it either a 0 or 1 like in a relay?

RyanN 09-02-2008 11:25

Re: Program a Servo?
 
It plugs into the PWM ports, and its values can range from 0 to 255.

programmr 09-02-2008 11:27

Re: Program a Servo?
 
ok, thank you very much

3dude_2231 09-02-2008 16:14

Re: Program a Servo?
 
in addition,
as opposed to motors,
the pwm signal the servo gets is translated to a location, not to speed.
though, there are servos, or modified servos that translate pwm into speed.

hope that helps.
Ran.

Tom Line 09-02-2008 17:45

Re: Program a Servo?
 
Also, remember that the servo gets its power from the backup battery through the robot interface module. So if you want it to move, you have to plug in the backup battery.

jln646v 10-02-2008 13:12

Re: Program a Servo?
 
Also, remember that since the value your sending out the pwm port (0-255) is a location, if the servo cant reach that location because something is blocking it, it will still work to reach that location, draining your backup battery very fast and makes the servo very hot.

We had this problem with the 2 speed gearboxes we are using. The servo only had a short range of movement because of the sifter rod, and was killing our backup battery.


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

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