Go to Post Before anyone accuses FIRST of being in the pocket of the sponsoring corporations, they might spend a minute and a half to actually apply some of that critical analytical ability that we are supposed to be demonstrating as educated engineers. - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Pneumatics
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 23-01-2008, 20:54
Spartan151's Avatar
Spartan151 Spartan151 is offline
TCU Bound (Class of 2013)
AKA: Sean
FRC #2920
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Holly Springs, MS
Posts: 86
Spartan151 will become famous soon enough
Rigging The System...

Okay. General question. We have the pneumatics solved, to a degree, but here's what I need help with. Our team needs help rigging the entire system up to the rc, and getting it set. How exactly would we go about rigging it?

I'll explain what I think is right.
PWM cable from solenoid relay to PWM input slot 3
PWM cable from compressor relay to (Dunno where this should go, due to the compressor shutoff factor, which by the way, I don't know how that's done.)

Am I anywhere close to being right? How would we go about accomplishing setting up a pneumatics system.

BTW, if programming enters the discussion, We're rigging it where the claw operates off of a third joystick (via the trigger), however, we are so far unsuccessful.

EDIT: We have everything assembled, from the compressor down to the cylinders, but we don't know how to hook them to the rc and make them work. I know it sounds more like programming, but we're still trying to figure out all of the fine parts of the pneumatics system.

Last edited by Spartan151 : 23-01-2008 at 21:14.
  #2   Spotlight this post!  
Unread 23-01-2008, 22:43
kevin.li.rit's Avatar
kevin.li.rit kevin.li.rit is offline
Imaginary Friend
AKA: Kevin Li
FRC #0596 (SciClones)
Team Role: Student
 
Join Date: Jan 2003
Rookie Year: 2001
Location: Hopkinton, Massachusetts
Posts: 936
kevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond repute
Send a message via Yahoo to kevin.li.rit
Re: Rigging The System...

Both the compressor and solenoids should be connected to the Relays(spikes). The PWM cables can go to the relay outputs. The pressure sensor should connect in the Digital inputs.
__________________
Kevin Li

596 - Sciclones
1405 - Finney Falcons
2262 - Holliston Panthers
  #3   Spotlight this post!  
Unread 24-01-2008, 08:36
Spartan151's Avatar
Spartan151 Spartan151 is offline
TCU Bound (Class of 2013)
AKA: Sean
FRC #2920
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Holly Springs, MS
Posts: 86
Spartan151 will become famous soon enough
Re: Rigging The System...

How would I go about connecting the pressure switch to the digital inputs? Do I have to split a PWM cable, like we had to do last year to wire up the light?

Last edited by Spartan151 : 24-01-2008 at 09:10. Reason: Had to be more specific.
  #4   Spotlight this post!  
Unread 24-01-2008, 11:01
Gary Dillard's Avatar Unsung FIRST Hero
Gary Dillard Gary Dillard is offline
Generator of Entropy
AKA: you know, the old bald guy
FRC #2973 (The Mad Rockers)
Team Role: Engineer
 
Join Date: Nov 2001
Rookie Year: 1998
Location: Huntsville, AL
Posts: 1,584
Gary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond repute
Send a message via AIM to Gary Dillard
Re: Rigging The System...

You are correct - you will need to split a PWM cable to connect to the pressure switch. Cut off the male end of the cable and you will only need 2 of the wires (I think we used red and white, I'll have to look), secure them to the pressure switch using the 2 screws provided and then cover with electrical tape. Put the female end of the PWM cable into any one of the digital input ports - remember this is a switch much like a limit switch, which reads either open or closed. If you are using EasyC, there is a pressure switch command you can drag into the program, and you select whichever digital input port you used. (If you are using the default code I don't know which input it assumes, check the documentation).
__________________
Close enough to taste it, too far to reach it
  #5   Spotlight this post!  
Unread 24-01-2008, 11:14
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: Rigging The System...

