Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Electrical (http://www.chiefdelphi.com/forums/forumdisplay.php?f=53)
-   -   Compressor problem (http://www.chiefdelphi.com/forums/showthread.php?t=117775)

Francis115 16-07-2013 18:11

Compressor problem
 
Hey,
We have a problem with the compressor, it stays on even when the robot is disabled or enabled.Also the light on the spike turns off when the pwm is plugged in. We also replaced the spike to make sure it's not the spike that causes the problem.

PS. The wiring is copied from our comp bot for the practice bot to work and the codes are the same so we are guarantees that the software is fine. Thanks

-Francis

nathan_hui 16-07-2013 19:56

Re: Compressor problem
 
Is the pressure sensor working? Double check it with a multimeter, and make sure you're looking at the sensor the right way (i.e. NO or NC).

Are the wires wired correctly? It's not unheard of for wires to jump one receptacle over during assembly.

When you say the spike LED turns off, that worries me. Is that still happening? http://content.vexrobotics.com/docs/...uide-sep05.pdf is the Spike Relay user manual; it looks like the PWM port on the sidecar may be misconfigured.

FrankJ 16-07-2013 20:39

Re: Compressor problem
 
Running while disabled rules out the pressure switch. Check your wiring.

RyanCahoon 16-07-2013 22:59

Re: Compressor problem
 
Quote:

Originally Posted by FrankJ (Post 1283030)
Running while disabled rules out the pressure switch.

Agreed. Also basically rules out programming.

Make sure the spike is wired to a relay port and not a pwm port. Could also be a bad digital sidecar, sidecar cable, or even digital i/o module, though the first two components are much more likely.

ablatner 16-07-2013 23:48

Re: Compressor problem
 
On the bright side it's not the pressure switch or programming. We had an issue where it would turn off the compressor 9 times out of 10, but that one time it would keep going. Even after changing out the switch and all the wiring. It sort of just fixed itself by competition... Anyway, check if it's in a relay port with the right polarity, and if not, switch it. If you replaced the spike, the only things left I can think of are the digital ribbon cable, sidecar, and the cRIO. I highly doubt it's the cRIO, but these things have ghosts in them.

Al Skierkiewicz 17-07-2013 07:26

Re: Compressor problem
 
If the light goes out when you plug in the PWM and the compressor is still running you have a wiring issue. The LED off indicates that both outputs are switched to +12 and that would not run the compressor. I suspect the wiring was changed or one of the wires is pinched and is seeking return through the chassis and some other fault.

magnets 17-07-2013 07:32

Re: Compressor problem
 
To make it easier to help you, it would be nice to see pictures of you compressor, pressure switch, spike, and DSC.

AdrielPatrick 17-07-2013 15:50

Re: Compressor problem
 
Thank you very much for all the fast replies! It will really help me and my teammates troubleshoot this and other future problems.

Quote:

Originally Posted by magnets (Post 1283094)
To make it easier to help you, it would be nice to see pictures of you compressor, pressure switch, spike, and DSC.

And yes, gladly before we left the shop, we actually took pictures of the digital sidecar, pressure sensor, spike and the compressor.
here's the picture of our compressor, the spike, and the digital sidecars.

Quote:

Originally Posted by nathan_hui (Post 1283021)
Is the pressure sensor working? Double check it with a multimeter, and make sure you're looking at the sensor the right way (i.e. NO or NC).

Are the wires wired correctly? It's not unheard of for wires to jump one receptacle over during assembly.

When you say the spike LED turns off, that worries me. Is that still happening? http://content.vexrobotics.com/docs/...uide-sep05.pdf is the Spike Relay user manual; it looks like the PWM port on the sidecar may be misconfigured.

I checked the pressure sensor with a multimeter, NC is connected to black, and N is connected to white, as seen at the picture linked above. We're getting about five volts from the red wire and the black wire that is connected to the pressure sensor.

The pwm attached to the pressure sensor routes back to port 14 where it is configured. We'll double check the wires thank you.

Not anymore, I believe it's due to bending the pwm pins. The user manual helps a lot too thanks.

Quote:

Originally Posted by FrankJ (Post 1283030)
Running while disabled rules out the pressure switch. Check your wiring.


I see. We'll double check the wiring, I posted pictures above of our wiring on the digital sidecar, spike, and the compressor. We used a pwm to connect the pressure switch to the digital sidecar, black is connected to NC while white is connected to N.


Quote:

Originally Posted by RyanCahoon (Post 1283058)
Agreed. Also basically rules out programming.

Make sure the spike is wired to a relay port and not a pwm port. Could also be a bad digital sidecar, sidecar cable, or even digital i/o module, though the first two components are much more likely.

By pwm port, do you also mean digital i/o port on the digital sidecar? Please check my pictures above. I believe we've always plugged in the pwm for the spike in the digital i/o port not in the relay port. Our programmer told to us to put it in Digital I/O port 8. We know that our compressor was working correctly before, so hopefully it's not bad components.

Quote:

Originally Posted by ablatner (Post 1283067)
On the bright side it's not the pressure switch or programming. We had an issue where it would turn off the compressor 9 times out of 10, but that one time it would keep going. Even after changing out the switch and all the wiring. It sort of just fixed itself by competition... Anyway, check if it's in a relay port with the right polarity, and if not, switch it. If you replaced the spike, the only things left I can think of are the digital ribbon cable, sidecar, and the cRIO. I highly doubt it's the cRIO, but these things have ghosts in them.


Yes, we also know it's not the pressure switch because we replaced it with another one, and also the programming hasn't been changed. And I'll figure out why we plug in the spike on the digital i/o instead of the relay ports... thanks!

Quote:

Originally Posted by Al Skierkiewicz (Post 1283092)
If the light goes out when you plug in the PWM and the compressor is still running you have a wiring issue. The LED off indicates that both outputs are switched to +12 and that would not run the compressor. I suspect the wiring was changed or one of the wires is pinched and is seeking return through the chassis and some other fault.

I agree, the LED isn't off anymore, and I believe that was also due the PWM pins being bent when we try to put it in the spike. But after we plug it in correctly, that is when the compressor doesn't turn off even when disabled.

Thank you all for the time!
-Patrick

AdamHeard 17-07-2013 16:04

Re: Compressor problem
 
You don't have anything plugged into the relay out on either sidecar.

This is where the spike should receive it's signal.

AdrielPatrick 17-07-2013 16:29

Re: Compressor problem
 
Quote:

Originally Posted by AdamHeard (Post 1283158)
You don't have anything plugged into the relay out on either sidecar.

This is where the spike should receive it's signal.

Yup. I totally blew that one. Thanks, I finally remembered it, hence it's called "Spike relay." It's suppose to be plugged in the last port which is port #8 on the relay port, not in the digital I/O port. That was such a noobish mistake, still thanks for all the time.

nathan_hui 17-07-2013 22:39

Re: Compressor problem
 
Quote:

Originally Posted by AdrielPatrick (Post 1283164)
That was such a noobish mistake, still thanks for all the time.

The key thing is, you found the mistake, and you were willing to admit it. It's an honest mistake. They happen, even to the best of us. Now make sure the persons who made the mistake understand why the mistake happened.


All times are GMT -5. The time now is 11:20.

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