Go to Post "If I had a nickel for every time our robot actually worked, I'd have one whole nickel. It was fail. Epic fail." - lol, a team at the NYC FTC tourny - Akash Rastogi [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
  #16   Spotlight this post!  
Unread 18-02-2013, 02:16
ww2freak8 ww2freak8 is offline
Registered User
FRC #4345
 
Join Date: Jan 2012
Location: CARSON
Posts: 12
ww2freak8 is an unknown quantity at this point
Smile Re: Programming a compressor

Quote:
Originally Posted by plnyyanks View Post
That doesn't sound right. You should be getting +12, -12, or 0. Check the input wiring - it sjhould go a terminal on the PDB protected by a 20 amp breaker.


If it's solid orange, that means it's outputting neutral (zero volts). If it's trying to get your compressor to run, it'll turn green (forward). There should be a PWM wire between the spike and Relay port 3 on your digital sidecar (like you specified in code)


When the pressure going through the pressure switch is <120 psi, there will be an open circuit between the two wires coming off it (which should go to DIO 14, like you specified in code). That circuit will close when the pressure reaches 120 psi. This tells the cRIO to turn off the compressor.

Take a look at the Signal Wiring Diagram and the Power Wiring Diagram to see how to wire the pressure switch and a spike relay.
Thanks! I'll make sure all that is good tomorrow, hopefully can get everything working before midnight
Reply With Quote
  #17   Spotlight this post!  
Unread 19-02-2013, 19:59
ww2freak8 ww2freak8 is offline
Registered User
FRC #4345
 
Join Date: Jan 2012
Location: CARSON
Posts: 12
ww2freak8 is an unknown quantity at this point
Re: Programming a compressor

so looks like it was a bad spike relay. compressor works fine now and even more issues arise today such as the trigger button not working even though before it did and now our motor that is suppose to be triggered by it turns on when teleop is enabled =/
Reply With Quote
  #18   Spotlight this post!  
Unread 20-02-2013, 11:59
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: Programming a compressor

That happened to us yesterday evening. We added a servo, and suddenly one of the other motors decided to run backwards full speed. It turns out that the "database" we use to track robot I/O had duplicated a bunch of PWM channels.

Read the Diagnostics window on the Driver Station. It might be telling you something about trying to open a PWM output twice.
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 22:58.

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