A respiratory therapy system includes a driver unit and a patient interface device. The driver unit is adapted to deliver pressurized gas flow from a source to the patient interface device. At least one electronic valve can be used to deliver a desired flow to the patient interface device.