Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   Stupid servo (http://www.chiefdelphi.com/forums/showthread.php?t=93214)

DFZXA 04-03-2011 17:49

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?

Tom Line 05-03-2011 01:27

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

Alan Anderson 06-03-2011 00:19

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

WizenedEE 06-03-2011 02:04

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

Eric222 06-03-2011 07:56

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!

Mark McLeod 06-03-2011 08:51

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.

DFZXA 07-03-2011 21:15

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.

TNaylor 09-03-2011 11:24

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.

DFZXA 09-03-2011 21:29

Re: Stupid servo
 
Quote:

Originally Posted by TNaylor (Post 1037008)
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.


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

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