Possible to use multiple CO2 sensors on one Arduino Mega?

Hi friends!

I am starting a project where My aim is to study the flow of CO2 in a room by deploying a dense array of CO2 sensors and the more I look into attempting this, the more I feel in over my head, which is fine, but maybe you can help alleviate some concerns :D

My approach is to first determine what kind of sensors we will be using. So far, I've purchased the SCD30 and CCS811 for determining CO2 concentrations. The intention is to compare my readings from the CCS811 with the more sensitive SCD30 and from there, determine which of the two sensors would be ideal for creating an array of sensors from. (hoping for a decent response from the CCS811 for the obvious savings in cost).

Let's assume the sensitivity is decent and we can use the CCS811 for the project. From this point I am going to assume the total number of sensors on one array is going to be: 1 Temp+Humidity (DHT22) link: https://www.adafruit.com/product/385 4 CO2 Sensors (CCS811) link: https://www.adafruit.com/product/3566

with the intention of spreading out the four CO2 Sensors over maybe about 6 ft from the Arduino each, which begs the question: Can I have these sensors all connected to the same Arduino Mega by long jumper cables?

My research thus far makes me think that the pins, power, and current availability will not be a concern, but the communications aspect may be the most difficult part with overlap in internal addresses.

Can anyone confirm or redirect my concerns on this project? I'm assuming I'm going to have to become an I2C master to implement this...

How about some links to the sensors?...

Sure, I edited the post to include links as well

DHT22: https://www.adafruit.com/product/385

CCS811: https://www.adafruit.com/product/3566

Here is some documentation for the CCS811 I2C address configuration: https://www.espruino.com/CCS811


Looks like each CCS811 module has a fixed address which means you can’t just connect them all together in a single I2C bus. Assuming you only want to use one I2C hardware on the Arduino, you would have to use an I2C multiplexer so you can control them all in a single I2C bus

You would need something like this

PCA9548A | NXP