The mechanism of diving regulators is the arrangement of components and function of gas pressure regulators used in the systems which supply breathing gases for underwater diving. Both free-flow and demand regulators use mechanical feedback of the downstream pressure to control the opening of a valve which controls gas flow from the upstream, high-pressure side, to the downstream, low-pressure side of each stage. Flow capacity must be sufficient to allow the downstream pressure to be maintained at maximum demand, and sensitivity must be appropriate to deliver maximum required flow rate with a small variation in downstream pressure, and for a large variation in supply pressure, without instability of flow. Open circuit scuba regulators must also deliver against a variable ambient pressure.