Go to Post I know that this might be a foreign concept but teams help each other out all the time. - Al Skierkiewicz [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 19-02-2016, 19:23
PiMeson123 PiMeson123 is offline
Registered User
FRC #3506
 
Join Date: Jan 2015
Location: Charlotte NC
Posts: 4
PiMeson123 is an unknown quantity at this point
Using DoubleSolenoids on a PCM without a compressor

Hello,
Our team is trying to control a double solenoid through the CAN bus that is connected to a PCM without a compressor. The double solenoid controls the direction of airflow for gear shifting in our drive train, and will be connected to reservoirs of air that we charge before a match. We are a command-based Java team. This is what our GearShift subsystem looks like:
Code:
public class GearShiftSubsystem extends Subsystem {
	private DoubleSolenoid shifter;
	private Compressor compressor;
	public GearShiftSubsystem(){
		shifter = new DoubleSolenoid(RobotMap.SOLENOID_PORTS[0], RobotMap.SOLENOID_PORTS[1]); // (0, 2)
		compressor = new Compressor(50);
		compressor.setClosedLoopControl(true);
	}
	
	public void shiftUp(){
		shifter.set(Value.kForward);
	}
	
	public void shiftDown(){
		shifter.set(Value.kReverse);
	}
	
	public Value shiftedState(){
		return shifter.get();
	}
}
This is not working for us. We cannot hear or see the double solenoid moving valves although we can confirm that the PCM is receiving signalling from the RoboRIO. We are concerned about instantiating a Compressor object, when there is not in fact a literal compressor, although we need a way to pass in the PCM ID. If anyone could give us a hint or show us a resources regarding a fix to this, it would be greatly appreciated. It's probably a very simple fix, but unfortunately it has eluded us for the moment. Thanks.
  #2   Spotlight this post!  
Unread 19-02-2016, 19: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,801
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: Using DoubleSolenoids on a PCM without a compressor

Most of the solenoids we use in FRC are piloted requiring a minimum pressure (20-30 psi) at the input port to actually shift.
They don't work without air pressure.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #3   Spotlight this post!  
Unread 19-02-2016, 20:00
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: Using DoubleSolenoids on a PCM without a compressor

Also make sure the voltage jumper on the pcm matches your solenoids
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 00:43.

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