Idea is use the hospital pipelines of medical air in the rooms.
The scheme is quite simple.
The solenoid valve is used in pneumatics and is called a two-position valve. It has no recoil spring to recover your position. This allows giving less voltage than you need to move you can adjust the path of the solenoid valve in your position change. This can regulate the flow of air injected into the patient, and the one that exhales.
The PEEP valve is automatic. Allows air to enter through the pressure input A to fill the lungs. In exhalation, the air does not come out of this inlet but through the outlet. To prevent air from entering both input A and the outlet, an anti-return valve is placed at the inlet upon return to the flow meter.
The flow meter measures the airflow that is injected. And when you change course, the irbula turns the air exhaled by the sick person by measuring its flow. The pressure sensor is at the outlet of the flow meter and allows to measure the pressure of both inlet and air outlet.
Automation remains to be developed to control the opening/closing of the pneumatic solenoid valve.
The idea is to do something simple with glass screen and potentiometers.
Use economic pressure sensor flooded in CO2 at the end of a pipe allows cost savings. Conventional pressure sensors are oxidized by the O and you have to use others that are quite expensive. As a solution they can be flooded in CO2 at the end of a pipe. CO2 being heavier than the O, does not drop it to the bottom of the pipe and reach the sensor avoiding rust.
It needs electronical arduino to work.
the lines are installed with working pressures higher than those normally used. This pressure can be raised with the aid of an air compressor to increase the flow rates of the building installation.

