View Single Post
  #9   Spotlight this post!  
Unread 04-12-2016, 16:32
FRC Team CC FRC Team CC is offline
Registered User
FRC #6560 (Charging Champions)
 
Join Date: Sep 2014
Rookie Year: 2012
Location: Southern California
Posts: 102
FRC Team CC is an unknown quantity at this point
Re: Exhaust in Solenoids

Quote:
Originally Posted by Owen Busler View Post
Arent pneumatics not allowed in ftc?
We are an FRC team. Its just that the account that we are using right now is the one we used last year when we were an FTC team . Sorry about the confusion.

Quote:
Originally Posted by headlight View Post
Looks good. We use that exact same setup on our FRC robot. How bad is the leak? I'm curious about what you have plugged into the B ports on the left side, and why there aren't corresponding tubes in the A ports. Also, are you feeding air into the threaded "P" port on the side of the manifold not shown in that picture?

Can you tell which exhaust the air is leaking out of? EA or EB? If you manually trigger each solenoid, does it switch which port it is leaking out of? This would be a way to narrow down which part of the circuit has the problem.

If I were trying to fix this I would unscrew each solenoid and wipe off the gasket and the mounting surface, then carefully re-mount them, alternately tightening the two screws to reduce the chance of the solenoid sitting crooked. We have also had the rare instance where the solenoid was leaking internally.
I'm not exactly sure if there is a leak. It seems that we are only able to control the A ports on the solenoid. We are not able to control the B ports, so the air keeps leaking out of there and makes the A ports useless.

Here is our code. Let us know where we are making a mistake:

Code:
package org.usfirst.frc.team6560.robot;

import edu.wpi.first.wpilibj.Compressor;
import edu.wpi.first.wpilibj.IterativeRobot;
import edu.wpi.first.wpilibj.Timer;

import edu.wpi.first.wpilibj.*;
import edu.wpi.first.wpilibj.smartdashboard.SendableChooser;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;

/**
* The VM is configured to automatically run this class, and to call the
* functions corresponding to each mode, as described in the IterativeRobot
* documentation. If you change the name of this class or the package after
* creating this project, you must also update the manifest file in the resource
* directory.
*/
public class Robot extends IterativeRobot {
   static final long TIME = 10000; // ms
   static final int SAMPLE_COMPRESSOR = 0;

   Compressor sample_compressor;
   long m_autoStartTime;
   long m_autoStartTime1;
   long m_autoStartTime2;

   Solenoid solenoid_0;
   Solenoid solenoid_1;
   Solenoid solenoid_2;
   Solenoid solenoid_3;

   public void robotInit() {
       sample_compressor = new Compressor(SAMPLE_COMPRESSOR);
       solenoid_0 = new Solenoid(0);
       solenoid_1 = new Solenoid(1);
       solenoid_2 = new Solenoid(2);
       solenoid_3 = new Solenoid(3);
   }

   public void autonomousInit() {
       m_autoStartTime = System.currentTimeMillis();

   }

   public void autonomousPeriodic() {
	   
	   solenoid_0.set(true);
	   solenoid_1.set(true);
	   solenoid_2.set(true);
	   solenoid_3.set(true);
       
   }

}
Thanks,
Charging Champions
__________________
The Charging Champions
FTC Team #8660
Facebook Page: https://www.facebook.com/chargingchampions
Follow us on Twitter: @FtcTeamCC
Google Plus: https://plus.google.com/112552147224383900922/posts
Youtube channel: https://www.youtube.com/channel/UCop...G3zsvQKCXF4ESQ
Blog: http://chargingchampionsblog.blogspot.com/
Reply With Quote