← Back to Course

Pneumatics

Using pneumatics to your advantage.

Chapter 10 of 11

91%

Understanding Pneumatics

Pneumatics is the use of pressurized air to create mechanical motion. In robotics, pneumatics can be used for various applications such as actuating mechanisms or providing additional force. The main components of a pneumatic system include:

  • Tank: Stores the compressed air.
  • Solenoid Valve: Controls the flow of air to the actuators.
  • Cylinder (Piston): Convert compressed air into mechanical motion.
  • Air Tubing: Transports compressed air between components.
Pneumatic System Diagram

Define a pneumatic called 'climb' on port A (use single quotes). The answer will be shown below, but try to now use the documentation to figure it out yourself.


If you didn't figure that out, here is how you define a pneumatic cylinder

cpp
pros::ADIDigitalOut climb('A'); // On port A

Implement a function to actuate a pneumatic lift mechanism. Whenever your driver press 'A' on the controller, the cylinder should extend. When they press 'A' again, the cylinder should retract.

Which component in a pneumatic system converts compressed air into mechanical motion?