Hacker News new | ask | show | jobs
by GuB-42 1441 days ago
If you don't care about errors of a few percent you should be able to make your own calibration chamber.

You just need an airtight container of a known volume, a source of CO2 and a maybe a fan. Put your CO2 detector inside the box, with fresh air, your CO2 source and the fan, and see if the result matches. You may need to do some calculations.

For your source of CO2, you have a few options: combustion of a known quantity of fuel, soda bottle, dry ice, acid + sodium bicarbonate,... If you want to remove CO2, you can use calcium oxyde (quicklime).

2 comments

I actually went down this path about 25 years ago, and I learned the hard way that CO2 hides in organic materials in a way that mostly invalidates the calibration.

I had a semi-sophisticated device consisting of a lightweight plastic cylinder that could move up and down when filled with gas, and a way to know the volume with accuracy (single-digit milliliter error out of five liters). I had a tank of pure CO2 and an air intake, coupled with valves that let me fill the cylinder with any desired mixture of CO2 and air. I wrote an automatic program that created a calibration curve in various proportions (100ppm CO2, 200ppm CO2, ..., up to 5000ppm) and collected the sensor value.

The results of this procedure made no sense, because the sensor reading collected during the calibration, e.g. at 1000ppm, was totally different from the sensor reading in response to a 1000ppm concentration created outside the calibration loop. After several days of investigation, it turned out that the problem was that I was using tubes of some carbon-based plastic material. Somehow the CO2 mixes with the plastic and is slowly released afterwards, altering the mixture. Everything worked fine after I replaced the tubes with silicon-based silicone tubes.

This is not easy at all. Your source of CO2 if it is a bottle will have a pressure. Your bicarb should be dry to make sure you weight it properly. If you want to measure ratios of 100 above 100ppm the home made way is decent, but for atmospheric/domestic variations that's not going to cut it. Plus as the other commenter said, CO2 creeps into plastics and leach slowly after so you have to let your system equilibrate which then opens you at the effects of porosity and diffusion.