Emergency ventilator with fine control over BPM, tidal volume and flow rate, with a digital interface