The present invention advantageously provides a system for automatically delivering oxygen to a patient, including a sensor to measure an amount of oxygen in a bloodstream of patient, pneumatics subsystem and control subsystem. The pneumatics subsystem includes an oxygen inlet, an air inlet, a gas mixture outlet, and a gas delivery mechanism to blend the oxygen and air to form a gas mixture having a delivered oxygen concentration, and to deliver gas mixture to the patient. The control subsystem includes an input device to receive desired concentration of oxygen in the bloodstream of the patient, a sensor interface to receive measurement data and status information associated with the measurement data from the sensor, pneumatics subsystem interface to send commands to, and receive data from, the pneumatics subsystem, and a processor to control the delivered oxygen concentration based on desired oxygen concentration, the measurement data and the status information. FIGURE 1