Go to Post Health. Family. School. FIRST. Any other order is a mistake. - pfreivald [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 14-02-2014, 19:20
ekapalka's Avatar
ekapalka ekapalka is offline
Registered User
FRC #3216
 
Join Date: Dec 2012
Location: Bermuda
Posts: 277
ekapalka has a spectacular aura aboutekapalka has a spectacular aura about
Compressor issue

We're having a weird problem with our compressor that we can't seem to figure out. Our compressor refuses to turn on. What we've done in attempt to remedy the issue is to command each of the individual components individually (the relay and the pressure switch). The relay works, and turns on the compressor, as expected, when it's set to 'on'. The pressure switch returns false when without pressure (in it's normal state), and presumably true when at max (we just manually connected and disconnected the wires to it). Does anyone have any idea what the issue is? I'm not sure what it is, but I think the pressure switch values may need to be negated. We're initializing the compressor system like this:
Code:
 compressorPointer = new Compressor(14, 1); //1 is the Digital I/O, and 14 is the Relay port
		compressorPointer->Start();
The spike shows a solid orange/yellow light when we do so, but that's it. We've tried switching the input (1,14 to 14,1) which didn't help at all. We've also tried putting compressorPointer->Start(); at the beginning of teleop (outside of the while loop) and at the beginning of autonomous. The switch is wired to the signal and negative pins on port 14 on the DIO on the sidecar. We've tried multiple sensors. Any ideas are welcome. Thanks!
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 03:54.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi