Quote:
int co2 = 0;
SensorGas.setBoardMode(SENS_ON);
SensorGas.configureSensor(SENS_CO2, 10);// Gain of 10
SensorGas.setSensorMode(SENS_ON, SENS_CO2);
[color=#CC6600]delay(45000); // Wait for CO2 sensor warmup
co2 = analogRead(ANALOG3) // Reading ADC value, not volts
When running
Quote:
XBee.print("Carbon dioxide level: ");
XBee.println(co2);
I always get "Carbon dioxide level: 4" on my terminal, even if I change the gain to 1.
What could be the problem? I read out the other sensors like this as well, and they are working perfectly.
Thank you very much in advance