Thread: Compressor
View Single Post
  #9   Spotlight this post!  
Unread 11-02-2010, 14:03
Lakedaimon's Avatar
Lakedaimon Lakedaimon is offline
Registered User
FRC #3012 (Spartans)
Team Role: Teacher
 
Join Date: Nov 2008
Rookie Year: 2003
Location: Cypress Lakes HS, Katy, TX
Posts: 23
Lakedaimon is an unknown quantity at this point
Re: Compressor

We are experiencing a very similar problem.

We have code which creates a Compressor object, then calls the start method. It is created with (1,1) as the parameter list. We wait until teleop is enabled to call the start method. At this point the green LED on the Sidecar for relay # one lights up. So far, so good.

However... the amber light on the Spike relay never changes color, and the compressor never runs.

We have a PWM cable running from slot #1 in the relay section of the Sidecar to the input slot on the Spike relay. The black part of the cable is on the common pin at the Sidecar, and under the 'B' on the relay. (We also have wires running from the pressure sensor to slot #1 in the digital I/O section of the Sidecar (since the Sidecar relay light #1 comes on, this is really beside the point, I think. If the relay light is on, then neither the code nor the pressure sensor is the issue, right?))

Since the Spike LED is never changing color, the problem is the control wire or the Spike(?) We have replaced both, with no effect. We have also wired the compressor directly to the power distribution board momentarily just to check it, it runs fine.

What else are we missing?
__________________
Firmware is the most expensive thing in the universe. - Jack G. Ganssle