|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Double solonoids
Hey guys i have a question about the dual solonoid when your wiring it do you wire it to one spike or two spikes if its one spike how do you get it to extend and retract thanks
! |
|
#2
|
||||
|
||||
|
Re: Double solonoids
Remembering from last year, I think you connect the two black wires from the solenoid to ground (anywhere, not on a spike), and the two red wires go to the two outputs on a spike. You only need one.
|
|
#3
|
||||
|
||||
|
Re: Double solonoids
YOU ONLY NEED ONE SPIKE. CHECK OUT THIS SPIKE MANUALCHECK OUT FIGURE 2
LAST YEAR WE USED TWO BUTTONS ON THE JOY STICK, ONE FOR EXTENSTION AND THE OTHER ONE FOR RETRACTION BUT IM SURE YOU CAN PROGRAM IT SO THAT ONE BUTTON ON THE JOYSTICK EXTENDS AND RETRACTS THE CYLINDER. I WAS THE PNEUMATICS SUB-GROUP LEADER LAST YEAR SO IF YOU HAVE ANY QUESTIONS FEEL FREE TO EMAIL ME. |
|
#4
|
||||
|
||||
|
Re: Double solonoids
You can hook it to a single Spike. Look at the drawing in the attachment.
For the programming, you would fire each solenoid by setting either side of the spike to 1. Ex: Code:
//Start Compressor Code
relay8_fwd = !rc_dig_in18; //Turn on the compressor when the pressure sensor is closed
relay8_rev = 0; //Without this, the compressor might run backwards or might not run at all
//End Compressor Code
//Start Pneumatic Piston Code
if (p1_sw_top == 1) //If you press the thumb button on the joystick plugged into port one...
{
relay1_rev = 0; //Turn off the extend side of the solenoid
relay1_fwd = 1; //Turn on the retract side of the solenoid
}
if (p1_sw_trig == 1) //If you press the trigger on the joystick plugged into port one...
{
relay1_fwd = 0; //Turn off the retract side of the solenoid
relay1_rev = 1; //Turn on the extend side of the solenoid
}
//End Pneumatic Piston Code
Last edited by RyanN : 06-01-2008 at 18:02. Reason: Fixed a small error in my drawing. |
|
#5
|
||||
|
||||
|
Re: Double solonoids
Quote:
...forest |
|
#6
|
||||
|
||||
|
Re: Double solonoids
Oops, I'll fix that real quick and edit the post above. Thanks for pointing that out!
|
|
#7
|
|||
|
|||
|
Re: Double solonoids
thanks alot i wuda put the groun to the spike lol
![]() |
|
#8
|
||||
|
||||
|
Re: Double solonoids
And thats what fuses are for
![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Double Helix | Jimbo5051 | Inventor | 3 | 08-02-2006 20:10 |
| FIRST Double Jeopardy 2.0! (8/27) | EddieMcD | Games/Trivia | 1 | 29-08-2004 18:48 |
| FIRST Double Jeopardy 2.0! (7/30) | EddieMcD | Games/Trivia | 1 | 31-07-2004 19:08 |
| FIRST Double Jeopardy! (3/30) | EddieMcD | Games/Trivia | 2 | 31-03-2004 21:42 |
| double solenoid | gail | OCCRA | 0 | 11-10-2002 19:42 |