MQ-135 Air Quality

Roughly Evaluate Air Quality

MQ-135 is an air quality sensor in MOS technology and detects a wide range of substances such as ammoina, sulfide, benzene, smoke, and other gases.

One especially important gas to evaluate air quality is not detected: CO2. Even though the datasheet claims that CO2 is part of the detected gases, this sensor type can only indirectly detect it, and sensitivity towards CO2 does not seem to be particularly high.

Overview

MQ-135 is an analog sensor that returns a voltage reading representing the overall gas concentration of all detectable gases.

Parameter Value
Voltage 5V
Heater Current <950mW
Sensitivity (ppm) ammonia 10-300, benzene 10-1000, ethanol 10-300
Preheat Time >24h
Gas sensing SnO2

Pins

The raw sensor has six pins:

Pin Description
H/H apply 5V AC or DC
AA/BB apply up to 24V DC in series with a load resistor, and measure voltage drop

Typically, the sensor is mounted on a breakout board with these pins:

Pin Description
AO analog out: measured sensor voltage
DO digital out: high when threshold is exceeded
GND Ground
VCC 5V

The threshold for the digital output (DO) can be set with a potentiometer.

Materials

MQ-135 Datasheet

Comments

Please do leave comments below. I am using utteran.ce, an open-source and ad-free light-weight commenting system.

Here is how your comments are stored

Whenever you leave a comment, a new github issue is created on your behalf.

  • All comments become trackable issues in the Github Issues section, and I (and you) can follow up on them.

  • There is no third-party provider, no disrupting ads, and everything remains transparent inside github.

Github Users Yes, Spammers No

To keep spammers out and comments attributable, all you do is log in using your (free) github account and grant utteranc.es the permission to submit issues on your behalf.

If you don’t have a github account yet, go get yourself one - it’s free and simple.

If for any reason you do not feel comfortable with letting the commenting system submit issues for you, then visit Github Issues directly, i.e. by clicking the red button Submit Issue at the bottom of each page, and submit your issue manually. You control everything.

Discussions

For chit-chat and quick questions, feel free to visit and participate in Discussions. They work much like classic forums or bulletin boards. Just keep in mind: your valued input isn’t equally well trackable there.

  Show on Github    Submit Issue

(content created Jul 16, 2024)