MQ3.update();// Update data, the arduino will be read the voltage on the analog pin
calcR0+=MQ3.calibrate(RatioMQ3CleanAir);
Serial.print(".");
}
MQ3.setR0(calcR0/10);
Serial.println(" done!.");
if(isinf(calcR0)){Serial.println("Warning: Conection issue founded, R0 is infite (Open circuit detected) please check your wiring and supply");while(1);}
if(calcR0==0){Serial.println("Warning: Conection issue founded, R0 is zero (Analog pin with short circuit to ground) please check your wiring and supply");while(1);}
MQ3.update();// Update data, the arduino will be read the voltage on the analog pin
calcR0+=MQ3.calibrate(RatioMQ3CleanAir);
Serial.print(".");
}
MQ3.setR0(calcR0/10);
Serial.println(" done!.");
if(isinf(calcR0)){Serial.println("Warning: Conection issue founded, R0 is infite (Open circuit detected) please check your wiring and supply");while(1);}
if(calcR0==0){Serial.println("Warning: Conection issue founded, R0 is zero (Analog pin with short circuit to ground) please check your wiring and supply");while(1);}
// In this routine the sensor will measure the resistance of the sensor supposing before was pre-heated
@ -74,21 +82,6 @@ void setup() {
if(isinf(calcR0)){Serial.println("Warning: Conection issue founded, R0 is infite (Open circuit detected) please check your wiring and supply");while(1);}
if(calcR0==0){Serial.println("Warning: Conection issue founded, R0 is zero (Analog pin with short circuit to ground) please check your wiring and supply");while(1);}
// In this routine the sensor will measure the resistance of the sensor supposing before was pre-heated
@ -65,19 +72,6 @@ void setup() {
if(isinf(calcR0)){Serial.println("Warning: Conection issue founded, R0 is infite (Open circuit detected) please check your wiring and supply");while(1);}
if(calcR0==0){Serial.println("Warning: Conection issue founded, R0 is zero (Analog pin with short circuit to ground) please check your wiring and supply");while(1);}
// In this routine the sensor will measure the resistance of the sensor supposing before was pre-heated
@ -77,21 +84,6 @@ void setup() {
if(isinf(calcR0)){Serial.println("Warning: Conection issue founded, R0 is infite (Open circuit detected) please check your wiring and supply");while(1);}
if(calcR0==0){Serial.println("Warning: Conection issue founded, R0 is zero (Analog pin with short circuit to ground) please check your wiring and supply");while(1);}
// In this routine the sensor will measure the resistance of the sensor supposing before was pre-heated
@ -73,20 +81,7 @@ void setup() {
if(isinf(calcR0)){Serial.println("Warning: Conection issue founded, R0 is infite (Open circuit detected) please check your wiring and supply");while(1);}
if(calcR0==0){Serial.println("Warning: Conection issue founded, R0 is zero (Analog pin with short circuit to ground) please check your wiring and supply");while(1);}
// In this routine the sensor will measure the resistance of the sensor supposing before was pre-heated
@ -75,21 +83,6 @@ void setup() {
if(isinf(calcR0)){Serial.println("Warning: Conection issue founded, R0 is infite (Open circuit detected) please check your wiring and supply");while(1);}
if(calcR0==0){Serial.println("Warning: Conection issue founded, R0 is zero (Analog pin with short circuit to ground) please check your wiring and supply");while(1);}
// In this routine the sensor will measure the resistance of the sensor supposing before was pre-heated
@ -74,21 +81,6 @@ void setup() {
if(isinf(calcR0)){Serial.println("Warning: Conection issue founded, R0 is infite (Open circuit detected) please check your wiring and supply");while(1);}
if(calcR0==0){Serial.println("Warning: Conection issue founded, R0 is zero (Analog pin with short circuit to ground) please check your wiring and supply");while(1);}
// In this routine the sensor will measure the resistance of the sensor supposing before was pre-heated
@ -75,21 +82,6 @@ void setup() {
if(isinf(calcR0)){Serial.println("Warning: Conection issue founded, R0 is infite (Open circuit detected) please check your wiring and supply");while(1);}
if(calcR0==0){Serial.println("Warning: Conection issue founded, R0 is zero (Analog pin with short circuit to ground) please check your wiring and supply");while(1);}
// In this routine the sensor will measure the resistance of the sensor supposing before was pre-heated
@ -66,18 +73,6 @@ void setup() {
if(calcR0==0){Serial.println("Warning: Conection issue founded, R0 is zero (Analog pin with short circuit to ground) please check your wiring and supply");while(1);}
// In this routine the sensor will measure the resistance of the sensor supposing before was pre-heated
@ -66,18 +72,6 @@ void setup() {
if(calcR0==0){Serial.println("Warning: Conection issue founded, R0 is zero (Analog pin with short circuit to ground) please check your wiring and supply");while(1);}
// In this routine the sensor will measure the resistance of the sensor supposing before was pre-heated
@ -75,21 +82,6 @@ void setup() {
if(isinf(calcR0)){Serial.println("Warning: Conection issue founded, R0 is infite (Open circuit detected) please check your wiring and supply");while(1);}
if(calcR0==0){Serial.println("Warning: Conection issue founded, R0 is zero (Analog pin with short circuit to ground) please check your wiring and supply");while(1);}
// In this routine the sensor will measure the resistance of the sensor supposing before was pre-heated
@ -75,21 +82,6 @@ void setup() {
if(isinf(calcR0)){Serial.println("Warning: Conection issue founded, R0 is infite (Open circuit detected) please check your wiring and supply");while(1);}
if(calcR0==0){Serial.println("Warning: Conection issue founded, R0 is zero (Analog pin with short circuit to ground) please check your wiring and supply");while(1);}
// In this routine the sensor will measure the resistance of the sensor supposing before was pre-heated
@ -75,20 +82,6 @@ void setup() {
if(isinf(calcR0)){Serial.println("Warning: Conection issue founded, R0 is infite (Open circuit detected) please check your wiring and supply");while(1);}
if(calcR0==0){Serial.println("Warning: Conection issue founded, R0 is zero (Analog pin with short circuit to ground) please check your wiring and supply");while(1);}
// In this routine the sensor will measure the resistance of the sensor supposing before was pre-heated
@ -76,21 +83,6 @@ void setup() {
if(isinf(calcR0)){Serial.println("Warning: Conection issue founded, R0 is infite (Open circuit detected) please check your wiring and supply");while(1);}
if(calcR0==0){Serial.println("Warning: Conection issue founded, R0 is zero (Analog pin with short circuit to ground) please check your wiring and supply");while(1);}
// In this routine the sensor will measure the resistance of the sensor supposing before was pre-heated
@ -76,20 +83,6 @@ void setup() {
if(isinf(calcR0)){Serial.println("Warning: Conection issue founded, R0 is infite (Open circuit detected) please check your wiring and supply");while(1);}
if(calcR0==0){Serial.println("Warning: Conection issue founded, R0 is zero (Analog pin with short circuit to ground) please check your wiring and supply");while(1);}
// In this routine the sensor will measure the resistance of the sensor supposing before was pre-heated
@ -64,19 +72,6 @@ void setup() {
if(isinf(calcR0)){Serial.println("Warning: Conection issue founded, R0 is infite (Open circuit detected) please check your wiring and supply");while(1);}
if(calcR0==0){Serial.println("Warning: Conection issue founded, R0 is zero (Analog pin with short circuit to ground) please check your wiring and supply");while(1);}
// In this routine the sensor will measure the resistance of the sensor supposing before was pre-heated
@ -73,21 +80,6 @@ void setup() {
if(isinf(calcR0)){Serial.println("Warning: Conection issue founded, R0 is infite (Open circuit detected) please check your wiring and supply");while(1);}
if(calcR0==0){Serial.println("Warning: Conection issue founded, R0 is zero (Analog pin with short circuit to ground) please check your wiring and supply");while(1);}
// In this routine the sensor will measure the resistance of the sensor supposing before was pre-heated
@ -90,11 +93,6 @@ void setup() {
if(calcR0==0){Serial.println("Warning: Conection issue founded, R0 is zero (Analog pin with short circuit to ground) please check your wiring and supply");while(1);}
// In this routine the sensor will measure the resistance of the sensor supposing before was pre-heated
@ -73,12 +76,6 @@ void setup() {
if(isinf(calcR0)){Serial.println("Warning: Conection issue founded, R0 is infite (Open circuit detected) please check your wiring and supply");while(1);}
if(calcR0==0){Serial.println("Warning: Conection issue founded, R0 is zero (Analog pin with short circuit to ground) please check your wiring and supply");while(1);}