Go to Post I'm nervous for those awesome rookie teams that you may not know about much but that just come and do awesome with some fantastic strategy...Rookies rock. - Eugenia Gabrielov [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-02-2008, 11:21
programmr's Avatar
programmr programmr is offline
Registered User
AKA: Face
FRC #0522
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Staten Island, NY
Posts: 83
programmr is a jewel in the roughprogrammr is a jewel in the roughprogrammr is a jewel in the rough
Send a message via AIM to programmr
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?
  #2   Spotlight this post!  
Unread 09-02-2008, 11:25
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: Program a Servo?

It plugs into the PWM ports, and its values can range from 0 to 255.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
  #3   Spotlight this post!  
Unread 09-02-2008, 11:27
programmr's Avatar
programmr programmr is offline
Registered User
AKA: Face
FRC #0522
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Staten Island, NY
Posts: 83
programmr is a jewel in the roughprogrammr is a jewel in the roughprogrammr is a jewel in the rough
Send a message via AIM to programmr
Re: Program a Servo?

ok, thank you very much
  #4   Spotlight this post!  
Unread 09-02-2008, 16:14
3dude_2231's Avatar
3dude_2231 3dude_2231 is offline
no one messes with a Thingy =|
AKA: Menscher,Ran Menscher =]
FRC #2231 (Onyxtronix)
Team Role: Leadership
 
Join Date: Feb 2007
Rookie Year: 2007
Location: Shoham, Israel
Posts: 233
3dude_2231 is a jewel in the rough3dude_2231 is a jewel in the rough3dude_2231 is a jewel in the rough
Send a message via MSN to 3dude_2231
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.
__________________
Redefining the word "Rookie". (for 2 years now..)


Israeli Off Season Games: WINNERS!
check out this cool project I'm into..

  #5   Spotlight this post!  
Unread 09-02-2008, 17:45
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,533
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
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.
  #6   Spotlight this post!  
Unread 10-02-2008, 13:12
jln646v jln646v is offline
Registered User
AKA: Vincent Juliano
FRC #0514 (RPM)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2005
Location: Miller Place
Posts: 4
jln646v is an unknown quantity at this point
Send a message via AIM to jln646v
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.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[FVC]: Rhode Island FVC program in Servo Magazine KathieK FIRST Tech Challenge 0 03-03-2007 17:55
Servo behavior question / advanced servo/PIC programming question DanL Electrical 12 18-10-2005 18:33
Servo MASherry General Forum 6 04-10-2004 22:46
Servo Specs BBFIRSTCHICK Motors 1 17-01-2003 11:18


All times are GMT -5. The time now is 03:36.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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