Go to Post Different approaches to the same problem. Isn't it better to focus on understanding both than to be dogmatic about it? - Greg McKaskle [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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 04-02-2013, 21:12
thvs thvs is offline
Registered User
FRC #4704
 
Join Date: Feb 2013
Location: Timmins
Posts: 14
thvs is an unknown quantity at this point
Victor motor contorls flashing orange

Hi,
Our victor lights are flashing orange. We have changed the victors and the PWM cables and ensured that everything is wired properly. We were thinking that maybe there was something wrong with the sidecar or the program (labview) that caused the victors to flash orange. The robot was running fine a couple of weeks ago, but we rewired everything, and now it won't run.

What colors should the lights be when running properly?
Can we test to see if there is something wrong with the sidecar?
Is there anything we should be watching for when programming in labview regarding the victors?
Is there any reason, other then no PWM signal, for the light to be flashing orange?

Thanks
  #2   Spotlight this post!  
Unread 04-02-2013, 21:20
Johnbot's Avatar
Johnbot Johnbot is offline
Es Brokein!
AKA: John Westhoff
FRC #4791 (Pandroids)
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2010
Location: Horsham, PA
Posts: 92
Johnbot is just really niceJohnbot is just really niceJohnbot is just really niceJohnbot is just really niceJohnbot is just really nice
Re: Victor motor contorls flashing orange

According to the datasheets for both the Victor 888 and Victor 884, the Orange flashing LED represents no PWM, and only no PWM. You should check the direction of the PWM and the slot it is plugged into as well as which slot the code wants it plugged into. Also, you should make sure that the sidecar is fully functional with the power LEDs all green, and make sure that the ribbon cable is fully inserted on both ends.
Edit: From the datasheet:
LED Indicator Status
• Green = Full Forward
• Orange = Neutral/Brake
• Red = Full Reverse
• Flashing Orange = no PWM
__________________

2011-2014 - FRC 2607 - Student
2012-2012 - FLL 2249 - Coach
2015- ???? - FRC 4791 - Mentor
  #3   Spotlight this post!  
Unread 04-02-2013, 21:39
thvs thvs is offline
Registered User
FRC #4704
 
Join Date: Feb 2013
Location: Timmins
Posts: 14
thvs is an unknown quantity at this point
Re: Victor motor contorls flashing orange

Hi,
We have checked and everything seems to be in place. When we calibrate the controls they flash green for 2 seconds, then go back to flashing orange. I don't know if that means anything, but I was thinking that meant that there was nothing wrong with the wiring.

Also we got our robot to move by disabling the safety config in the program for the motor controls, However; I don't think that's the right answer.
  #4   Spotlight this post!  
Unread 04-02-2013, 22:37
BitTwiddler's Avatar
BitTwiddler BitTwiddler is offline
electronics/programming mentor
AKA: Mr Tanguay
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2006
Location: Sierra Vista, AZ
Posts: 243
BitTwiddler is on a distinguished road
Re: Victor motor contorls flashing orange

Quote:
Originally Posted by thvs View Post
Hi,
We have checked and everything seems to be in place. When we calibrate the controls they flash green for 2 seconds, then go back to flashing orange. I don't know if that means anything, but I was thinking that meant that there was nothing wrong with the wiring.

Also we got our robot to move by disabling the safety config in the program for the motor controls, However; I don't think that's the right answer.
That tells me the problem is in the code somewhere. Are you using LabVIEW? Are you periodically setting the motor value (i.e. every 100 ms or so)?
  #5   Spotlight this post!  
Unread 05-02-2013, 00:15
AllenGregoryIV's Avatar
AllenGregoryIV AllenGregoryIV is offline
Engineering Coach
AKA: Allen "JAG" Gregory
FRC #3847 (Spectrum)
Team Role: Coach
 
Join Date: Jul 2008
Rookie Year: 2003
Location: Texas
Posts: 2,551
AllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond reputeAllenGregoryIV has a reputation beyond repute
Send a message via AIM to AllenGregoryIV
Re: Victor motor contorls flashing orange

It seems like your program isn't updating the motor values when it's at zero. If you are able to calibrate but than it goes back to flashing orange that probably means motorsafety is killing the outputs for some reason.

If you only update the motor values if the joystick value changes, that might result in this type of problem.

Are you establishing all of them as Victors and not as Jaguars in code?
__________________

Team 647 | Cyber Wolf Corps | Alumni | 2003-2006 | Shoemaker HS
Team 2587 | DiscoBots | Mentor | 2008-2011 | Rice University / Houston Food Bank
Team 3847 | Spectrum | Coach | 2012-20... | St Agnes Academy
LRI | Alamo Regional | 2014-20...
"Competition has been shown to be useful up to a certain point and no further, but cooperation, which is the thing we must strive for today, begins where competition leaves off." - Franklin D. Roosevelt
  #6   Spotlight this post!  
Unread 05-02-2013, 10:34
thvs thvs is offline
Registered User
FRC #4704
 
Join Date: Feb 2013
Location: Timmins
Posts: 14
thvs is an unknown quantity at this point
Re: Victor motor contorls flashing orange

Quote:
Originally Posted by AllenGregoryIV View Post
It seems like your program isn't updating the motor values when it's at zero. If you are able to calibrate but than it goes back to flashing orange that probably means motorsafety is killing the outputs for some reason.

If you only update the motor values if the joystick value changes, that might result in this type of problem.

Are you establishing all of them as Victors and not as Jaguars in code?

If the problem is with updating motor values, what needs to be changed in the program?

They are established as victors.
  #7   Spotlight this post!  
