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

New sensors integration, sensor boards usage...
Post Reply
libelium-dev
Posts: 27967
Joined: Mon Sep 28, 2009 1:06 pm

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

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

Hi,

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;
Regards

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest