Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Pneumatics (http://www.chiefdelphi.com/forums/forumdisplay.php?f=54)
-   -   pressure switch wiring question... (http://www.chiefdelphi.com/forums/showthread.php?t=53287)

Transformers 02-02-2007 14:50

pressure switch wiring question...
 
I looked through the existing threads concerning pneumatic pressure switches, but didnt see anything concerning the steps taken to wire it to the RC. Forgive me if i missed it but how are the two wires from the pressure switch connected via PWM style cables to an input on the RC? Any tips or techniques would be greatly appreciated! Thanks again.

Kingofl337 02-02-2007 16:13

Re: pressure switch wiring question...
 
Use the black and white wires on a PWM cable. Then connect it to a digital input.

Transformers 03-02-2007 16:13

Re: pressure switch wiring question...
 
Ah so do I have to take the PWM connector with 3 prongs completely off and then just use the black and whites to wire the pressure switch? Thanks.

Mike Betts 03-02-2007 16:22

Re: pressure switch wiring question...
 
Quote:

Originally Posted by Transformers (Post 570987)
Ah so do I have to take the PWM connector with 3 prongs completely off and then just use the black and whites to wire the pressure switch? Thanks.

Yes. And be sure to insulate the red (unconnected) wire as it will have 5 volts present on it.

Al Skierkiewicz 03-02-2007 22:31

Re: pressure switch wiring question...
 
Quote:

Originally Posted by Mike Betts (Post 570992)
Yes. And be sure to insulate the red (unconnected) wire as it will have 5 volts present on it.

An easy way to prevent the 5 volts from getting into trouble...Using a fine point wire cutter, cut the red wire next to the connector that will be plugged into the RC. If you pull on the wire ( or slip a knife blade between the wires) it will separate from the white and black wires. Pull back about 1/2-1 inch and cut off the excess length of red wire and you're done.

Transformers 05-02-2007 14:44

Re: pressure switch wiring question...
 
Alright, great thanks a ton. However, we do have to include code in our program to sense the pressure switch at all, correct? thanks again guys

Al Skierkiewicz 05-02-2007 14:54

Re: pressure switch wiring question...
 
Quote:

Originally Posted by Transformers (Post 572361)
Alright, great thanks a ton. However, we do have to include code in our program to sense the pressure switch at all, correct? thanks again guys

The code is embedded in the default code, copy and paste as needed and then modify if you are using a different relay output or digital input than those for which the code was written.

Transformers 07-02-2007 13:19

Re: pressure switch wiring question...
 
Ok, well one more question, is there actual default code that we can access? I thought it was just already in the RC...? I found some code that says its for the pressure switch in the actual manual, is that the one i should use? Thanks!

Mark McLeod 07-02-2007 13:30

Re: pressure switch wiring question...
 
The section in the default code looks like this:
Code:

  relay8_fwd = !rc_dig_in18;  /* Power pump only if pressure switch is off. */
  relay8_rev = 0;

It was in the Robot Controller as shipped.

The Pressure sensor connects to digital input 18, the connection to the spike handling the compressor goes on Relay 8.

Transformers 07-02-2007 14:02

Re: pressure switch wiring question...
 
Alright, it is shutting off at 115 now, thanks, i think it was that we had the inputs in the wrong spots. Thanks for the help!

M.Jesus 16-02-2008 12:28

Re: pressure switch wiring question...
 
Quote:

Originally Posted by Transformers (Post 570987)
Ah so do I have to take the PWM connector with 3 prongs completely off and then just use the black and whites to wire the pressure switch? Thanks.

does it matter what sides of the switch you wire the power and ground to?

Gamer930 16-02-2008 12:55

Re: pressure switch wiring question...
 
Quote:

Originally Posted by M.Jesus (Post 700156)
does it matter what sides of the switch you wire the power and ground to?

Nope, there is no positive and negative to the switch


All times are GMT -5. The time now is 16:58.

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