View Single Post
  #7   Spotlight this post!  
Unread 31-08-2010, 22:17
Bot190's Avatar
Bot190 Bot190 is offline
Registered User
FRC #0166 (ChopShop)
Team Role: Programmer
 
Join Date: Sep 2009
Rookie Year: 2009
Location: Merrimack NH
Posts: 105
Bot190 will become famous soon enough
Re: How to work with pneumatics

Quote:
Never mind, got the compressor to start but now we need to get the compressor to stop. How do you make it stop at 60 psi?
You can't do this with whats in the KOP. Your pneumatics system should have a pressure switch inline with it. The pressure switch from the programs point of view, returns 1 when the pressure is less than 90 then returns 0 when its greater than 115. If i remember correctly. What the compressor class does is takes the channel for the pressure switch and a channel for the relay for the compressor itself. Then it turns the compressor on when the pressure switch returns a 1 and shuts it off when the pressure switch returns 0.

To turn the compressor off when it reaches a different PSI, you either need a pressure switch that changes state at 60 PSI or you need a Pressure Transducer, which applies resistance depending on the pressure.
__________________

Reply With Quote