Go to Post "I have cut this piece 4 times and it is still too short!" - Betty_Krocker [more]
Home
Go Back   Chief Delphi > Technical > Pneumatics
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #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.
  #2   Spotlight this post!  
Unread 09-02-2012, 17:41
ColonelThrtyTwo's Avatar
ColonelThrtyTwo ColonelThrtyTwo is offline
Registered User
FRC #3676
 
Join Date: Jan 2011
Location: Somewhere in Texas
Posts: 13
ColonelThrtyTwo is an unknown quantity at this point
Re: Can't Get Compressor to Run

Started not working again.

Quote:
Originally Posted by sand500 View Post
GND means ground which is negative.
There is no GND symbol on the Spike relay.

The problem is in the pressure switch, because I can turn on the compressor manually. Are the pressure switches open or closed when low on pressure? Ours is open when low which doesn't match the Java compressor code and it didn't trip at 120psi.
  #3   Spotlight this post!  
Unread 09-02-2012, 18:05
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,800
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Can't Get Compressor to Run

How do you have the pressure switch wired?
It should be signal & ground, the outside wires of a PWM cable, no power.

To bypass it you can short across the pressure switch terminals. The compressor should turn on then.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #4   Spotlight this post!  
Unread 09-02-2012, 18:22
ColonelThrtyTwo's Avatar
ColonelThrtyTwo ColonelThrtyTwo is offline
Registered User
FRC #3676
 
Join Date: Jan 2011
Location: Somewhere in Texas
Posts: 13
ColonelThrtyTwo is an unknown quantity at this point
Re: Can't Get Compressor to Run

Quote:
Originally Posted by Mark McLeod View Post
How do you have the pressure switch wired?
It should be signal & ground, the outside wires of a PWM cable, no power.
Yep

Quote:
Originally Posted by Mark McLeod View Post
To bypass it you can short across the pressure switch terminals. The compressor should turn on then.
Doesn't seem to work. The switch seems to be closed normally (without pressure), so shorting them wouldn't do anything afaik.
  #5   Spotlight this post!  
Unread 09-02-2012, 18:32
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,800
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Can't Get Compressor to Run

Quote:
Originally Posted by ColonelThrtyTwo View Post
The switch seems to be closed normally (without pressure), so shorting them wouldn't do anything afaik.
It just eliminates the switch as the cause of your problems.
It is closed below ~95psi, and open at ~115psi, remaining open until it drops below 95psi again.

So it's not the switch, since it's out of the picture when you short across it's terminals.

Does the Digital Sidecar have all three power lights bright green? Some times it's a lack of proper power, other times the DIO pins could be shorted improperly.

I assume the Relay indicator on the Sidecar is not turning green either.

After that it's most probably your code.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #6   Spotlight this post!  
Unread 09-02-2012, 18:34
slijin's Avatar
slijin slijin is offline
Pockets
AKA: Samuel Lijin
FRC #0694 (StuyPulse)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York City
Posts: 537
slijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to behold
Re: Can't Get Compressor to Run

Quote:
Originally Posted by ColonelThrtyTwo View Post
There is no GND symbol on the Spike relay.
The B symbol on the Spike is logically equivalent to a GND symbol. The reason is that PWM cables usually have the ground cable color coded black.

Quote:
Originally Posted by ColonelThrtyTwo View Post
The switch seems to be closed normally (without pressure), so shorting them wouldn't do anything afaik.
The point of shorting the circuit across the pressure switch is to see if the pressure switch itself is broken. Alternatively, take a multimeter to the switch and check continuity (can also be done by reading resistance) and see whether the switch is tripped when you reach 115 psi (note that the switch opens when you reach 115 psi and will not close until the system falls below 95 psi).
__________________

2010-12 CT Chairman's
2011 Galileo 5th seed
2010 NY Regional Winners
  #7   Spotlight this post!  
Unread 09-02-2012, 19:28
WarriorRobotics WarriorRobotics is offline
Registered User
FRC #3676
 
Join Date: Jan 2012
Location: Arlington, TX
Posts: 6
WarriorRobotics is an unknown quantity at this point
Re: Can't Get Compressor to Run

The thing started to work correctly, so thanks for all your help.
  #8   Spotlight this post!  
Unread 09-02-2012, 19:30
slijin's Avatar
slijin slijin is offline
Pockets
AKA: Samuel Lijin
FRC #0694 (StuyPulse)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York City
Posts: 537
slijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to behold
Re: Can't Get Compressor to Run

Quote:
Originally Posted by WarriorRobotics View Post
The thing started to work correctly, so thanks for all your help.
Great to hear.

What was the source of the problem?
__________________

2010-12 CT Chairman's
2011 Galileo 5th seed
2010 NY Regional Winners
  #9   Spotlight this post!  
Unread 09-02-2012, 19:33
WarriorRobotics WarriorRobotics is offline
Registered User
FRC #3676
 
Join Date: Jan 2012
Location: Arlington, TX
Posts: 6
WarriorRobotics is an unknown quantity at this point
Re: Can't Get Compressor to Run

Not really sure, we switched the pressure switch with another one we had laying around and it still seemed to be doing the same thing. Our programmer then said that he just fixed some indents or something in the code and resent it to the robot. It started working after that.
Closed Thread


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 16:23.

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