DIY Touch Screen Trimix Analyser

Please register or login

Welcome to ScubaBoard, the world's largest scuba diving community. Registration is not required to read the forums, but we encourage you to join. Joining has its benefits and enables you to participate in the discussions.

Benefits of registering include

  • Ability to post and comment on topics and discussions.
  • A Free photo gallery to share your dive photos with the world.
  • You can make this box go away

Joining is quick and easy. Log in or Register now!

I think MOD calculated using O2 % is standard function of any analyser with processor, e.g. see https://www.greisinger.de/files/upload/en/produkte/bda/GOX100T_EN.pdf (page 4-5).
I did such option in mine, too :) (never finished, I stuck to simple voltmeter-like with potentiometer calibration, as I really use standard mixes anyway):


I have used this analyser for a few times but I have never noticed this functionality. A friend of mine has it.
But anyway, MOD display is only a confortable function (mine shows the calculated values for 1.2, 1.4 and 1.6 pO2 without pressing any button) and more usefule for novice divers.
For tec and experienced divers it is not neccessary, especially if standard gases are used.
 
Bill of material

WEMOS LOLIN or compatible ESP32 board
jICA2vUrqhtC69WK9qyOzEqfLeIxf9CU8O-W4WQxEzFCh8vk9daKqHtAFqWX1EdCE3ZJh8AmU_k41t-6oJ-k4HkSGy65MPXD.png



3.2 inch 320*240 SPI Serial TFT LCD Module Display Screen with Touch Panel Driver IC ILI9341 for MCU

wXzZ154RJPw4Thlu6DA8Wqvt-JAaWhbVSkhLzTLsZotB5d9k-bK-a4Cc5kCS3WEsC6AvmOrdkpsbcM-15P8Ece5t8Chh3Qj1.png


DC-DC Step Down Converter Module LM2596 DC 4.0~40 to 1.3-37V Adjustable Voltage Regulator


Adjust it to 3V output!

f9qr6EZl8k4vYLrK44zgLMnIR5C7pCJzGDF6I41BxAq27dX9YgpLNULOZND2Xsc0VgkpkI0VIK9Wz85jT9Lcl1NJblcjJuiN.png

16 Bit I2C ADS1115 ADS1015 Module ADC 4 Channel with Pro Gain Amplifier 2.0V to 5.5V for Arduino RPi
siTTcxkyPxqplviKxBWaKt6jz9RKaK-JO8ja-dybs3EEv4JA9aFtYlJuxRU74qTgsPBm_uDEwPeV3wVp-OzcfcHm-pmd6URI.png


XH 2.54mm connectors and terminals 2 and 4 pins
wCzBqXG_ZPxz0FW2tnA6Zz8oJpVVUQgIbCBF8PAD62hrLZK5IPNju7K2Y9jMY8Ik8xOCpZe8ywf96-FA3WGm0onrjeRuZEdr.png


XH 2.54 cables 2 and 4 pins
DsHpyR3Ks0-xTTsp4D7AwIyCWcA-mBL4W-GRGmF4ETHxCZsUQhia8j948HMGxJpvQ_UV-8GasZwkzYtxafUvpGckbpEH9CpY.png


MD61 Thermal Conductivity Gas Sensor
t84AcM2IcN6Vw8aAAlGVcHCVHSN_AGKgJ4kViqG3_BY-IoOqokOxCNUZoBLu30XaVOGRxbmXxl5aku925JhGAblwWhSn8j-M.png


CITY AO2 PTB-18.10 A02 AA428-210 or similar Oxygen Sensor
_6ahSGdFw-NPY3CN6vlNR59QIs4nQ2sLxJv-Act4hnhj6R2-FbG9CX12GIb9YoqoIa3_Pwr4kFmFBMkoSPpuOhj15FGqaom3.png


18650 Li Ion battery
wHoB6Lv6jQybir0_IMFRdG_cmFHwUAt7xBPnO7-anHO20ANyEDjpaCWT2SihJQD93hR_EVdQQOo2y4pb0lOsSNj-ki9ikVt8.png


18650 Li Ion battery case (serial connected)
k1C7KWOOeuZLBZFmtZ7Ahm-FGnbj60QZVUtVmaG9QN6U7qsd0bT9U6mg8XMrGX9-CTEktGTtKRTQhL7paYrvYzpCxK0rG00g.png


10k 1206 SMD resistor
2k 1206 SMD resistor
fnhGaxSuEy-vd9LaYbOiSfbsk4HfqZzWPr_l77BJ0P-mRbAgT9INfLUkpyUpBLSmozqKs4-C4dCEsvbPHvDKVR0NLMBTq4E0.png


