
This is an MQ-135 air quality gas sensor module that responds to ammonia, NOx, alcohol, benzene vapour, smoke and CO2. It gives an analog output and a digital output with an adjustable threshold, and runs from a 5V supply. It suits Arduino air quality monitors, IoT sensor nodes and student projects.
Overview
This is an MQ-135 gas sensor on a small breakout board. The MQ-135 is a semiconductor (tin dioxide, SnO2) sensor made for air quality monitoring. The manufacturer datasheet lists ammonia (NH3), NOx, alcohol, benzene, smoke and CO2 as the gases it responds to. When these gases are in the air the sensor resistance changes, and the board turns that change into a voltage that a microcontroller can read. The board in the photo is blue, with the metal-mesh sensor can marked MQ-135, a blue trimmer potentiometer and a 4-pin connection (VCC, GND, DO, AO).
The AO pin gives an analog voltage that changes with the gas level in the air, and the DO pin switches when the level passes the threshold set by the trimmer, using a comparator on most boards. Use AO when you want a number, and DO when you want a simple alert signal. The sensor responds to several gases together, so it shows that the air quality changed, not which gas is present.
To start, power the module from 5V, connect AO to an analog pin on the Arduino and read it with analogRead. The sensor has a built-in heater, so it draws some current and gets warm. It needs a long preheat for stable readings, so leave it powered before you trust the numbers. Raw readings are not calibrated, so a calibration step in clean air is needed if you want ppm style values. Treat any CO2 figure as a rough estimate, as the sensor is not a dedicated CO2 meter.
This is a hobby sensor for learning and prototypes. Do not rely on it as the only safety device. Compared with gas specific sensors like the MQ-4 for methane or the MQ-7 for carbon monoxide, the MQ-135 is a general air quality sensor.
| Sensor | MQ-135 (SnO2 metal oxide semiconductor) |
|---|---|
| Target Gases | NH3, NOx, alcohol, benzene, smoke, CO2 |
| Application | Air quality monitoring |
| Supply Voltage | 5V DC |
| Outputs | Analog (AO) and digital (DO) |
| Digital Threshold | Adjustable with the trimmer potentiometer |
| Connections | 4 (VCC, GND, DO, AO) |
| Heater | Built in, needs warm-up time |
| Board Colour | Blue |
FAQ
The MQ135 air quality gas sensor module costs ৳145 at DazzleVolt. We deliver in Chittagong and nationwide.
The datasheet lists ammonia, NOx, alcohol, benzene, smoke and CO2. It reacts to them together, so it shows a change in air quality, not which gas it is.
No. It responds to CO2 but also to other gases, so any CO2 value is only a rough estimate. For exact CO2 readings use a dedicated CO2 sensor.
The MQ-135 has a built-in heater, so it gets warm in normal use. It needs warm-up time before readings settle. Leave it powered for longer before you trust the values.
Use AO to read the air quality level as a number with analogRead. Use DO for a simple on and off alert, and turn the trimmer to set the level at which it switches.
No. This is a hobby sensor for learning and prototypes. It is not a certified detector, so do not rely on it alone for safety.
Customer feedback
── More from Gas Sensor ──