[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 379: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4708: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4710: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4711: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4712: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_reimg.php on line 136: preg_match_all(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_reimg.php on line 138: array_unique() expects parameter 1 to be array, null given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_reimg.php on line 141: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_reimg.php on line 136: preg_match_all(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_reimg.php on line 138: array_unique() expects parameter 1 to be array, null given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_reimg.php on line 141: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_reimg.php on line 136: preg_match_all(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_reimg.php on line 138: array_unique() expects parameter 1 to be array, null given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_reimg.php on line 141: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_reimg.php on line 136: preg_match_all(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_reimg.php on line 138: array_unique() expects parameter 1 to be array, null given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_reimg.php on line 141: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_reimg.php on line 136: preg_match_all(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_reimg.php on line 138: array_unique() expects parameter 1 to be array, null given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_reimg.php on line 141: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_reimg.php on line 136: preg_match_all(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_reimg.php on line 138: array_unique() expects parameter 1 to be array, null given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_reimg.php on line 141: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_reimg.php on line 136: preg_match_all(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_reimg.php on line 138: array_unique() expects parameter 1 to be array, null given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_reimg.php on line 141: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_reimg.php on line 136: preg_match_all(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_reimg.php on line 138: array_unique() expects parameter 1 to be array, null given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_reimg.php on line 141: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_reimg.php on line 136: preg_match_all(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_reimg.php on line 138: array_unique() expects parameter 1 to be array, null given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_reimg.php on line 141: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_reimg.php on line 136: preg_match_all(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_reimg.php on line 138: array_unique() expects parameter 1 to be array, null given
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_reimg.php on line 141: Invalid argument supplied for foreach()
AquaticTechTank.net • View topic - CO2 sensor!

AquaticTechTank.net

A forum dedicated to design and program aquatic tanks
It is currently Sun Dec 22, 2024 11:43 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 15 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: CO2 sensor!
PostPosted: Wed Dec 12, 2012 10:34 pm 
Offline
Site Admin

Joined: Fri Nov 30, 2012 1:54 pm
Posts: 279


Top
 Profile  
 
 Post subject: Re: CO2 sensor!
PostPosted: Wed Dec 12, 2012 10:35 pm 
Offline
Site Admin

Joined: Fri Nov 30, 2012 1:54 pm
Posts: 279
I'll stuff it in a breather bag to test things out. I'll think about the design of the enclosure later.

Here's a link on how to interface it with the arduino via UART


via IC
http://cdn.shopify.com/s/files/1/0019/5 ... 1264294173

I'll have to make a bunch of Close enough par sensors first before I get to this.


Top
 Profile  
 
 Post subject: Re: CO2 sensor!
PostPosted: Wed Dec 12, 2012 10:35 pm 
Offline
Site Admin

Joined: Fri Nov 30, 2012 1:54 pm
Posts: 279
The sensor arrived.

Cost: $75 shipped

Will have to get some breather bags.


Top
 Profile  
 
 Post subject: Re: CO2 sensor!
PostPosted: Wed Dec 12, 2012 10:36 pm 
Offline
Site Admin

Joined: Fri Nov 30, 2012 1:54 pm
Posts: 279
Things look good for a bit!


1701ppm outside water



I didn't see any noticeable leak so I went ahead with the experiment


It took a few minutes but the ppm started dropping. It dropped 1 ppm every 2-3 seconds. This is totally responsive in an aquarium where we're looking at 9ppm - 50ppm max. The ppm is a lot more stable in the container compared to air. There was a 2-3 ppm deviation sometimes.

I wanted to see where it would wind up but the readings stopped and notice there was a little water. The experiment ended at 1648ppm. I'm drying things out now. Hopefully there's no permanent damage. I'll need more silicone and thicker band next time.


Top
 Profile  
 
 Post subject: Re: CO2 sensor!
PostPosted: Wed Dec 12, 2012 10:38 pm 
Offline
Site Admin

Joined: Fri Nov 30, 2012 1:54 pm
Posts: 279
Converting ppmv to ppmw


ppmw = (ppmv)(MW) / [(0.08205) (¦K)] / density of Water


where:
ppmv = air pollutant concentration, in parts per million by volume
mg/m3 = milligrams of pollutant per cubic meter of air - (ppmv)(MW) / [(0.08205) (¦K)]
¦K = atmospheric temperature in degrees Kelvin = 273.15 + ¦C
0.08205 = universal gas law constant in (atm+liter)/(gmol+¦K)
MW = molecular weight of the air pollutant (dimensionless) - mol weight of CO2 (44.01g/mol)
1000 kg/m^3 (density of water)


density of Water = 1000 (kg/m3) - use 1000 as default since you'll need to measure the density to get accurate numbers. The density does vary due to temperature but very minor.

400ppmv of CO2 = .720ppmw


Last edited by mistergreen on Mon Nov 14, 2016 9:16 pm, edited 2 times in total.
Update formula


Top
 Profile  
 
 Post subject: Re: CO2 sensor!
PostPosted: Wed Dec 12, 2012 10:39 pm 
Offline
Site Admin

Joined: Fri Nov 30, 2012 1:54 pm
Posts: 279
Well, things look good.

I found a little box with clasps at Michael's.

I built a little container within it out of acrylic sheets and silicon glue. The lip has silicon on it so it'll make a good seal with the membrane.

The top is the lid with a home made gasket make out of silicone.


Everything assembled with silicone for extra measure.


It is leak free.

So then it got dunked into my high tech tank.

It rose at about 1ppmw per minute. Final reading was 44.01 ppmw in my tank. It took 30 minutes to get there from 6 ppmw.

All in all a successful experiment. I have ideas on making it even more responsive. Adding more holes in the lid might help and I made a thin sheet of silicone I will replace the breather bag.

So now the next step if to hook this up to a relay to control the solenoid.


Top
 Profile  
 
 Post subject: Re: CO2 sensor!
PostPosted: Wed Dec 12, 2012 10:41 pm 
Offline
Site Admin

Joined: Fri Nov 30, 2012 1:54 pm
Posts: 279


Top
 Profile  
 
 Post subject: Re: CO2 sensor!
PostPosted: Wed Dec 12, 2012 10:42 pm 
Offline
Site Admin

Joined: Fri Nov 30, 2012 1:54 pm
Posts: 279
I made my own silicone membrane between 2 pieces of wax paper.


It's 1 mm in thickness about 3x as thick as the breather bag. It's also twice as reactive allowing about 2ppm per minute.

I also finished building the relay connections and will hook it up later today. I'll run for a month and observe fish reaction and BBa.

** oh, I just figured there's a mathematical limit to this sensor. You can only read 0 - 44.01 ppmw (this is what we want) and 0 -10,000 ppmv. It's good for growing plants. I probably had higher CO2 levels in my tank. I thought it looked suspicious that it stopped at 44.01ppm every time. I knew there's a reason why my fishes were so skittish.


Top
 Profile  
 
 Post subject: Re: CO2 sensor!
PostPosted: Wed Dec 12, 2012 10:42 pm 
Offline
Site Admin

Joined: Fri Nov 30, 2012 1:54 pm
Posts: 279
I tried making it thinner but it was impossible remove in one piece. Well at least it's better than the breather bag. I also have a big sheet of vytek. I'll try that later. Making the silicone membrane was easy. A glob of silicone between wax paper and a rolling pin or in my case a wine bottle. Let cure for a few days and peel slowly of one piece and then let it cure completely.

I just did some equipment check and was trying to figure out why the relay wouldn't trigger the solenoid. It turned out the water still had 44+ppm of co2 in it. This is 6 hours after lights out.

I'm going to stay with ranges of 35- 40 ppm. My fishes just aren't happy with the amount I've been pumping in and BBa isn't completely eliminated. I've put the sensor farthest from the outtake so some area will be more than 40 ppm I'm sure.

Can you imagine the amount of co2 we're pumping into these tanks? Over 33x the amount in air.

I'll check the co2 sensor manufacturer if they make something higher than 10,000 ppmv.
**** they do make a 30,000ppm and a 300,0000 ppm model but they're $250.

The 30,000 module should work. The maximum value is 132 ppmw.


Top
 Profile  
 
 Post subject: Re: CO2 sensor!
PostPosted: Wed Dec 12, 2012 10:43 pm 
Offline
Site Admin

Joined: Fri Nov 30, 2012 1:54 pm
Posts: 279
Ok, I bit the bullet and bought .010" silicone from

I could have gone thinner but I'm afraid it might be too fragile.
We'll see.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Copyright 2noodles LLC 2012