Go to Post CD makes FIRST an infinitely better place. - lemiant [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 25-01-2008, 18:11
MiniNerd24's Avatar
MiniNerd24 MiniNerd24 is offline
Are you going to eat that?
FRC #2039 (Rockford Robotics)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2006
Location: Illinois
Posts: 375
MiniNerd24 is a jewel in the roughMiniNerd24 is a jewel in the roughMiniNerd24 is a jewel in the roughMiniNerd24 is a jewel in the rough
Shuper Shifter servos hookup and programming

Hey does anyone know how to hook up the Servos provided for the Super Shifters? And if so does anyone know how to program it (in ROBOTC)?
Thanks in advance.
__________________
The system is down.


Rockford Robotics 2039: Think outside the bots.
Reply With Quote
  #2   Spotlight this post!  
Unread 25-01-2008, 19:09
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Shuper Shifter servos hookup and programming

Servos connect directly to a PWM output on the Robot Controller.

Control their position the same way you would control motor speed using a Victor. Setting the PWM output to 0 will drive the servo output to one limit of travel, setting it to 254 will drive it to the other limit, and setting it to 127 will move the servo output to the center of its travel. You'll probably want to experiment to find the proper numbers to put the actuator in the right spots for high and low gear, because the servo can overheat if it's constantly trying to push against a physical limit.
Reply With Quote
  #3   Spotlight this post!  
Unread 25-01-2008, 19:30
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: Shuper Shifter servos hookup and programming

Quote:
Originally Posted by Alan Anderson View Post
Setting the PWM output to 0 will drive the servo output to one limit of travel, setting it to 254 will drive it to the other limit, and setting it to 127 will move the servo output to the center of its travel.
PWM values in ROBOTC are centered around 0, not 127.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
Reply With Quote
  #4   Spotlight this post!  
Unread 30-01-2008, 20:22
timville's Avatar
timville timville is offline
Registered User
AKA: Timothy Friez
FRC #1185 (X-Bots)
Team Role: Alumni
 
Join Date: Mar 2007
Rookie Year: 2003
Location: Pittsburgh
Posts: 18
timville is an unknown quantity at this point
Send a message via AIM to timville
Re: Shuper Shifter servos hookup and programming

You can use Servos just like you would a motor in ROBOTC:

Assuming the Servo is attached to motor port 3:
motor[port3] = 0; //this will center the servo
motor[port3] = -127; //this will adjust the servo to one extreme
motor[port3] = 127; //this will adjust the servo to the other extreme
__________________
2003 - Rookie All-Stars Awards - #1185 (Pittsburgh)
2004-2008 FIRST Volunteer - Ref/Head Ref (Pittsburgh)
2002-2007 FIRST Lego League Volunteer - Head Ref (Pittsburgh)
Reply With Quote
  #5   Spotlight this post!  
Unread 30-01-2008, 21:59
MiniNerd24's Avatar
MiniNerd24 MiniNerd24 is offline
Are you going to eat that?
FRC #2039 (Rockford Robotics)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2006
Location: Illinois
Posts: 375
MiniNerd24 is a jewel in the roughMiniNerd24 is a jewel in the roughMiniNerd24 is a jewel in the roughMiniNerd24 is a jewel in the rough
Re: Shuper Shifter servos hookup and programming

Thanks to all. I thanks you for giving me advaice. Amazingly enough I figured it out the same day I posted but I'll use your advice to attach the new ones to the real robot.
Thanks and could someone close this thread I don't know how.
__________________
The system is down.


Rockford Robotics 2039: Think outside the bots.
Reply With Quote
Reply


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
Rack and Pinion/Motors and servos psniffler Motors 7 25-01-2008 16:16
Programming Servos For AndyMark Transmission de_ Programming 6 30-01-2007 08:52
servos and the camera incognito_NICK Programming 5 09-02-2005 00:00
Encoder Hookup kutty18 Electrical 4 22-01-2005 12:17
Line Sensor hookup Dinush Electrical 9 15-02-2004 23:13


All times are GMT -5. The time now is 16:13.

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