Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   No PWM signal to speed-controllers(code problem probably) (http://www.chiefdelphi.com/forums/showthread.php?t=108628)

Dexterium 22-09-2012 13:31

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. :)

Mark McLeod 22-09-2012 15:40

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.

EvanA 19-10-2012 18:26

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. :D

Alan Anderson 22-10-2012 13:16

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.


All times are GMT -5. The time now is 10:55.

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