Go to Post So as you're thinking about this, think simple. - Cyberguy34000 [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 02-02-2013, 20:29
jp1247's Avatar
jp1247 jp1247 is offline
No the cRio does not like aluminum!
FRC #1247 (ROK BOT)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2010
Location: New Hampshire
Posts: 60
jp1247 is an unknown quantity at this point
Odd Compresssor Issue

So, I've seen a number of threads concerning problems with compressors this year, but have yet to see one with this problem (call me out if i missed it). Everything is wired and connected properly, however the compressor class (in java) only turns on the A output of the relay port on the DSC, The spike will only turn on if both A and B are turned on. I presume this is because of how Relay.setDirection() is called in the compressor class, but it is compiled and cannot be changed like in previous years. I solved the problem today by jumping the A and B channels (red and white) of the pwm cable to trick the spike. Other than it works fine, turns on below 100 psi, turns off above 115. Any ideas on why this is? or is it just a bug in the WPILIB? I don't feel comfortable with a Jerry-rigged pwm cable, and I dont think inspectors will be either...
__________________
"No, you can't use the Kinect to do pelvic thrusts."
  #2   Spotlight this post!  
Unread 02-02-2013, 21:07
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,718
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: Odd Compresssor Issue

The good news is the code is doing what it's supposed to do.
The Relay on the Digital sidecar that the compressor Spike is connected to, normally turns on only the green LED, not the red LED too.

That sounds like a wiring or Spike problem.
The Spike LED should match the Digital Sidecar Relay LED.
You might want to test the Spike output with a multimeter, as well as the PWM cable.

The green Relay LED means the Spike puts out +12v on the M+ output and grounds the M- output.

A red Relay LED means the opposite: +12v on the M- output and ground on the M+ output

Having both on would mean both the M+ and the M- would be outputting +12v, no ground.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 02-02-2013 at 21:12.
  #3   Spotlight this post!  
Unread 02-02-2013, 21:56
jp1247's Avatar
jp1247 jp1247 is offline
No the cRio does not like aluminum!
FRC #1247 (ROK BOT)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2010
Location: New Hampshire
Posts: 60
jp1247 is an unknown quantity at this point
Re: Odd Compresssor Issue

Exactly why I'm confused. I've tried a number of spikes too. all newer VEXPro ones, with 20 amp snap actions. Manually activating the spike via a Relay object, and using kON turns on both red and green on the DSC, and the compressor turns on.
__________________
"No, you can't use the Kinect to do pelvic thrusts."
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 05:27.

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