Pnumatics

Hey guys I am trying to use pnumatics on my bot but how do I control it using my controller

search KB.vex.com

Here are some steps that might help:

  1. Learn to spell “pneumatics”
    (1.5: never call a pneumatic cylinder a “piston”)
  2. Use the search feature to look for “programming pneumatics”, and you’ll find articles like this one: Programming Pneumatics with VEXcode 1.0.1
  3. Follow @lacsap’s link: he beat me by a minute
  4. Be sure your hardware is connected right, too. In addition the the VEX stuff, here’s a useful paper: https://drive.google.com/file/d/1HLdEjg2xcbALeKR_u67Xit3hBY0AFEE1/view?usp=sharing
  5. Set up a small pneumatics circuit on the bench to learn how it all works before building it into your 'bot.

Spelling matters? Geez, no one told me that. :slight_smile:
I should have put that in my brief response for thoroughness sake.

KB.vex.com just put in a series of articles in July that are worth reading.

What I did was add a 3 wire LED light to my devices and coded it so that when Controller1 L1 is being pressed it turns on the solenoid and L2 turns it off.

Or you could also do this:

vex::digital_out solenoid(Brain.ThreeWirePort.A);
solenoid.set(true);

one last question, how do I add pneumatics into vexcode v5

You can add the solenoids to VEXcode as “DigitalOut” 3-wire devices – see this Knowledge Base article: