View Single Post
  #1   Spotlight this post!  
Unread 08-02-2012, 17:59
sand500 sand500 is offline
Registered User
FRC #3540 (Wildcat Robotics)
 
Join Date: Jan 2011
Rookie Year: 2011
Location: United States
Posts: 81
sand500 is an unknown quantity at this point
Re: Can't Get Compressor to Run

Quote:
Originally Posted by ColonelThrtyTwo View Post
(I'm the programmer for the team)

Yea, I was using the compressor class. I've even put a comressor.setRelayValue(Relay.Value.kOn) in my teleopPeriodic and it still doesn't work. We just now wired the compressor straight to the battery and it works, so it's either the spike or our wiring.

Just to be sure, the spike PWM is plugged into the Relay section and the pressure sensor to the Digital IO section, correct? I thought that last year we plugged one of them into the PWM section, though I wasn't the electronics person.

EDIT: Which side is negative on the Spike PWM? I heard that it was towards the "B" but I don't see anything on the spike datasheet.

EDIT2: Okay, it started randomly working. I guess we had a loose connection?

GND means ground which is negative.