Quote:
Originally Posted by Gary Dillard View Post
(I think we used red and white, I'll have to look)
Because of the pull-up resistors on the digital I/O ports, you have to drive signal to ground when using a switch. As such, you'll want to use the black and white wires.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
  #6   Spotlight this post!  
Unread 24-01-2008, 15:20
Spartan151's Avatar
Spartan151 Spartan151 is offline
TCU Bound (Class of 2013)
AKA: Sean
FRC #2920
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Holly Springs, MS
Posts: 86
Spartan151 will become famous soon enough
Re: Rigging The System...

Okay. I have the switch wired, and I'll be fixing the cables momentarily. Now, when I plug in the PWM cable to digital slot 1, I get a message saying +5v Output Low on the RC. Is that because I don't have it grounded?
Also, I have the solenoid wired up right, but now the issue is getting the compressor to act right, because right now it's taking a fourth controller to turn the compressor on, and it only lasts while the trigger is held. What am I doing wrong? Once I fix the switch, will it run correctly? Explain.

I also have to program the trigger to keep the Spike in forward so the pneumatic rod stays extended until I press the trigger a second time. I have a programming thread in which I'm asking how, and I have the responses I think I need, but I need to know where the codes go. It's entitled "A New Programmer". It's the only other thread I have created.

Last edited by Spartan151 : 24-01-2008 at 15:23.
  #7   Spotlight this post!  
Unread 24-01-2008, 15:28
kevin.li.rit's Avatar
kevin.li.rit kevin.li.rit is offline
Imaginary Friend
AKA: Kevin Li
FRC #0596 (SciClones)
Team Role: Student
 
Join Date: Jan 2003
Rookie Year: 2001
Location: Hopkinton, Massachusetts
Posts: 936
kevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond repute
Send a message via Yahoo to kevin.li.rit
Re: Rigging The System...

Quote:
Originally Posted by Spartan151 View Post
Okay. I have the switch wired, and I'll be fixing the cables momentarily. Now, when I plug in the PWM cable to digital slot 1, I get a message saying +5v Output Low on the RC. Is that because I don't have it grounded?
Also, I have the solenoid wired up right, but now the issue is getting the compressor to act right, because right now it's taking a fourth controller to turn the compressor on, and it only lasts while the trigger is held. What am I doing wrong? Once I fix the switch, will it run correctly? Explain.

I also have to program the trigger to keep the Spike in forward so the pneumatic rod stays extended until I press the trigger a second time. I have a programming thread in which I'm asking how, and I have the responses I think I need, but I need to know where the codes go. I'll have the link to the thread in a minute.
Well I'm not 100% sure how you wired everything but I'll try and answer your question.

I believe the pressure switch switches on, closes the circuit (provides an output low) when the PSI drops below 95. Now it just seems like a matter of programming to get the compressor behaving the way you want. You can use the pressure switch that sees the output low, to turn on the spike connected to the compressor. You can program it to a switch on the OI as well which you've done. You can make it so you don't have to hold down the button with a toggle switch or changing the code to make it toggle with each push. Maybe you can post your code. It sounds like you programmed the single solenoid right.
__________________
Kevin Li

596 - Sciclones
1405 - Finney Falcons
2262 - Holliston Panthers

Last edited by kevin.li.rit : 24-01-2008 at 15:31.
  #8   Spotlight this post!  
Unread 24-01-2008, 15:32
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: Rigging The System...

Quote:
Originally Posted by Spartan151 View Post
Now, when I plug in the PWM cable to digital slot 1, I get a message saying +5v Output Low on the RC. Is that because I don't have it grounded?
That sounds like you're using the red and black wires, and thus shorting out the +5V output on the RC. You want to be using black and white.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
  #9   Spotlight this post!  
Unread 24-01-2008, 15:33
Spartan151's Avatar
Spartan151 Spartan151 is offline
TCU Bound (Class of 2013)
AKA: Sean
FRC #2920
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Holly Springs, MS
Posts: 86
Spartan151 will become famous soon enough
Re: Rigging The System...

Quote:
Originally Posted by Coffeeism View Post
Well I'm not 100% sure how you wired everything but I'll try and answer your question.

I believe the pressure switch switches on, closes the circuit (provides an output low) when the PSI drops below 95. Now it just seems like a matter of programming to get the compressor behaving the way you want. You can use the pressure switch that sees the output low, to turn on the spike connected to the compressor. You can program it to a switch on the OI as well. Maybe you can post your code. It sounds like you programmed the single solenoid right.
Programmed the solenoid? I'm laughing right now. We did exactly zero programming to the solenoid. I'll tell you what we have done. We have the positive and negative wires hooked to the solenoid, and in turn, the wires are connected to the Spike. The Spike is wired to the circuit breaker, and the PWM cable coming from the Spike is in Relay Input 3. It works with no programming. I just have to drop in the toggle code....then work out the kinks in the switch. this is essentially how I have the compressor wired, also.

What should I do now?

EDIT: as a note, the pressure switch is wired to digital input 1. But yet nothing is happening. I still have to compile the code, put in our autonomous structuring, throw in the toggle code, and fine tune the numbers.
  #10   Spotlight this post!  
Unread 24-01-2008, 15:52
kevin.li.rit's Avatar
kevin.li.rit kevin.li.rit is offline
Imaginary Friend
AKA: Kevin Li
FRC #0596 (SciClones)
Team Role: Student
 
Join Date: Jan 2003
Rookie Year: 2001
Location: Hopkinton, Massachusetts
Posts: 936
kevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond repute
Send a message via Yahoo to kevin.li.rit
Re: Rigging The System...

Well you need code to make the pressure switch work, I.E. You need to program the RC to check and see if the switch is on or off. Then respond by turning on or off the compressor

If you haven't modified the code, then you can try plugging in the compressor spike to relay 8. I'm looking at the default code and it appears to me that they have programmed the pressure switch to work with digital input 18

relay8_fwd = !rc_dig_in18; /* Power pump only if pressure switch is off. */

If that doesn't work, try writing you own code, including the relay you used.
like
if(rc_dig_in18)
{relay8_fwd=0;
}
else
relay8_fwd =1;

Or the same way the default code has it with the relay outputs your using.

Also, if you're using the red and black like Gannon said, then switch it to white and black.
__________________
Kevin Li

596 - Sciclones
1405 - Finney Falcons
2262 - Holliston Panthers

Last edited by kevin.li.rit : 24-01-2008 at 15:55.
  #11   Spotlight this post!  
Unread 24-01-2008, 16:22
Spartan151's Avatar
Spartan151 Spartan151 is offline
TCU Bound (Class of 2013)
AKA: Sean
FRC #2920
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Holly Springs, MS
Posts: 86
Spartan151 will become famous soon enough
Re: Rigging The System...

Okay. We have the solenoid, compressor, and, switch wired up right. Now here's another question: will I have to use a second solenoid to run another pneumatic cylinder off of the same system so they work simultaneously, cuz if that's the case, it may be a no go unless we can order another solenoid; the solenoid we originally had on there was defective and we had to use another one. I just need help toggling the trigger where, when it's pulled the first time, the rod extends and stays extended until the trigger is pulled a second time.
  #12   Spotlight this post!  
Unread 24-01-2008, 18:04
kevin.li.rit's Avatar
kevin.li.rit kevin.li.rit is offline
Imaginary Friend
AKA: Kevin Li
FRC #0596 (SciClones)
Team Role: Student
 
Join Date: Jan 2003
Rookie Year: 2001
Location: Hopkinton, Massachusetts
Posts: 936
kevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond reputekevin.li.rit has a reputation beyond repute
Send a message via Yahoo to kevin.li.rit
Re: Rigging The System...

Quote:
Originally Posted by Spartan151 View Post
Okay. We have the solenoid, compressor, and, switch wired up right. Now here's another question: will I have to use a second solenoid to run another pneumatic cylinder off of the same system so they work simultaneously, cuz if that's the case, it may be a no go unless we can order another solenoid; the solenoid we originally had on there was defective and we had to use another one. I just need help toggling the trigger where, when it's pulled the first time, the rod extends and stays extended until the trigger is pulled a second time.
If you want them to fire simultaneously, You can use one solenoid and just use one of those 3 holed elbow things. There are two ways that I know of to make it stay extended without holding the trigger. One way is to use the SMC double solenoid, the one you have to assemble with 4 wires connected to the solenoid. You'd be using it like a single solenoid, the double solenoid will stay in the last position you fire.

The other way is to write some code. There are probably a few ways to do it using code... umm so Here comes so code... no guarantee it works.

if(p1_sw_trig)
{relay1_fwd = 1;
}
if(p1_sw_top)
{relay1_fwd =0;
}

So I think this will extend it when you hit the trigger on p1 and retract it when you hit the top button on p1. Just one way of doing it... Of course you'll have to make it the relay you're using.
__________________
Kevin Li

596 - Sciclones
1405 - Finney Falcons
2262 - Holliston Panthers
  #13   Spotlight this post!  
Unread 25-01-2008, 08:21
Gary Dillard's Avatar Unsung FIRST Hero
Gary Dillard Gary Dillard is offline
Generator of Entropy
AKA: you know, the old bald guy
FRC #2973 (The Mad Rockers)
Team Role: Engineer
 
Join Date: Nov 2001
Rookie Year: 1998
Location: Huntsville, AL
Posts: 1,584
Gary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond repute
Send a message via AIM to Gary Dillard
Re: Rigging The System...

Quote:
Originally Posted by Coffeeism View Post
... just use one of those 3 holed elbow things.
That would be called a "Tee", although I'm sure your description is much more helpful than if you had said "just use a tee".
__________________
Close enough to taste it, too far to reach it
  #14   Spotlight this post!  
Unread 25-01-2008, 18:37
Spartan151's Avatar
Spartan151 Spartan151 is offline
TCU Bound (Class of 2013)
AKA: Sean
FRC #2920
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2007
Location: Holly Springs, MS
Posts: 86
Spartan151 will become famous soon enough
Re: Rigging The System...

Quote:
Originally Posted by Gary Dillard View Post
That would be called a "Tee", although I'm sure your description is much more helpful than if you had said "just use a tee".
Yeah. Still helpful though. Just one problem though. One solenoid and a tee....Never mind. Just thought that out. That could work. I have to change some variables in the autonomous program, so I'll get to codewriting later.
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
Rigging a PC power supply mechanicalbrain Electrical 20 27-09-2005 15:23
Cable rigging: Cascade vs. Continuous Madison Technical Discussion 2 19-01-2004 23:23
"Rigging" the game vs playing the game strategically - what's the difference? ColleenShaver Rules/Strategy 13 15-01-2003 10:33
TIEBRAKERS to prevent RIGGING THE MATCH Digo General Forum 39 09-01-2003 13:29


All times are GMT -5. The time now is 22:34.

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