All air I use for testing is from scuba tanks. I've got a couple of small tanks with air, 50.6% nitrox, 100% oxygen, 100% helium and 15/55 trimix....
How is your 20.9 Air calibration point captured? Is it dry air from a scuba tank or atmospheric air. If Atmospheric then you should be accounting for temperature and humidity.
...
Check aliexpress for all the parts in the opening post. O2 cell varies in price between 29 and 40 euro, CO sensor is around 9 euro....
What's the ballpark figure on cost for materials? I imagine that it is substantially less than a cheap O2 analyzer plus a cheap CO analyzer.
Yes. The sensor itself (ME2-CO) can be ordered separately and is replaceable. The board has all the electronics for calibration, provides serial communication, analogue output and digital output. I'm using the last one, DAC output. Range is 0 to 500pm, no idea how accurate the calibration is.I had not seen that sensor when I built my CO sensor. Does it come calibrated?
I will install a sensor in the air-intake of the compressor, if the sensor reads anything above 3ppm, a relay will switch off the compressor. CO below 3ppm will be handled by the hopcalite filter.
I'm using a gain of 4, provided by the ADS1115 chip.You might also consider an amplifier prior to the ADC to increase the size of the signal to help improve accuracy
The O2 cell turns out to be linear. A brand new one will produce around 11.5mV in air. After 3 to 4 days, it stabilizes and provides 10.0mV to 10.5mV in air. From several tests, I found that the deviation from theoretical values is linear as well. Several CCR topics here on SB describe that deviation as linear drift.0% = 0mV (or any fixed value) should not be used or fixed in your formula/conversion, i think you proved this in your testing to yourself
as the sensors *should* have a linear output only use the 2 calibration points you capture to calculate a straight line, you can extend it below the 20.9 level allowing you to measure those ranges as well
...
The accuracy might be just 1% off when measuring EAN32, but it's >4% when measuring pure oxygen. More than 1% oxygen difference between measured gas and planned gas is not acceptable in tech diving, so why would I accept it in an analyzer.....
Since the drift is linear as well, 2 calibration points should be ok. I'm just struggling with how to tell the processor that it should correct the purple line, making it look like the green line.