Go to Post "Things don't get done unless somebody does them." - CaptainKirby [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 22-09-2012, 13:31
Dexterium's Avatar
Dexterium Dexterium is offline
Registered User
AKA: Adam Poindexter
FRC #1208 (Metool Brigade)
Team Role: Programmer
 
Join Date: Sep 2012
Rookie Year: 2011
Location: United States
Posts: 24
Dexterium is an unknown quantity at this point
No PWM signal to speed-controllers(code problem probably)

Every year, tor the homecoming parade, our team makes a robot to distribute candy, and this years robot it having some problems. When we go to do our first test of the code and bot together nothing happens. The code deployed and ran correctly, but when we enabled it, the speed controllers(jag/victor) remained flashing yellow(no PWM signal). We tried a new digital sidecar, new PWMs, new battery, new everything. Nothing happened until we tried to run the default code(the one from frc that you get when you start a new project) to see if it was a code problem and what do you know it worked. So now we are 95% sure that it is the code, but we don't know what about the code is the problem. Has anyone had a similar problem and found a solution, or have and troubleshooting tips.Oh! Also, besides the speed controllers not initializing/light turning solid there was one other thing. Anytime we enabled the robot the 5v light on the digital sidecar goes out. Is is on any time the robot is not enabled but goes off the second it is. When we ran the default code the light dimmed but stayed on. Thanks for the help.
Reply With Quote
  #2   Spotlight this post!  
Unread 22-09-2012, 15:40
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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,713
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: No PWM signal to speed-controllers(code problem probably)

Sounds like a short on one of the DIOs that the code enables.

Try disconnecting all DIO and relay cables to see if the 5v light stays lit.
If it does, then reconnect each DIO one-by-one to see when it goes out.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 19-10-2012, 18:26
EvanA's Avatar
EvanA EvanA is offline
Programming Nut
FRC #1208 (MeTool Brigade)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2009
Location: O'Fallon IL
Posts: 8
EvanA is an unknown quantity at this point
Re: No PWM signal to speed-controllers(code problem probably)

Just a little update on this issue. It turns out it was an electrical problem. They hooked up the sidecar to the 5v output instead of the 12v.
__________________
FRC Team 1208 MeTool Brigade - 2009-2013
ROBOTS!
Reply With Quote
  #4   Spotlight this post!  
Unread 22-10-2012, 13:16
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: No PWM signal to speed-controllers(code problem probably)

Thank you very much for letting us know what the problem was and how you fixed it.
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 08:37.

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