500 ohms multi turn trimmer potentiometer (Y pattern)
SWoKk70NhTN6nuGcB2LG6hH_8LIp9RVYcSs0dZNpllpiAwPHUiqvRK6u0cG9v28f7JWszlknnxekidkJ3OFtdy7QBKQoFmKR.png


Custom main PCB
PJ6DWFjoRWHsidFfLL1CDEvobiVMMeV76SPLZTUx0b6tf_MZpI_ZPtzNeUMecC4S47SWvc8QAxInVhvxveXHiA1AHw3JNpBV.png


Custom sensor PCB
saBpt_I0N8J98jW5g85xfI8iRoUz1tANuCpAxp8To3Qmie1FGiJh6Ytds6oPgUgYFRxREfwCEKyGAvyP1grd_VIwLhVuEUGq.png


Switch
wTGDeK8zzatNdl9Bd_tj2DzscJcU9QcOcdMqLNJhCrjHktaLhyCm4v2Mi9duWAb8c3mrMG0TeW2FjV8o9sSNaQI_wIGwqDrK.png


Molex or an appropriate connector and terminals for the O2 cell. For more info see the sensor’s datasheet.
7z59uxV61DLCGTXZe7TLi291ueHRalaQ28rHCJqawVsH5qLN5gIR6eD4LL8rSh4zgB6PvVGBZBopoxC_44znZrXw9jPVyT09.png



Links to resources are for your reference only. I do not have any connection to the owners of the shops I listed. You can find most of these components easily on aliexpress, ebay, bangood…. etc.
 
The CO sensor used by Cootwo is the S+4 2ECOH, available in UK.

It's too bad you don't have 100% HE near you. I don't imagine you have a store like Grainger nearby, or how much it would cost for shipping, but they have calibration bottles of helium which could be used.
 
The CO sensor used by Cootwo is the S+4 2ECOH, available in UK.

It's too bad you don't have 100% HE near you. I don't imagine you have a store like Grainger nearby, or how much it would cost for shipping, but they have calibration bottles of helium which could be used.

Thank you for the info. As I see it is only a sensor without temperature compensation. It would make the design more complicated. And it is non-linear.
I might try this one later:
https://www.winsen-sensor.com/d/files/ZE15-CO.pdf


I could buy 100% He from a local gas station but it would cost ~90 USD + tank + shipping.
It is too much for less than 1 m3 He that I can not use later without having compressor or booster pump at home.
That is why used balloon gas for the development (~ 30USD with tank).
For the final calibration only a very small amount of gas would be necessary.
I will solve it somehow.
 

Getting nicer and nicer. Well done!!

One question. How do you connect the He sensor to the PCB? I see the connector on the PCB but then how do you attach the wires to the sensor itself? Looking for neat ideas for my project. Cheers
 
Getting nicer and nicer. Well done!!

One question. How do you connect the He sensor to the PCB? I see the connector on the PCB but then how do you attach the wires to the sensor itself? Looking for neat ideas for my project. Cheers

The sensor has a separate pcb and it is soldered on it.
The small and the main pcb then connected together with wires.
You can see it above.
 
Thank you for the info. As I see it is only a sensor without temperature compensation. It would make the design more complicated. And it is non-linear.
I might try this one later:
https://www.winsen-sensor.com/d/files/ZE15-CO.pdf
That one has the same output and specs as the one that I used. Add another A/D converter to read the 0.4V - 2V output from pin 10 on the sensor. I also found that combining the CO sensor output with O2 or He output doesn't work reliably, so that's another reason for using a 2nd A/D converter.
The rest is just software.
 
That one has the same output and specs as the one that I used. Add another A/D converter to read the 0.4V - 2V output from pin 10 on the sensor. I also found that combining the CO sensor output with O2 or He output doesn't work reliably, so that's another reason for using a 2nd A/D converter.
The rest is just software.

Have you ever tested how linear the output?
 
Have you ever tested how linear the output?
For CO: no
For He and O2: yes

The moment I read more than 1 ppm, I won't dive that gas. However, for other applications, a proper calibration would be interesting and that would require a tank of CO.

I have compared the MD62 sensor output with a DiveSoft analyser, same gas flowing through both analysers. Results were very consistent for the usual trimixes.
To compare linearity, a setup would be required where one would start with 100% He and then constantly lowering the He content by replacing it with another gas (eg. N2 to eliminate the thermal conductivity of O2).
 

Back
Top Bottom