I am a member of an FRC team, trying to debug our pneumatic system, full details are below.
Pneumatic Setup:
First 2013 Pneumatics Manual
Page 8
Wiring Setup poorly drawn picture but accurate schematic:
http://i.imgur.com/ariBwst.png (too big to display here)
Begin.vi code for compressor:
Compressor: ViAir Compressor 2011
Issues:
-Compressor won't automatically turn off after 120 (we tested up to 135)
-We probably wired something wrong somewhere.
Tl;dr below
Today me and my team wired a ViAir Compressor 2011. It's not the Viair 090C Air Compressor, although we have one.
So here's what we did:
20-Amp Snap-Action breaker to 20-Amp 12v VEX Spike-relay
From that the M+, M- went to the Air compressor, + to +, - to - ends of course.
Then we wired the 3-pin PWM connector to Relay 1, making sure the black end is on the G on the Spike-relay and on the relay panel the black is on the outermost pin.
But the issue became that it didn't work. It only showed a reddish-yellow light, until we connected it to the Digital I/O board on slot 1. Then the light became completely red but the compressor started running.
-We get a red light no matter what (unless we switch positive and negative around) on our Spike-relay. We're not sure whether this is correct or not, but it is working in this fashion.
We wired our two wired pressure-release valve to relay 1, as we thought it would go there instead of the Spike-relay.
-But it didn't work, we got up to 135 PSI and it didn't work.
/Tl'dr
I'l happily answer any questions.