View Single Post
  #10   Spotlight this post!  
Unread 13-02-2010, 21:15
Isaac501 Isaac501 is offline
Registered User
FRC #0501 (The PowerKnights)
Team Role: Mentor
 
Join Date: Mar 2009
Rookie Year: 1995
Location: Thunder Bluff
Posts: 95
Isaac501 is just really niceIsaac501 is just really niceIsaac501 is just really niceIsaac501 is just really nice
Re: Stuttering compressor

Quote:
Originally Posted by hyperdude View Post
I'm no robot programmer, but I am pretty sure that you need to program the compressor to shut off when the pressure gets up to 120psi (when the relief valve opens). There's no way for the pneumatics system to "know" when it's at a certain pressure.

Now if you've already got this programmed, then you might want to post the code so someone can help you.
This is incorrect. There is a pressure switch that (if properly calibrated) will signal when the pressure is at 120 PSI. wpilib has code which turns off the compressor when this signal is received. The compressor requires no intervention past properly wiring it and instantiating and start()ing.
__________________
Team 501 Academic Advisor, Systems Build Mentor