I am using a figaro CO2 sensor as the one shown here: http://www.figarosensor.com/products/4161pdf.pdf
I have it connected for almost an hour now but no fluctuations for the concentrations at all yet. I am using the code given below:
unsigned long duration;
unsigned long ppm; // adding for clarity
duration = pulseIn(pin, HIGH); // get the raw reading
ppm = duration - 177000UL; // subtract the 'zero point'
ppm /= 500UL; // divide by the gain
ppm += 350UL; // add the zero point back in
Serial.print(" PPM Co2: ");
Serial.print(" Raw Sensor: ");
can anyone guide me what to do? is the sensor not heated yet?
My connections are:
Sensor pin 1 and 4 => +5 V and 0V
sensor pin 2 and 3 => analog 0 and 0V
I think I may not have made correct connections. Please help.