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 a patient, a pneumatics subsystem and a 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 the gas mixture to the patient. The control subsystem includes an input device to receive a 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, a 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 the desired oxygen concentration, the measurement data and the status information.