Go to Post You are what this world needs: a hero kids of all ages and backgrounds can look up to. I am a better person today than before I met you, because of how you touched my life. I thank-you. - Paul Copioli [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 27-01-2013, 18:15
Gmercer Gmercer is offline
Registered User
None #1631
 
Join Date: Jan 2013
Location: Las Vegas
Posts: 15
Gmercer is an unknown quantity at this point
Limiting the amount of air sent to a solenoid

I need to limit the amount of air sent into a solenoid to 'lightly' push a frisbee into the shooter. At the moment the solenoid fires the frisbee out and gets it stuck in the middle of the two wheels. I would like to have it slowly move foreword, here is the current solenoid code i have:

inside my extend solenoid function

Code:
if (joy1.getRawButton(11)) {
	Arm3.extend();
}
else if (joy1.getRawButton(12) {
	Arm3.retract();
}
extend and recract functions:
Code:
public void extend()
{
	sol1.set(false);
	sol2.set(true);
}

public void retract()
{
	sol1.set(true);
	sol2.set(false);
}

Last edited by Gmercer : 27-01-2013 at 18:20.
  #2   Spotlight this post!  
Unread 27-01-2013, 18:17
ksafin's Avatar
ksafin ksafin is offline
Registered User
AKA: Kirill Safin
FRC #3992 (Eagles Robotics Xperience)
Team Role: Leadership
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Delray Beach, FL
Posts: 498
ksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant futureksafin has a brilliant future
Re: Limiting the amount of air sent to a solenoid

I suggest you put regulator valves on both ends of the pneumatic piston itself and mechanically adjust the amount of air going in.

I don't know of a way to do it via code, but this is the way I think most teams would do it.

Looks like this: http://www.andymark.com/product-p/am-2032.htm
The dial lets you adjust the speed of air coming through the valve
__________________
FTC Teams 5257, 6568 & FRC Team 3992
Eagles Robotics Xperience
2014 FTC WORLD CHAMPIONS
14 Trophies in 3 Years
  #3   Spotlight this post!  
Unread 27-01-2013, 18:18
androb4's Avatar
androb4 androb4 is offline
..is trying to take this year off.
AKA: Andrew A.
no team
Team Role: Alumni
 
Join Date: Feb 2010
Rookie Year: 2003
Location: Houston, TX
Posts: 220
androb4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to behold
Re: Limiting the amount of air sent to a solenoid

You cannot control the amount of flow to the solenoid as it just opens and closes.

One thing you can do to decrease the speed of the cylinder is to decrease the pressure either using the in-line pressure regulator, or using the regulator on the hose adapters that go on the pneumatic cylinders.
__________________
FRC 441 Mentor 2012-2015
FRC 441 Alumni 2009-2012
FTC 4673 Alumni 2011-2012
FRC 1484 Alumni 2006-2008

  #4   Spotlight this post!  
Unread 27-01-2013, 18:19
Cory's Avatar
Cory Cory is offline
Registered User
AKA: Cory McBride
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: May 2002
Rookie Year: 2001
Location: Redwood City, CA
Posts: 6,824
Cory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond repute
Send a message via AIM to Cory
Re: Limiting the amount of air sent to a solenoid

http://www.mcmaster.com/#4076K22
__________________
2001-2004: Team 100
2006-Present: Team 254
  #5   Spotlight this post!  
Unread 27-01-2013, 18:24
Speeder Speeder is offline
Registered User
AKA: Mr. Don
FRC #0316 (LuNaTeCs)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2004
Location: Salem County, NJ
Posts: 46
Speeder will become famous soon enough
Re: Limiting the amount of air sent to a solenoid

Quote:
Originally Posted by ksafin View Post
I suggest you put regulator valves on both ends of the pneumatic piston itself and mechanically adjust the amount of air going in.

I don't know of a way to do it via code, but this is the way I think most teams would do it.

Looks like this: http://www.andymark.com/product-p/am-2032.htm
The dial lets you adjust the speed of air coming through the valve
You want to put that valve on the exhaust side of the air cylinder. By doing that you can apply full pressure to utilize the power of the piston and the "cushion valve" controls the speed the piston moves by controlling back pressure. Also, that valve only restricts air flow in 1 direction so when the solenoid reverses the cylinder will retract at full speed.

Also keep in mind that many of the solenoid valves need >35PSI supply to operate. If you reduce the air pressure before the solenoid valve, it may not switch states when commanded.

Last edited by Speeder : 27-01-2013 at 18:28.
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 02:30.

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