View Single Post
  #7   Spotlight this post!  
Unread 30-01-2014, 13:37
otherguy's Avatar
otherguy otherguy is offline
sparkE
AKA: James
FRC #2168 (The Aluminum Falcons)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: CT
Posts: 429
otherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to behold
Re: Programming the Air Compressor and Pressure Switch

Quote:
Originally Posted by puneeth.meruva View Post
We are using the same code as that which was given on the WPI tutorials. However, when we enable the robot, the compressor does not turn on and the LED's beside the relay ports on the sidecar do not turn on either. However, I am sure that there isn't any errors with the code since it is identical to the tutorials. Does anyone know what could be happening? Could the spike relay or the sidecar be faulty?
If there is no light on the DSC relay channel the spike isn't malfunctioning (not yet at least).

How is your pressure switch wired?

You should have a signal wire and ground wire going to the switch. This cable should plug into a digital I/O port on the DSC.
See the wires on the pressure switch in this figure
__________________
http://team2168.org
Reply With Quote