Ks0133 keyestudio EASY plug MQ135 Air Quality Sensor: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
==EASY plug MQ135 Air Quality Sensor==
[[image:Ks0133-.png|thumb|600px|right|EASY plug MQ135 Air Quality Sensor ]]
<br>[[File:ks0133-1.png|500px|frameless|thumb]]<br>


==Introduction==
==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. <br>
MQ135 sensor uses SnO2 sensitive material because SnO2 has low electrical conductivity in the clean air. <br>
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. <br>
When surrounded by polluted air, the electrical conductivity of MQ135 sensor will increase with the increase of pollutants, and the change in electrical conductivity can be converted to corresponding output signal. <br>
Note: this module needs to be used together with EASY plug control board.<br>
You can rotate the potentiometer on the sensor to adjust the sensitivity. MQ135 has a high sensitivity to ammonia, sulfide, benzene vapor, smoke and other harmful gases.<br>
This module should be used together with EASY plug control board.<br>


<span style=color:red> '''Special Note:''' <br>
The sensor/module is equipped with the RJ11 6P6C interface, compatible with our keyestudio EASY plug Control Board with RJ11 6P6C interface. <br> If you have the control board of other brands, it is also equipped with the RJ11 6P6C interface but has different internal line sequence, can’t be used compatibly with our sensor/module. </span><br>


==Specification==
<br>
* 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


==Features==
*Interface: Easy plug
*Sensor type: Semiconductor
*Operating voltage: 5V DC
*Load resistance: Adjustable RL
*Quick response and high sensitivity
*Target gas: ammonia; methylbenzene; hydrogen
<br>


==Connection Diagram ==
==Technical Details==
<br>[[File:ks0133-2.png|500px|frameless|thumb]]<br>
* Dimensions: 56mm*20mm*18mm
* Weight: 9.2g


<br>
==Connect It Up==
Connect the EASY Plug MQ135 sensor to control board using an RJ11 cable. Then connect the control board to your PC with a USB cable.
<br>[[File:Ks0133- 2.png|700px|frameless|thumb]]<br>


==Sample Code==
<br>
 
==Upload the Code==
Copy and paste below code to [http://wiki.keyestudio.com/index.php/How_to_Download_Arduino_IDE Arduino IDE] and upload.
<pre>
<pre>
int gas_din=18;
int gas_din=2;
int gas_ain=A5;
int gas_ain=A7;
int led=13;
int led=13;
int ad_value;
int ad_value;
Line 55: Line 64:
}
}
</pre>
</pre>
<br>
==What You Should See==
Done uploading the test code, open the serial monitor and set the baud rate to 9600, you should be able to see the “Gas leakage” and analog value.
<br>[[File:Ks0133-4.png|700px|frameless|thumb]]  [[File:Ks0133 result.png|600px|frameless|thumb]]<br>
<br>


==Resources ==
==Resources ==


'''PDF'''
https://fs.keyestudio.com/KS0133


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


==Buy from ==
==Buy from ==
'''Official Website'''
*[https://www.keyestudio.com/keyestudio-easy-plug-mq-135-air-quality-sensor-gas-detection-module-for-arduino-steam-p0099.html  '''Official Website''' ]
 
*[https://www.aliexpress.com/store/product/New-Keyestudio-EASY-plug-MQ-135-Air-Quality-Sensor-Module-for-arduino/1452162_32645593523.html?spm=2114.12010612.8148356.8.7ebe24eaqM2oiA  Shop on aliexpress ]


http://www.keyestudio.com/keyestudio-easy-plug-mq-135-air-quality-sensor-module-for-arduino.html
[[category:EASY Plug]]
[[category:Module]]

Latest revision as of 16:48, 7 January 2021

EASY plug MQ135 Air Quality Sensor

Introduction

MQ135 sensor uses SnO2 sensitive material because SnO2 has low electrical conductivity in the clean air. 
When surrounded by polluted air, the electrical conductivity of MQ135 sensor will increase with the increase of pollutants, and the change in electrical conductivity can be converted to corresponding output signal.
You can rotate the potentiometer on the sensor to adjust the sensitivity. MQ135 has a high sensitivity to ammonia, sulfide, benzene vapor, smoke and other harmful gases.
This module should be used together with EASY plug control board.

Special Note:
The sensor/module is equipped with the RJ11 6P6C interface, compatible with our keyestudio EASY plug Control Board with RJ11 6P6C interface.
If you have the control board of other brands, it is also equipped with the RJ11 6P6C interface but has different internal line sequence, can’t be used compatibly with our sensor/module.


Features

  • Interface: Easy plug
  • Sensor type: Semiconductor
  • Operating voltage: 5V DC
  • Load resistance: Adjustable RL
  • Quick response and high sensitivity
  • Target gas: ammonia; methylbenzene; hydrogen


Technical Details

  • Dimensions: 56mm*20mm*18mm
  • Weight: 9.2g


Connect It Up

Connect the EASY Plug MQ135 sensor to control board using an RJ11 cable. Then connect the control board to your PC with a USB cable.
thumb


Upload the Code

Copy and paste below code to Arduino IDE and upload.

int gas_din=2;
int gas_ain=A7;
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);
}


What You Should See

Done uploading the test code, open the serial monitor and set the baud rate to 9600, you should be able to see the “Gas leakage” and analog value.
thumb thumb


Resources

https://fs.keyestudio.com/KS0133


Buy from