Pneumatic Hub
The Pneumatic Hub (PH) is a CAN-based device that provides complete control over the compressor and up to 16 solenoids per module. The PH is integrated into WPILib through a series of classes that make it simple to use.
The closed loop control of the Compressor and Pressure switch is handled by the Compressor
class (Java, C++, Python
), and the Solenoids are handled by the Solenoid
(Java, C++, Python
) and DoubleSolenoid
(Java, C++, Python
) classes.
An additional PH module can be used where the module’s corresponding solenoids are differentiated by the module number in the constructors of the Solenoid and Compressor classes.
For more information on controlling the compressor, see Operating a Compressor for Pneumatics.
For more information on controlling solenoids, see Operating Pneumatic Cylinders.