View Single Post
  #15   Spotlight this post!  
Unread 04-05-2016, 15:24
nighterfighter nighterfighter is offline
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
Re: Brownout Prevention?

Quote:
Originally Posted by Sir_Fenwick View Post
Instead of running the compressor off of the PCM as is normal, run it instead off of a spike using 20 Amp breaker. Connect the spike directly to the power distribution board with a 20 Amp breaker, then connect the spike's PWM to one of the RoboRIO's relay pins. Connect the compressor to the spike, and with a little coding, the compressor will be unaffected by any brownouts. This is also completely legal

I should point out that you also MUST wire the pressure switch into the roboRIO as well.

You can't simply hook up the spike and say in your code:

compressorRelay.Set(Forward);

It has to turn off when the pressure switch trips.

See R88: (Insert remark that 2016 rules don't apply to 2017 or offseason projects).






But yes, this is a valid way to do so. Also doing it this way allows you to turn the compressor OFF when you are in a high-current draw situation, where every last bit of power helps.
__________________
1771- Programmer, Captain, Drive Team (2009-2012)
4509- Mentor (2013-2015)
1771- Mentor (2015)
Reply With Quote