Unread 05-02-2013, 10:41
Tem1514 Mentor's Avatar
Tem1514 Mentor Tem1514 Mentor is offline
Registered User
FRC #1514
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Toronto
Posts: 238
Tem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to behold
Re: Victor motor contorls flashing orange

Hi Tina,

If I recall you are the rookie team that we helped get going at the 610 quick build?

If that's the case my email to you should help. At the present, I really think that either the PWM cable(s) have been unplugged and or you have not enabled the robot.

I hope the email helps.

BTW.
This is a wonderful place to get help, Chief Delphi that is.
  #8   Spotlight this post!  
Unread 05-02-2013, 10:54
thvs thvs is offline
Registered User
FRC #4704
 
Join Date: Feb 2013
Location: Timmins
Posts: 14
thvs is an unknown quantity at this point
Re: Victor motor contorls flashing orange

Quote:
Originally Posted by Tem1514 Mentor View Post
Hi Tina,

If I recall you are the rookie team that we helped get going at the 610 quick build?

If that's the case my email to you should help. At the present, I really think that either the PWM cable(s) have been unplugged and or you have not enabled the robot.

I hope the email helps.

BTW.
This is a wonderful place to get help, Chief Delphi that is.

Hi,

We did receive the email, and checked all of the components you stated but the light is still flashing so we are inclined to believe its a programming error. We even had a mechanic and an electrician look at our robot and neither of them could see an error in the wiring.

Do you know of anything we should look for in the program

Thanks
  #9   Spotlight this post!  
Unread 05-02-2013, 11:00
ehochstein's Avatar
ehochstein ehochstein is offline
Coach, Volunteer & Mentor
AKA: Evan Hochstein
FTC #5943 (ESGM)
Team Role: Coach
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Bloomington, Minnesota
Posts: 933
ehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant futureehochstein has a brilliant future
Re: Victor motor contorls flashing orange

Can you post screen-shots of your Begin.vi Teleop.vi and Finish.vi?
__________________
Minnesota FIRST Senior Mentor | 2013-?

Stratasys Applications Engineering Technician | 2016-?

2009 Regional Win – 2470 @ 10k Lakes (Thanks 2826 and 1714)
2013 WFFA Recipient – 2470 @ 10K Lakes
2016 Ri3D: 'Snow Problem Reveal
2017 Ri3D: 'Snow Problem Reveal

The opinions expressed above are the personal opinions of the author and do not necessarily represent the views and opinions of any organization the author is affiliated with.
  #10   Spotlight this post!  
Unread 05-02-2013, 11:10
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,113
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: Victor motor contorls flashing orange

Everything A lot of what you describe is consistent with an improper PWM cable connection. It takes practice to be able to insert a PWM connector into a Victor properly every time. Unplug one and inspect the pins. They should be perfectly straight. If any are bent, it's likely that it wasn't making proper contact.

Last edited by Alan Anderson : 05-02-2013 at 12:03. Reason: saw some more details
  #11   Spotlight this post!  
Unread 05-02-2013, 11:25
rfolea's Avatar
rfolea rfolea is offline
Registered User
AKA: Rick Folea
no team (Forsyth Alliance)
Team Role: Mentor
 
Join Date: May 2005
Rookie Year: 2005
Location: US
Posts: 210
rfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant futurerfolea has a brilliant future
Re: Victor motor contorls flashing orange

Is the dashboard installed, operating and enabled?

LEDs will flash orange until the robot is enabled ... right?
  #12   Spotlight this post!  
Unread 05-02-2013, 11:37
thvs thvs is offline
Registered User
FRC #4704
 
Join Date: Feb 2013
Location: Timmins
Posts: 14
thvs is an unknown quantity at this point
Re: Victor motor contorls flashing orange

Quote:
Originally Posted by Wiifi View Post
Can you post screen-shots of your Begin.vi Teleop.vi and Finish.vi?
We have been using the basic code, except in the begin VI we changed the safety config to disabled and the Jaguar to a Victor.
  #13   Spotlight this post!  
Unread 05-02-2013, 11:47
Tem1514 Mentor's Avatar
Tem1514 Mentor Tem1514 Mentor is offline
Registered User
FRC #1514
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Toronto
Posts: 238
Tem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to beholdTem1514 Mentor is a splendid one to behold
Re: Victor motor contorls flashing orange

Does the code deploy without errors?

Can you Enable the robot from the Driver Station?

A screen shot of the Enabled Driver Station will help us solve your problem. Example, either take a digital picture or in Windows use the print screen function and then paste the clipboard into Word and attach the result here.
  #14   Spotlight this post!  
Unread 05-02-2013, 12:09
thvs thvs is offline
Registered User
FRC #4704
 
Join Date: Feb 2013
Location: Timmins
Posts: 14
thvs is an unknown quantity at this point
Re: Victor motor contorls flashing orange

Begin.docx
Quote:
Originally Posted by Wiifi View Post
Can you post screen-shots of your Begin.vi Teleop.vi and Finish.vi?
Here is a document with a picture of the vis.
  #15   Spotlight this post!  
Unread 05-02-2013, 12:26
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,113
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: Victor motor contorls flashing orange

Quote:
Originally Posted by thvs View Post
Here is a document with a picture of the vis.
Is there a reason you didn't just attach the pictures directly? Embedding them in a Word document requires extra steps on both your end and ours in order for us to see them, and it messes with the aspect ratio and size, making it hard to view them as they were originally captured.

With the exception of disabling the Drive motor safety, it looks like a standard Arcade default robot project. Did you make any changes that aren't shown, perhaps in Periodic Tasks?

Are there any messages on the Drive Station diagnostics display?
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 11:21.

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