Ks0133 keyestudio EASY plug MQ135 Air Quality Sensor

From Keyestudio Wiki
Jump to: navigation, search

EASY plug MQ135 Air Quality Sensor


thumb

Introduction

MQ135 adopts SnO2 as its gas sensitive material because SnO2 has low electrical conductivity in the clean air. So when surrounded by polluted air, the electrical conductivity of MQ135 will increase with the increase of pollutants, and the change in electrical conductivity can be converted to corresponding output signal.
MQ135 has a high sensitivity to Ammonia, sulfide, benzene vapor, smoke and other harmful gases. It can detect various harmful gases, making it a cost-effective choice suitable for multiple applications.
Note: this module needs to be used together with EASY plug control board.


Specification

  • Interface: Easy plug
  • Product model: MQ135
  • Product type: Semiconductor gas sensor
  • Target gas: Ammonia; methylbenzene; hydrogen
  • Standard circuit: Loop voltage Vc ≤24V DC
  • Heater voltage: VH 5.0V±0.2V AC or DC
  • Load resistance: Adjustable RL
  • Size: 56*20mm
  • Weight: 8g


Connection Diagram


thumb


Sample Code

int gas_din=18;
int gas_ain=A5;
int led=13;
int ad_value;
void setup()
{
  pinMode(led,OUTPUT);
  pinMode(gas_din,INPUT);
  pinMode(gas_ain,INPUT);
  Serial.begin(9600);
}
void loop()
{ 
  ad_value=analogRead(gas_ain);
  if(digitalRead(gas_din)==LOW)
  { 
    digitalWrite(led,HIGH);
    Serial.println("Gas leakage");
    Serial.println(ad_value);
  }
  else
  {
    digitalWrite(led,LOW);
Serial.println("Gas not leak");
    Serial.println(ad_value);
  }
  delay(500);
}

Resources

PDF

https://drive.google.com/open?id=18KvRqj_AdeugZOYtHy37wv2uTH_lMW-W

Buy from

Official Website

http://www.keyestudio.com/keyestudio-easy-plug-mq-135-air-quality-sensor-module-for-arduino.html