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

https://kb.vex.com/hc/en-us/articles/4404204989076-Controlling-Pneumatics-Using-Buttons-on-Your-Controller

2 Likes

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: pneumatics information.pdf - Google Drive
  5. Set up a small pneumatics circuit on the bench to learn how it all works before building it into your 'bot.
14 Likes

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.

8 Likes

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:

https://kb.vex.com/hc/en-us/articles/4404204989076-Controlling-Pneumatics-Using-Buttons-on-Your-Controller

7 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.