Make pneumatic AND and OR gates and more complex logic assemblies together with thing:3142024. It allows mounting various valves and sockets on a base plate, interacting with each other in different ways.
Each base plate has four ports (two on top, two on bottom), allowing to mount up to four sockets on it. Each socket can have a non-return valve to block flow in a specific direction, allowing to directly create OR gates. By placing a special pin inside the base plate, two non-return valves can be made mutually exclusive to create a two-port AND gate. Unused ports can be permanently shut off with blinders.
A bridge rectifier can be created with four base plates, four non-return valves, four sockets and four blinders. This is useful for e.g. creating an air compressor.
Update Nov 3, 2018: Modified DualBase to 23 mm spacing to avoid issues with small brims around valves etc.
This is a pneumatic OR gate. The two red sockets are inputs, the green socket is the output. The two grey parts contain rubber seals that operate as non-return valves which restrict backwards flow (towards the inputs). Details on the valve assembly are in the description of thing:3142024. A blinder is used to shut off the fourth port.
The pneumatic AND gate has both non-return valves reversed, so that flow from input to output is blocked by default. A special pin forces to keep at least one valve open in case both inputs are pressurized. The pictured 6 mm long pin is cut from a 3 mm brass rod, but it can also be 3-D printed.
The completed pneumatic AND gate looks like this.
This bridge rectifier is the pneumatic equivalent of an electronic bridge rectifier. It converts alternating flow (grey ports on top) to direct flow (green and red ports on bottom).
The pneumatic cylinder on the right is used as compressor. It increases the pressure on the output port (green) regardless the movement direction of the cylinder rod. The bonus is that it is also quite effective in generating negative pressure on the inlet port (red).