View Single Post
  #4   Spotlight this post!  
Unread 13-02-2008, 17:04
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: pneumatics with easyC

There are different ways to wire the pneumatics, which determines how you command the spikes, but here's how we do it for the double action solenoid. We run the red from one side and the black from the other side of the valve together, so you have 2 pairs of black/red wires to connect to the spike. You can connect these to either side (+/-); it doesn't really matter because 1) you can always switch the tubing and 2) you are usually just trying to change the state of the cylinder in or out, just click it again and it goes the other way. For a given state (say, extend widget), you will command positive on (1) and negative off (0), which will make the solenoids activate the valve in one direction. For the opposite state (retract widget), command positive off (0) and negative on (1), which makes the solenoids (and the valve) move in the other direction.
__________________
Close enough to taste it, too far to reach it