CO2 Sensor for Arduino

dbz

Well-Known Member
So after I saw a few posts, and saw mycodo. I decided hell with it, I need another hobby so I will build an Arduino controller for the room I am finishing. My main holdup in ordering parts (I have already gotten relays, screens, the arduino and have plenty of jumpers etc) is the CO2 sensor. Does anyone have a recommendation for one that is good? I am leaning towards:


or

https://store.arduino.cc/usa/gravity-analog-co2-gas-sensor

or any other suggestions?
 

Renfro

Well-Known Member
So after I saw a few posts, and saw mycodo. I decided hell with it, I need another hobby so I will build an Arduino controller for the room I am finishing. My main holdup in ordering parts (I have already gotten relays, screens, the arduino and have plenty of jumpers etc) is the CO2 sensor. Does anyone have a recommendation for one that is good? I am leaning towards:


or

https://store.arduino.cc/usa/gravity-analog-co2-gas-sensor

or any other suggestions?
I am liking the Amazon one myself. Looks like it would be the better one. That said I haven't used either one so I am just going by the ads info.
 
  • Like
Reactions: dbz

lazaah

Well-Known Member
This is the cheapest you'll want to go. Search around, the MH-Z19 is next best. But for the extra few dollars you may as well get something that returns ppm values and has solid reviews.

senseAir S8 004-0-0053 S8-0053 infrared CO2 carbon dioxide sensor S8 0053 -https://a.aliexpress.com/_mNe8Upf

Also, start looking into esp32, esphome and home assistant
 

dbz

Well-Known Member
I love your style! Automate that grow (but please spend time in your grow)! The other one I was looking at my self was 2x the price, I'd rather have two of what you are thinking and average it or if out of wack, maybe get a third sensor. This is what I was looking at, https://www.co2meter.com/products/cozir-2000-ppm-co2-sensor , but I might still splurge on the Cozir..
That one looks nice. Well you are the one that gave me the idea. Atlas Scientific has one at 149.99 too, but I suppose isnt tbe question what accuracy range is really needed too? What if I am a percent and a half off, does that really matter for our purposes?
 

lyzer

Member
I ran 2 of the dfrobot sensors and the IR one was better at consistent reporting. That said I just decided to stop trying to track CO2 and simply rely on the titan controller maintaining proper levels.

I highly recommend all the Atlas Scientific products! I’m running a DIY RDWC system with 10 dosing pumps and 4 probes (2 ph and ec, overkill!) from Atlas on a raspberry pi that maintains all the nutrients and pH for the system.
 
  • Like
Reactions: dbz

pahval

Well-Known Member
how about this one?


afaik its most accurate one... just take in mind you need to calibrate it for 7 days with at least 1 hour per day of fresh air, and you can improve accuracy by giving altitude of where sensor will be (easily done with gps app on phone) and ambient pressure, for what i suggest


just take into account your pressure will change always so ive put *in my code* recalibration of newest reading of amb pressure before i take co2 measurements, adjustment for altitude can be done only once... also, if you wanna be ultra precise, go outside and measure altitude of your ground floor (cause outside you get more accurate measurements *with your phone*) and add the amount of where your gb will be...
 

dbz

Well-Known Member
I think I am going to get two of the dfrobot sensors make a statement for averaging with an alarm if they are too far out on each other. Although I like @pahval reco too. Need to pull the trigger this week, will let you know how it goes. I like the idea of two more moderately priced ones for redundancy and check/balance.
 

pahval

Well-Known Member
I think I am going to get two of the dfrobot sensors make a statement for averaging with an alarm if they are too far out on each other. Although I like @pahval reco too. Need to pull the trigger this week, will let you know how it goes. I like the idea of two more moderately priced ones for redundancy and check/balance.
I know what you mean, diy-ing grow can end fatally almost in any point and extra care is always a good thing, if not necessity, i can only say that from my experience a good, high qual sensors (more expensive ones, from reputable makers and with good reviews from all around the web) lasts for more years, and with some clever recalibration (my intuition tells me after every grow, being it will be in higher co2 concentration environment) and proper connections i think youll be fine with only one... Also, co2 isnt something super critical in grow (thats makes plants suffer from let's say 50ppm higher ammount), and i didnt see df robots co2 sensor reviews that mention they died out on someone... Ill be watching this post with eagerness, post a yt video if you can , also i can help out if youll need with code and wiring, i can install it on my pi and check out whats happening, and im electrician specialised in machine automation so i know a thing or two... ❤❤❤
 
  • Like
Reactions: dbz

raggyb

Well-Known Member
for what do you need monoxide sensor? quick google search find MQ7 sensor, its analog so no library needed for interface...
i see thanks. yeah just asking cuz they're only different by one 'O' so maybe it would but idk. if i recall correct my CO sensor gave false alarms and beeped like crazy so I shut it off. thinking whether can kill 2 or more birds but won't do co2 any soon but still find the subject interesting..
 

pahval

Well-Known Member
Analog sensors like MQ7 are very different than digital ones, analog sensor is prone to noises if the cables arent connected and shielded properly, and faults in general because you as user are supposed to code fault correction, but they have quicker readings (as fast as your analog.Read() is) whichis more suitable for lets say fast acting PID controller, digital ones have chips that autocorrect values, thermometer for compensation (SCD30 i mentioned has even compensation for altitude and ambient pressure) and even heaters in some cases...

About co2 and co, they are very different, you wont get anything usable from co readings... Plants use co2... And afaik you only need co2 if you have lights stronger than you need and you feed your plants with stronger nutrient regime (all 3 factors need to be bumped up for it to have meaning, check out this pdf: https://overgrow.com/uploads/default/original/3X/2/3/23aa20345f49333322d00364bf1df89205218fa5.pdf
 

ch4107

Active Member
Thank you. what is it measuring in Gallons?
I also just started to connect the sensor to home assistant. Many parts have not arrived yet. I currently have a vegetable tent with a 25-gallon water tank and a flowering tent with a 104-gallon water tank. The co2 sensor is in flowering tent, 5x5.
 

raggyb

Well-Known Member
I also just started to connect the sensor to home assistant. Many parts have not arrived yet. I currently have a vegetable tent with a 25-gallon water tank and a flowering tent with a 104-gallon water tank. The co2 sensor is in flowering tent, 5x5.
cool, that thing measures quite a lot.
 
Top