Go to Post I lose track of what day it is during build season. - Gary Dillard [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 10-02-2005, 12:21
reilly reilly is offline
Registered User
#0771
 
Join Date: Jan 2005
Location: Brooklyn New York
Posts: 23
reilly is an unknown quantity at this point
Pneumatics-Code [and piston output length]

What is the output [piston length] of the given piston, in other words, how much does it extend?

Also, does the FRC_default.hex or FRC.hex supply functions for pneumatics,pwm signals for pneum. solenoids?
  #2   Spotlight this post!  
Unread 10-02-2005, 16:10
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Pneumatics-Code [and piston output length]

Quote:
Originally Posted by reilly
What is the output [piston length] of the given piston, in other words, how much does it extend?
At the risk of sounding unhelpful, that depends on the length of the piston.
Quote:
Also, does the FRC_default.hex or FRC.hex supply functions for pneumatics,pwm signals for pneum. solenoids?
You don't control solenoids with pwm signals. You control them with relay signals via a Spike. The default code copies a bunch of joystick buttons to relay outputs. Look at the user_routines.c file and search for the Buttons to Relays section.
  #3   Spotlight this post!  
Unread 10-02-2005, 16:57
Steve W Steve W is offline
Grow Up? Why?
no team
 
Join Date: Feb 2003
Rookie Year: 2002
Location: Toronto,Ontario Canada
Posts: 2,523
Steve W has a reputation beyond reputeSteve W has a reputation beyond reputeSteve W has a reputation beyond reputeSteve W has a reputation beyond reputeSteve W has a reputation beyond reputeSteve W has a reputation beyond reputeSteve W has a reputation beyond reputeSteve W has a reputation beyond reputeSteve W has a reputation beyond reputeSteve W has a reputation beyond reputeSteve W has a reputation beyond repute
Re: Pneumatics-Code [and piston output length]

A pistons length is about 2 " longer than the throw when in closed position. Therefore a 4" throw would give a 6" in length piston closed or 10" when open. This is a rule of thumb and not exact. Smaller throws still need minimum 4 "
__________________
We do not stop playing because we grow old;
we grow old because we stop playing.

Last edited by Steve W : 10-02-2005 at 19:59. Reason: Typo
  #4   Spotlight this post!  
Unread 10-02-2005, 19:05
Max Lobovsky's Avatar
Max Lobovsky Max Lobovsky is offline
Fold em oval!
FRC #1257 (Parallel Universe)
Team Role: College Student
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Scotch Plains, NJ
Posts: 1,026
Max Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant futureMax Lobovsky has a brilliant future
Send a message via AIM to Max Lobovsky
Re: Pneumatics-Code [and piston output length]

I believe he is asking about how to control how long the piston extends in code. There is no easy way to do this without sensors, feedback, and multiple solenoids per cylinder. If it really is important, search multipositioning with cylinders for some help on the topic.
__________________
Learn, edit, inspire: The FIRSTwiki.
Team 1257


2005 NYC Regional - 2nd seed, Xerox Creativity Award, Autodesk Visualization Award
2005 Chesapeake Regional - Engineering Inspiration Award
2004 Chesapeake Regional - Rookie Inspiration award
2004 NJ Regional - Team Spirit Award
  #5   Spotlight this post!  
Unread 10-02-2005, 19:57
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: Pneumatics-Code [and piston output length]

Quote:
Originally Posted by Max Lobovsky
I believe he is asking about how to control how long the piston extends in code. There is no easy way to do this without sensors, feedback, and multiple solenoids per cylinder. If it really is important, search multipositioning with cylinders for some help on the topic.
We did this last year. The key for us was a solenoid that centers when there is no power (Meaning if relay1_fwd == 0 and relay1_rev == 0, no air would move). Otherwise, you can use 2 solenoids: one as a go/no go, the other for direction. See the shoulder_* functions in grabber.c in the 1227 code for an example.
  #6   Spotlight this post!  
Unread 13-02-2005, 11:42
reilly reilly is offline
Registered User
#0771
 
Join Date: Jan 2005
Location: Brooklyn New York
Posts: 23
reilly is an unknown quantity at this point
Re: Pneumatics-Code [and piston output length]

Actually, I was refering to the only given cylinder that came with the kit, the pneumatics manual doesn't give the specs for the given cylinder [not all those you can order].

Is there any difference between throw and stoke?




P.S. Yes I was asking about pwm control: thank you for the coding tip [link].
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Updated: Serial Port Driver Code Kevin Watson Programming 4 05-02-2005 18:39
Kevin Watson's encoder code with RPM output MaxM Programming 2 05-02-2005 00:06
Team THRUST - Kevin's Code and Camera Code Combine Chris_Elston Programming 3 31-01-2005 22:28
heres the code. y this not working omega Programming 16 31-03-2004 15:18
Rookie Programmer has question about the default code DanL Programming 3 26-01-2002 19:59


All times are GMT -5. The time now is 00:46.

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