Go to Post I never cease to be amazed at the creative engineering employed by some teams. - Karthik [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 04-03-2011, 17:49
DFZXA DFZXA is offline
Registered User
FRC #3055 (Furious George)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2007
Location: Minnesota
Posts: 60
DFZXA is infamous around these parts
Stupid servo

We have a servo that won't move while using labview's example code. The 6 volt led is lit up on the dsc and we have a jumper on the same port as the servo and it still won't move. What are some other things I should look for that aren't working to diagnose the problem?
Reply With Quote
  #2   Spotlight this post!  
Unread 05-03-2011, 01:27
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,519
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: Stupid servo

Have you installed a jumper on the pins next to the PWM's so that the servo gets 5 volt power?
Reply With Quote
  #3   Spotlight this post!  
Unread 06-03-2011, 00:19
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: Stupid servo

Stupid question: did you enable the robot from the Driver Station?
Reply With Quote
  #4   Spotlight this post!  
Unread 06-03-2011, 02:04
WizenedEE's Avatar
WizenedEE WizenedEE is offline
Registered User
AKA: Adam
FRC #3238 (Cyborg Ferrets)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Anacortes, WA
Posts: 395
WizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to all
Re: Stupid servo

If you can move it by hand (and it doesn't try to resist) when the robot is on but there's no programming, it is not wired correctly* Try a different servo.

*I think
Reply With Quote
  #5   Spotlight this post!  
Unread 06-03-2011, 07:56
Eric222 Eric222 is offline
Registered User
FRC #0222 (Tigertrons)
Team Role: Student
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Tunkhannock
Posts: 17
Eric222 is an unknown quantity at this point
Re: Stupid servo

I have another question to add to the mix: we have just started playing around with a servo and we can get it to move from one end of its range to the other extreme. We have not been able to get a button to set its position in between. Any suggestions on how to set multiple positions? We have already tried various combinations of values and programming loops, but they all seem to move the servo to the same position. P.S. this is with Labview. Thanks for any advice!
Reply With Quote
  #6   Spotlight this post!  
Unread 06-03-2011, 08:51
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,797
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Stupid servo

If the full Servo range works, then it might be the value you're feeding it is incorrect and actually too large.
Check the Help for the Servo Set to see the range of values allowed.

One thing to do is test with the default servo example code to see if you can control your servo to all those intermediate positions you want to stop at.
From the Startup screen (View->Getting Started Window...)
lower right corner Find FRC Examples.
Actuators->Servo.
Change the project target IP to your own team cRIO and use the Run button.
You can see the value being sent to the Servo by the front panel controls.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #7   Spotlight this post!  
Unread 07-03-2011, 21:15
DFZXA DFZXA is offline
Registered User
FRC #3055 (Furious George)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2007
Location: Minnesota
Posts: 60
DFZXA is infamous around these parts
Re: Stupid servo

"Have you installed a jumper on the pins next to the PWM's so that the servo gets 5 volt power?"

Yep

"Stupid question: did you enable the robot from the Driver Station?"

Yep n_n b

If you can move it by hand (and it doesn't try to resist) when the robot is on but there's no programming, it is not wired correctly* Try a different servo.

No resistance at all so I'll try a different one tomorrow but I remember trying it on a vex robot and it worked fine. I don't know how the wiring could be wrong it's on the dsc with a jumper right next to it. I put the yellow to sig and red and black to positive and negative.
Reply With Quote
  #8   Spotlight this post!  
Unread 09-03-2011, 11:24
TNaylor TNaylor is offline
Registered User
FRC #3777 (Team Robocalypse)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Arlingon, Ohio
Posts: 8
TNaylor is an unknown quantity at this point
Re: Stupid servo

If you're unsure about the wire colors, you could try flipping the connector going to the DSC; they tend to act funny when plugged in backwards.
Reply With Quote
  #9   Spotlight this post!  
Unread 09-03-2011, 21:29
DFZXA DFZXA is offline
Registered User
FRC #3055 (Furious George)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2007
Location: Minnesota
Posts: 60
DFZXA is infamous around these parts
Re: Stupid servo

Quote:
Originally Posted by TNaylor View Post
If you're unsure about the wire colors, you could try flipping the connector going to the DSC; they tend to act funny when plugged in backwards.
If I did, since nothing else seems to be working, could that screw with it in any way? It's working fine on the vex robot by the way.
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


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

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