Go to Post ...the great teams in FRC will probably continue to be great teams. That is because they have great people who embrace the challenge rather than whine about it. - dtengineering [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 24-02-2004, 21:28
jacob_dilles's Avatar
jacob_dilles jacob_dilles is offline
Registered User
AKA: theshadow
FRC #0620 (WarBots)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Vienna, VA
Posts: 245
jacob_dilles will become famous soon enough
Send a message via AIM to jacob_dilles
pnumatic programing

our team has the bot basicly done and so i have a day to work on the code. right now everything works but i have noticed one thing. when you push the button/move that hat to accuate the cylander, the spike stays in the position after you let go. this can be fixed with a simple "else" statement. but should it be? is it a problem if the valve is continuously open? is it better if it closes after a certin period of time or when the user releses the button? im not a pnumatic guy, i just write the code. i supose the only benifit that i could see is that there is a constant current drain if you leave it on, there isnt if it shuts off. thanks all.
__________________
--------------------------
"You're not a real programmer until all your sentences end with semicolons;"
  #2   Spotlight this post!  
Unread 24-02-2004, 21:34
deltacoder1020's Avatar
deltacoder1020 deltacoder1020 is offline
Computer Guy
AKA: Dav
#1020 (The Indiana Prank Monkeys)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Muncie, Indiana
Posts: 340
deltacoder1020 has a spectacular aura aboutdeltacoder1020 has a spectacular aura about
Send a message via AIM to deltacoder1020
Re: pnumatic programing

Quote:
Originally Posted by jacob_dilles
our team has the bot basicly done and so i have a day to work on the code. right now everything works but i have noticed one thing. when you push the button/move that hat to accuate the cylander, the spike stays in the position after you let go. this can be fixed with a simple "else" statement. but should it be? is it a problem if the valve is continuously open? is it better if it closes after a certin period of time or when the user releses the button? im not a pnumatic guy, i just write the code. i supose the only benifit that i could see is that there is a constant current drain if you leave it on, there isnt if it shuts off. thanks all.
it depends. are you using a double-acting solenoid or a single-acting? Single-acting solenoids will go back to their default position if the circuit is broken, while double-acting ones will stay in their last position.
__________________
Team 1020, the Indiana Prank Monkeys (www.team1020.org)
  #3   Spotlight this post!  
Unread 24-02-2004, 21:35
jacob_dilles's Avatar
jacob_dilles jacob_dilles is offline
Registered User
AKA: theshadow
FRC #0620 (WarBots)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Vienna, VA
Posts: 245
jacob_dilles will become famous soon enough
Send a message via AIM to jacob_dilles
Re: pnumatic programing

were using 2 double solonoids... 2 wires each with 1 spike per, a diode and a common ground.
__________________
--------------------------
"You're not a real programmer until all your sentences end with semicolons;"
  #4   Spotlight this post!  
Unread 24-02-2004, 21:39
deltacoder1020's Avatar
deltacoder1020 deltacoder1020 is offline
Computer Guy
AKA: Dav
#1020 (The Indiana Prank Monkeys)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Muncie, Indiana
Posts: 340
deltacoder1020 has a spectacular aura aboutdeltacoder1020 has a spectacular aura about
Send a message via AIM to deltacoder1020
Re: pnumatic programing

then it doesn't really matter whether you apply power momentarily or constantly - although as you said, constant power = constant power draw. Thus, you might make it only be momentary power, say for 500ms or so.
__________________
Team 1020, the Indiana Prank Monkeys (www.team1020.org)
  #5   Spotlight this post!  
Unread 24-02-2004, 21:39
computhief263's Avatar
computhief263 computhief263 is offline
Battlecry...Here We Come!
AKA: "The Freshman"
#0263 (sachem aftershock)
Team Role: Operator
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Long Island, NY
Posts: 140
computhief263 is on a distinguished road
Send a message via ICQ to computhief263 Send a message via AIM to computhief263 Send a message via MSN to computhief263 Send a message via Yahoo to computhief263
Re: pnumatic programing

Are u using a double or single solenoid for this action ur talking about?
W/ the single solenoids the power has to be continues (relay foward) in order for the cylinder to remain in that posittion (extended for instance) once power is removed it will return to the other posittion (retracted). Note: this only applies to Single Solenoids !

hope this helps
__________________
Tom "40Watt" Bigelow

Team Electrical/Court Jester

Proud creator of The dongle that nuked the OI, Dj in a bag, and THPD(strobe lights, a hat, a modified flashlight bulb, and a 12v B&D Firestorm™ flashlight make a good combo!)
  #6   Spotlight this post!  
Unread 24-02-2004, 21:41
deltacoder1020's Avatar
deltacoder1020 deltacoder1020 is offline
Computer Guy
AKA: Dav
#1020 (The Indiana Prank Monkeys)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Muncie, Indiana
Posts: 340
deltacoder1020 has a spectacular aura aboutdeltacoder1020 has a spectacular aura about
Send a message via AIM to deltacoder1020
Re: pnumatic programing

Quote:
Originally Posted by computhief263
Are u using a double or single solenoid for this action ur talking about?
W/ the single solenoids the power has to be continues (relay foward) in order for the cylinder to remain in that posittion (extended for instance) once power is removed it will return to the other posittion (retracted). Note: this only applies to Single Solenoids !

hope this helps
try reading the entire thread next time...
__________________
Team 1020, the Indiana Prank Monkeys (www.team1020.org)
  #7   Spotlight this post!  
Unread 24-02-2004, 21:45
computhief263's Avatar
computhief263 computhief263 is offline
Battlecry...Here We Come!
AKA: "The Freshman"
#0263 (sachem aftershock)
Team Role: Operator
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Long Island, NY
Posts: 140
computhief263 is on a distinguished road
Send a message via ICQ to computhief263 Send a message via AIM to computhief263 Send a message via MSN to computhief263 Send a message via Yahoo to computhief263
Re: pnumatic programing

Quote:
Originally Posted by deltacoder1020
try reading the entire thread next time...
I did , but at the time i began typing my reply only the original post was there. Im a little slow w/ my response time, i only realized after i posted that u had already answered the question
__________________
Tom "40Watt" Bigelow

Team Electrical/Court Jester

Proud creator of The dongle that nuked the OI, Dj in a bag, and THPD(strobe lights, a hat, a modified flashlight bulb, and a 12v B&D Firestorm™ flashlight make a good combo!)
  #8   Spotlight this post!  
Unread 24-02-2004, 21:48
jacob_dilles's Avatar
jacob_dilles jacob_dilles is offline
Registered User
AKA: theshadow
FRC #0620 (WarBots)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Vienna, VA
Posts: 245
jacob_dilles will become famous soon enough
Send a message via AIM to jacob_dilles
Re: pnumatic programing

thanks guys. i think im just gonna have it release when they let go of the button. saves me a variable, timing and makes it darn easy. and besides, people cant hold a button for less then 500ms anyway. thats a SHROT time in people time
__________________
--------------------------
"You're not a real programmer until all your sentences end with semicolons;"
  #9   Spotlight this post!  
Unread 24-02-2004, 21:49
deltacoder1020's Avatar
deltacoder1020 deltacoder1020 is offline
Computer Guy
AKA: Dav
#1020 (The Indiana Prank Monkeys)
Team Role: Programmer
 
Join Date: Jan 2004
Location: Muncie, Indiana
Posts: 340
deltacoder1020 has a spectacular aura aboutdeltacoder1020 has a spectacular aura about
Send a message via AIM to deltacoder1020
Re: pnumatic programing

eh, no biggie
__________________
Team 1020, the Indiana Prank Monkeys (www.team1020.org)
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
need glp programing steering with a steering wheel Matchew Programming 2 10-02-2003 14:20
Programing great_one411 General Forum 2 01-02-2003 17:27
question about one joystick drive programing james700 Programming 13 29-01-2003 14:49
Who is doing the programing for team 61 Walter_Jr Programming 5 25-01-2003 00:31
Programing of controller DLyons Robotics Education and Curriculum 2 02-12-2002 00:16


All times are GMT -5. The time now is 15:47.

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