Go to Post The GDC needs to write the rules once and let the game be what the game is going to be. There's little that's fun about being told exactly how to play with your toys. - Madison [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 07-02-2015, 23:26
Gregor's Avatar
Gregor Gregor is offline
#StickToTheStratisQuo
AKA: Gregor Browning
no team
Team Role: College Student
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Kingston, Ontario, Canada
Posts: 2,447
Gregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond reputeGregor has a reputation beyond repute
Re: No compressor light on PCM, no compressor power, no CAN recognition of compressor

Please take a picture of your PCM, solenoid, and PDP where the PCM wires to.
__________________
What are nationals? Sounds like a fun American party, can we Canadians come?
“For me, insanity is super sanity. The normal is psychotic. Normal means lack of imagination, lack of creativity.” -Jean Dubuffet
"Insanity is doing the same thing over and over again and expecting different results." -Albert Einstein
FLL 2011-2015 Glen Ames Robotics-Student, Mentor
FRC 2012-2013 Team 907-Scouting Lead, Strategy Lead, Human Player, Driver
FRC 2014-2015 Team 1310-Mechanical, Electrical, Drive Captain
FRC 2011-xxxx Volunteer
How I came to be a FIRSTer
<Since 2011
  #2   Spotlight this post!  
Unread 08-02-2015, 10:37
techplex's Avatar
techplex techplex is offline
Blake B
AKA: Blake
FRC #4909 (The Bionics)
Team Role: Mentor
 
Join Date: Mar 2009
Rookie Year: 2007
Location: Massachusetts
Posts: 94
techplex is just really nicetechplex is just really nicetechplex is just really nicetechplex is just really nice
Re: No compressor light on PCM, no compressor power, no CAN recognition of compressor

Make sure you have at least one Solenoid or DoubleSolenoid decleared in your code. The compressor will not be initialized without having at least one:

Code:
Solenoid name = new Solenoid(1);
This code should actuate the double solenoid based on joystick button:
Code:
package org.usfirst.frcEasyJ.team5122;

import edu.wpi.first.wpilibj.IterativeRobot;
import edu.wpi.first.wpilibj.Joystick;
import edu.wpi.first.wpilibj.DoubleSolenoid;

public class MyRobot extends IterativeRobot {

    Joystick JS1 = new Joystick(1);
    DoubleSolenoid DValve1 = new DoubleSolenoid(1, 2);
    public void autonomousInit() {

    }
    public void autonomousPeriodic() {

    }
    public void teleoperatedPeriodic() {
        if (JS1.getRawButton(1)) {
            DValve1.set(DoubleSolenoid.Value.kForward);
        } else {
            DValve1.set(DoubleSolenoid.Value.kReverse);
        }

    }
    public void teleoperatedInit() {

    }
}
__________________
Blake
Electrical, Programming and Design

Creator FRC Q&A 2017
Mass FRC Team 4909: The Bionics
Maine FRC Team 5122: The RobOTies (2014-2015)
Maine FRC Team 2648: Infinite Loop (2008-2011)
  #3   Spotlight this post!  
Unread 08-02-2015, 16:35
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 522
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: No compressor light on PCM, no compressor power, no CAN recognition of compressor

Just release a new PCM User's Guide today...
http://www.crosstheroadelectronics.c...ol_system.html
...please read section 4.1 and follow the steps in order to help troubleshoot.
  #4   Spotlight this post!  
Unread 08-02-2015, 17:27
adampaskowitz adampaskowitz is offline
Registered User
FRC #4345
 
Join Date: Dec 2011
Location: Los Angeles
Posts: 11
adampaskowitz is an unknown quantity at this point
Re: No compressor light on PCM, no compressor power, no CAN recognition of compressor

I'm not sure if you can tell what's what on this photo, but I think everything pretty much matches the wiring diagrams with the exception of the CAN cables, which I reordered to match GeeTwo's suggestion to have the CAN bus terminate at the PCM. Based on the new manual, it looks like we may have software issues.

Last edited by adampaskowitz : 08-02-2015 at 20:30.
  #5   Spotlight this post!  
Unread 08-02-2015, 21:12
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,192
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: No compressor light on PCM, no compressor power, no CAN recognition of compressor

Quote:
Originally Posted by adampaskowitz View Post
II reordered to match GeeTwo's suggestion to have the CAN bus terminate at the PCM.
I think he suggested the two ends of the CAN bus are:
RoboRio
Power Distribution Board (with the Termination jumper set to On)

The Pneumatic Control Module would be in the middle.
That said, my team wired the CAN bus wrong, and it still worked.
  #6   Spotlight this post!  
Unread 08-02-2015, 21:58
adampaskowitz adampaskowitz is offline
Registered User
FRC #4345
 
Join Date: Dec 2011
Location: Los Angeles
Posts: 11
adampaskowitz is an unknown quantity at this point
Re: No compressor light on PCM, no compressor power, no CAN recognition of compressor

You're right. Thanks. I'll switch it back, but I honestly didn't notice any difference between the way the robot responded when wired with either of those two arrangements.
  #7   Spotlight this post!  
Unread 09-02-2015, 12:54
feverittm's Avatar
feverittm feverittm is online now
Registered User
FRC #0997 (Spartans)
Team Role: Mentor
 
Join Date: Apr 2010
Rookie Year: 2010
Location: Corvallis, OR
Posts: 121
feverittm will become famous soon enoughfeverittm will become famous soon enough
Re: No compressor light on PCM, no compressor power, no CAN recognition of compressor

If your CAN is hosed (disconnected of wired wrong) you will get a red light on the PCM status indicator. Make sure everything is green.

Check your pressure switch. It should be a normally closed switch, so you should sense continuity (using a meter) across the wires going into the PCM.

If the status is green, and the switch if closed, but are the PCM indicator is flashing showly, and the compressor will not start, then it probably still disabled and you need to look into the code.

Please also remember the code suggestions given above. The compressor WILL NOT start unless either the compressor/PCM is defined in the code or there is some pneumatic element (solenoid) defined.

If you don't have any solenoids defined you will need to define the compressor:

Code:
public status final Compressor myCompressor = new Compressor(0);
We had this problem over the weekend and it took a few hours to figure this out.
__________________
Floyd Moore
Mentor Electrical and Pneumatics
Team 997 - Spartan Robotics
Corvallis High School, Corvallis Oregon
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 17:11.

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