Page 1 of 1

Re: Smart Environment Pro Plug & Sense SE-PRO WiFi sensor board with CO2, H2 and NH3 gas sensors

Posted: Thu Oct 17, 2019 9:33 am
by libelium-dev

What heating time did you configure? The CO2 sensor needs 2 minutes at least. In addition please try to read the sensor sometimes and perform the average. Usually, the sensor returns 0 the first time it is read after being turned ON.

Code: Select all

    gas_PRO_sensor.getConc(); //discard firts value

    concentration = 0.0;
    for(uint8_t i=0; i<5; i++){
        concentration = concentration + gas_PRO_sensor.getConc();
    concentration = concentration/5;