View Single Post
  #12   Spotlight this post!  
Unread 13-02-2014, 15:05
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Electrical/Programming Mentor
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,753
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: Compressor Problem!

Quote:
Originally Posted by Vkamra20 View Post
The light is orange(not blinking though). The wires on the switch are indeed black and white. Turning on "Tele Op" we hear the click sound. The compressor does work when we manually power it.
Where is this click coming from? Personally, I've never heard the pressure switch give an audible click...

Take out your multi-meter and measure the resistance of the switch as you pressurize the system - you should see the change when you get to 110-120 PSI. You'll see it change back when it gets down to about 90 PSI. That's how you know the pressure switch is working.

Next, plug it into the DSC, and add a print statement in your code so you can see the value of the switch. Go through the same pressurization routine and make sure the value flips as expected. That's how you know the system is recognizing the pressure switch is being triggered.

Now, take a look at the LED's next to the relays on the DSC - does one of them light up when you expect the compressor to turn on? That's how you know the code is starting the compressor correctly.

Almost there, now take a look at the spike. It should have a solid orange LED when the compressor should be off, but when it should be on (aka when the LED on the DSC turns on), the light should switch to green. That's how you know the relay is doing what its supposed to to.

Finally, does the compressor turn on when the light on the relay turns on? That's how you know you have a complete working system.

Walk through these steps one at a time, from top to bottom. Eventually, you'll find the step where stuff stops working, and you'll be able to isolate your problem and fix it. Until you do that, we can't tell if it's code, a bad wire to the spike, a bad wire to the pressure switch, a bad pressure switch, a bad DSC, or a bad compressor.
__________________
2007 - Present: Mentor, 2177 The Robettes
LRI: North Star 2012-2016; Lake Superior 2013-2014; MN State Tournament 2013-2014, 2016; Galileo 2016; Iowa 2017
2015: North Star Regional Volunteer of the Year
2016: Lake Superior WFFA
Reply With Quote