Quote:
Originally Posted by Coffeeism
Well I'm not 100% sure how you wired everything but I'll try and answer your question.
I believe the pressure switch switches on, closes the circuit (provides an output low) when the PSI drops below 95. Now it just seems like a matter of programming to get the compressor behaving the way you want. You can use the pressure switch that sees the output low, to turn on the spike connected to the compressor. You can program it to a switch on the OI as well. Maybe you can post your code. It sounds like you programmed the single solenoid right.
|
Programmed the solenoid? I'm laughing right now. We did exactly zero programming to the solenoid. I'll tell you what we have done. We have the positive and negative wires hooked to the solenoid, and in turn, the wires are connected to the Spike. The Spike is wired to the circuit breaker, and the PWM cable coming from the Spike is in Relay Input 3. It works with no programming. I just have to drop in the toggle code....then work out the kinks in the switch. this is essentially how I have the compressor wired, also.
What should I do now?
EDIT: as a note, the pressure switch is wired to digital input 1. But yet nothing is happening. I still have to compile the code, put in our autonomous structuring, throw in the toggle code, and fine tune the numbers.