Having bought a second hand Ray on ebay, been on the TDI course and done some diving this year on the unit I found myself very curious about how much oxygen was really in the loop. You can't buy drager oxygauge these days so I decided to build my own. This is a data dump from the project in case anyone else is interested in doing something similar.
Just knowing ppo2 which is the common solution and this would have been fairly easy. However for the SCR where the oxygen fraction is (relatively) constant one uses a standard nitrox computer (suunto vyper 2 in my case). You really want to know that the oxygen fraction you set for your gas mix on the surface, from which the computer is calculating all it's tissue compartments and deriving deco status is correct. Thus I decided to build a sensor unit with a pressure sensor to measure the gas pressure allowing a calculation of Fo2 as well as ppo2.
Basis for this was a pic - 16f688 programmed with the free version of microchips hit-tech compiler. I'm using an R22D sensor at present. The pressure sensor I'm using is an MPX5700A which goes up to 7bar and runs of 5v with 2% accuracy over the whole range. It's handy as its completely compatible with the input ranges of this microcontrollers ADC. for the ppo2 I've used an lm358 single supply op-amp setup with a gain of ~40 to match the ADC range of 0-5v. Attached are some pictures of the unit, a circuit diagram and the microcontroller code (its c code but named .doc to get by the uploaders restriction).SChematic shows the 3 chunks of circuit - the power, microcontroller and lcd display sections. In the unit the connector and housing for the cell and microcontroller board is a modified bottle trap from my local hardware emporium, modified by gluing a drager p-port plug (bored out as a tube) into one of the ports. Drager inhale side hose is connected to the other port using a cable tie.
To get fo2 I need to measure pressure so the system also has a depth gauge built in. As I am also still eeling paranoid about scrubber life I built in a simple clock that counts up runtime from when the unit is calibrated on the general principle that this is roughly the scrubber lifetime if I am careful about when I calibrate. I'll add in an NDIR CO2 monitor sometime later in the year to get more of an idea about the scrubber maybe.
The system implements a calibration with cal constants stored in the eeprom so that one doesn't need to re calibrate the sensor with every switch on. This allows one to do a calibration, switch the electronics off assemble the rebreather and then switch on the electronics when ready to dive.
I built the cal switch inside the sensor housing so that one can only push the cal button if the housing is disconnected from the unit making it less likely that one may accidentally cal on high % mix.
Battery life on one durcaell pp9 is so far 6 dives and counting.
If anyone's interested I am happy to provide further info should it be wanted.