# Co2 sensor recommendations

**URL:** <https://community.particle.io/t/co2-sensor-recommendations/51601>\
**Category:** Hardware\
**Tags:** boron\
**Created:** [August 9, 2019, 8:33pm UTC](https://community.particle.io/t/co2-sensor-recommendations/51601 "2019-08-09T20:33:24Z")\
**Posts on this page:** 7\
**Page:** 2

<div class="post-metadata">

**Author:** ![steeves](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/steeves/32/13652_2.png) [@steeves](https://community.particle.io/u/steeves)\
**Post date:** [August 13, 2019, 2:00am UTC](https://community.particle.io/t/co2-sensor-recommendations/51601/21 "2019-08-13T02:00:42Z")

</div>

hmmmm, I guess I am in a code 18 behavior … sorry for washing time to everyone, just see the error my bad

---

<div class="post-metadata">

**Author:** ![peekay123](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/peekay123/32/810_2.png) [@peekay123](https://community.particle.io/u/peekay123)\
**Post date:** [August 13, 2019, 2:00am UTC](https://community.particle.io/t/co2-sensor-recommendations/51601/22 "2019-08-13T02:00:46Z")

</div>

You need to remove the examples from the library `examples` folders otherwise they get included.

---

<div class="post-metadata">

**Author:** ![nrobinson2000](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/nrobinson2000/32/15624_2.png) [@nrobinson2000](https://community.particle.io/u/nrobinson2000)\
**Post date:** [August 13, 2019, 2:02am UTC](https://community.particle.io/t/co2-sensor-recommendations/51601/23 "2019-08-13T02:02:51Z")

</div>

Odd. Does that only happen when compiling in the cloud? (It doesn’t happen when I compile locally.)

---

<div class="post-metadata">

**Author:** ![mrOmatic](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/mromatic/32/66_2.png) [@mrOmatic](https://community.particle.io/u/mrOmatic)\
**Post date:** [August 13, 2019, 10:33am UTC](https://community.particle.io/t/co2-sensor-recommendations/51601/24 "2019-08-13T10:33:38Z")

</div>

Also be aware that most Co2 sensors are designed to have some time exposed to ambient Co2 conditions and many auto calibrate. If you want to have a Co2 sensor in a Co2 boosted environment you need read through the data sheets to see if it’s going to work in your environment. I ended up using the Telaire T6615 but that might be above you budget.

---

<div class="post-metadata">

**Author:** ![khp](https://avatars.discourse-cdn.com/v4/letter/k/ea666f/32.png) [@khp](https://community.particle.io/u/khp)\
**Post date:** [August 14, 2019, 3:45pm UTC](https://community.particle.io/t/co2-sensor-recommendations/51601/25 "2019-08-14T15:45:19Z")

</div>

Seems like you have converged but +1 on the SGP30 from me too. Don’t forget to set the baseline by running for a while in clean outdoor air, for example.

I have also had problems with drift with other sensors and from what I can tell the SGP30 is consistent and stable longer term.

---

<div class="post-metadata">

**Author:** ![vacquah](https://avatars.discourse-cdn.com/v4/letter/v/a9adbd/32.png) [@vacquah](https://community.particle.io/u/vacquah)\
**Post date:** [December 16, 2019, 11:49pm UTC](https://community.particle.io/t/co2-sensor-recommendations/51601/26 "2019-12-16T23:49:51Z")

</div>

hello everyone - just implemented this. excited to see it working. Initially i got an error message during compile in regards to `memset(data,sizeofdata(),0)` but seems to have disappeared when I compiled again…

Wondering if the following values look ok: ( what are the units of measurements for all the metrics? )

“absHumid”:7133  
“eco2\_base”: 35295  
“tvoc\_base”: 34294

---

<div class="post-metadata">

**Author:** ![ScruffR](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/scruffr/32/6952_2.png) [@ScruffR](https://community.particle.io/u/ScruffR)\
**Post date:** [December 17, 2019, 6:05am UTC](https://community.particle.io/t/co2-sensor-recommendations/51601/27 "2019-12-17T06:05:23Z")

</div>

Your `memset()` call is wrong.  
Have a look at this  
[http://www.cplusplus.com/reference/cstring/memset/](http://www.cplusplus.com/reference/cstring/memset/)

[Previous page](https://community.particle.io/t/co2-sensor-recommendations/51601.md?page=1)
