View Single Post
  #2   Spotlight this post!  
Unread 03-02-2005, 14:24
Dave Scheck's Avatar
Dave Scheck Dave Scheck is offline
Registered User
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Feb 2003
Rookie Year: 2002
Location: Arlington Heights, IL
Posts: 574
Dave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond reputeDave Scheck has a reputation beyond repute
Re: Default code and the Compressor

Your code is doing exactly what it is supposed to be doing....run when the switch is not set (i.e. pressure is below the threshold). It just so happens that the pressure switch has a cutoff of ~115 PSI. There's a discussion of this here.

If you really want to get your system pressure to 120 PSI, you can run the pump for a fixed number of cycles after the switch was set (i.e. pressure is above threshold) before giving it the command to shut off. We've used this method for the past few years, and it works just fine.