Go Down

Topic: MQ 135 value  (Read 2616 times) previous topic - next topic

weske2000

Hello i,m try mq 135 air sensor

But it read 0,02 ppm ?



#include "MQ135.h"

#define ANALOGPIN 0
float airthreshold[3] = {
  400, 400, 800};
 
  // Initialize the gas Sensor
MQ135 gasSensor = MQ135(ANALOGPIN);

void setup() {
  // start the LEDs
 
  //Set up the serial terminal
  Serial.begin(9600);
}
void loop() {
    float ppm = gasSensor.getPPM();
     Serial.print(" CO2: ");
  Serial.print(ppm);
  Serial.println(" ppm ");

  delay(1000);
}

   

This is the code

Is 0,02 ppm good reading

Thanks

robtillaart

moderator: please use code tags - and use CTRL-T in the IDE for proper indenting

also a link to the library used will be helpful

Quote
But it read 0,02 ppm ?
What did you expect? is it too low/high

What does the datasheet of the sensor describe as unit?
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

Torrettoe

This website is a good website. Has experienced an increase

lmaraf

hi, this solves the question:
https://hackaday.io/project/3475-sniffing-trinket

Go Up