View Single Post
  #5   Spotlight this post!  
Unread 22-03-2004, 20:15
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,186
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: Pressure Switch: Ordering a Spare

Quote:
Originally Posted by Sscamatt
The texas intruments thing is to check how much pressure is left in the tanks. The one he is talking about is the one that turns off the compressor when it reaches 120 psi. I know because we had it wired wrong. When you wire it make sure that the compressor is connected directly to the spike relay and that the pressure switch is connected into a digital i/o on the rc. Looks the same besides the color.
you may not need this but what you would want to do to program that is:

1)connect one terminal to the ground on the digital in, the other to SIG
2)Wire your compressor up on a Spike
3) *Optional* In the code, set macros for the dig in (ex CompSwitch) and the relay out(ex Compressor)
4) Write code
Code:
if(!CompSwitch)
{
     Compressor = 1;
}
else
{
     Compressor = 0;
}