View Single Post
  #4   Spotlight this post!  
Unread 04-29-2016, 04:10 PM
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,536
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Pneumatics & Java

Quote:
Originally Posted by GoldenGollem View Post
Thanks for the answers. One other question...
What would be the difference coding wise if I were to use a spike relay vs. PCM.
-GG
Do you want to use a spike relay to control the compressor, a solenoid valve, or both?

In either case, as I read the documentation, you would not use the pneumatics library, but control them as described on the wpilib relay page.

If controlling the compressor through a relay, you would connect the pressure switch to a DIO (it's normally closed). If the pressure switch is open, you MUST turn off the compressor and leave it off, both for safety and FRC regs. You MAY turn of the compressor based on other criteria (e.g. a pressure gauge or other loads on the system).
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.

Last edited by GeeTwo : 04-29-2016 at 04:15 PM. Reason: fix NO to NC on pressure switch
Reply With Quote