Go to Post I had told my new team this joke: "They procrastinate so much, no wonder they're the Heroes of Tomorrow!", but I guess the joke doesn't have any truth in it anymore. They were really on their game this year! - JABot67 [more]
Home
Go Back   Chief Delphi > Technical > Motors
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 11-02-2012, 11:55
team4213 team4213 is offline
Registered User
FRC #4213
 
Join Date: Jan 2012
Location: Bloomington, IL
Posts: 12
team4213 is an unknown quantity at this point
Victor Not Working

We have been using Jaguars on our robot with PWM. They work great for us. Yesterday, we tried to use the Victor that came with the KOP. For some reason, the Victor would not put out any more than 5 volts. Thus, the motor ran way too slow. We checked, and there were 12 volts going into the Victor. Any idea why we are experiencing such a large voltage drop?

Last edited by team4213 : 11-02-2012 at 13:10.
  #2   Spotlight this post!  
Unread 11-02-2012, 12:24
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,847
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: Victor Not Working

Did you change the code, so that it knows it's controlling a Victor instead of a Jaguar?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #3   Spotlight this post!  
Unread 11-02-2012, 12:54
team4213 team4213 is offline
Registered User
FRC #4213
 
Join Date: Jan 2012
Location: Bloomington, IL
Posts: 12
team4213 is an unknown quantity at this point
Re: Victor Not Working

Yes, we are declaring an object of type Victor and using
Code:
Victor *liftMotor;
to declare the variable,
Code:
liftMotor = new Victor(5);
to declare the victor
Code:
liftMotor->SetSpeed(1);
to set the speed of the victor (We use 0 and -1 in place of 1 as well)

We tried following the factory re-calibration procedures without any luck. We are getting 2.7 volts output without a motor connected and 1.7 volts with a motor connected.
  #4   Spotlight this post!  
Unread 11-02-2012, 13:11
team4213 team4213 is offline
Registered User
FRC #4213
 
Join Date: Jan 2012
Location: Bloomington, IL
Posts: 12
team4213 is an unknown quantity at this point
Re: Victor Not Working

We also tried
Code:
liftMotor->Speed()
No luck.
  #5   Spotlight this post!  
Unread 11-02-2012, 13:13
tsaksa's Avatar
tsaksa tsaksa is offline
Registered User
FRC #0997 (CHS Robotics)
Team Role: Mentor
 
Join Date: Jul 2011
Rookie Year: 2011
Location: Corvallis Oregon
Posts: 203
tsaksa has a reputation beyond reputetsaksa has a reputation beyond reputetsaksa has a reputation beyond reputetsaksa has a reputation beyond reputetsaksa has a reputation beyond reputetsaksa has a reputation beyond reputetsaksa has a reputation beyond reputetsaksa has a reputation beyond reputetsaksa has a reputation beyond reputetsaksa has a reputation beyond reputetsaksa has a reputation beyond repute
Re: Victor Not Working

Whenever I have questions about where a problem is, I like to use a simpler device to help in the troubleshooting. In this case the small hobby servos supplied in the kit of parts make a great debugging tool. Substitute one in place of the Victor. You also need to provide a jumper between the two pins next to that PWM output. The jumper is needed to provide power for a hobby servo, but is removed when running an externally powered device such as a Victor.

I believe the hobby servos supplied with the KOP will move through an angle of about 120 degrees (full forward to full reverse) If you only get a much smaller move (such as 90 degrees total) than your code or something else upstream in the problem. If you get something close to 120 degrees total movement, than the Victor is the problem.

My guess is that if you do this test you will find the servo does not move as much as expected and the problem is in the code or driver station somewhere. Victors seem to fail catastrophically when they go, but there are many things in the code that are more likely to cause a partial output problem like this.

Do a test and make sure you know where the problem is originating first. There is not a lot of time left to be looking in the wrong location.
__________________
This is the zeroth day of the rest of your life.
  #6   Spotlight this post!  
Unread 11-02-2012, 13:55
team4213 team4213 is offline
Registered User
FRC #4213
 
Join Date: Jan 2012
Location: Bloomington, IL
Posts: 12
team4213 is an unknown quantity at this point
Re: Victor Not Working

Do you mean we should unplug the Victor, plug in a servo to the same PVM output, and set the jumper to make that output 6v all without changing any code? We tried just that swapping out the Victor for a servo and without any code changes. The servo would only move about 45 degrees in either direction.

The other thing we tried was swapping the Victor with a Jaguar on the same PVM. The Jaguar worked fine.
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


All times are GMT -5. The time now is 22:24.

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