How can we code two pneumatic pistons connected to one solenoid for our controller?

We are making a robot that will eventually use three pistons, but for now we have two pneumatic pistons. I have the first piston coded in Python (VEXcode) but I don’t understand how the code would work for two separate pistons. Can someone please help?

For every actuator you want to control, you would need a separate solenoid (control valve).


Yes, to control each air cylinder independently. But If two or more are to operate at the same time, the output of the solenoid valve can be split with T-fittings to multiple air cylinders which will work in unison.


ah ok, that helps, thanks!

1 Like