MQ135 Air Quality Sensor
$2.201pcs
The MQ135 is a semiconductor gas sensor with superior performance, wide measurement range, and high cost-effectiveness
| Dimensions | 32 × 20 × 22 mm |
|---|---|
| Brand |
easyelecmodule |
4399 in stock
Description
Operating Performance Parameters
| Parameter | Value | Description |
|---|---|---|
| Operating Voltage | 5V ±0.1V | Stable 5V power supply recommended |
| Heater Voltage (VH) | 5V ±0.1V | Must be supplied separately from operating voltage |
| Heater Resistance (RH) | 33Ω ±5% | Heating coil resistance at room temperature |
| Heater Power Consumption | ≤750mW | Heat dissipation required for prolonged use |
| Load Resistance (RL) | Adjustable (commonly 10kΩ) | Affects sensitivity, must match circuit |
| Signal Output | Analog voltage (0-5V) | Requires ADC for reading |
| Detectable Gases | Ammonia (NH₃), benzene (C₆H₆), alcohol, smoke, CO₂, etc. | Non-selective, sensitive to multiple hazardous gases |
| Detection Range | 10-1000ppm (varies by gas) | e.g., NH₃: 10-300ppm |
| Sensitivity (Rs/R0) | 0.1-10 | Rs: Resistance in gas, R0: Resistance in clean air |
| Response Time (T90) | <10 seconds | Time to reach 90% of final value |
| Recovery Time | 30-60 seconds | Time to return to baseline in clean air |
| MQ135 Pin | Arduino Pin | Description |
|---|---|---|
| VCC | 5V | Power supply |
| GND | GND | Ground |
| AO | A0 | Analog output |
| DO | D2 (optional) | Digital output (threshold) |
Code for Arduino
/*
MQ135 Air Quality Sensor Example
--------------------------------
This example reads the analog output (AO) from an MQ135 gas sensor
and converts it into a voltage value. The MQ135 can detect gases
such as CO2, NH3, benzene, alcohol, and smoke.
Hardware:
- MQ135 sensor module
- Arduino UNO or compatible board
- Connect AO pin to Arduino analog pin A0
- Connect VCC to 5V
- Connect GND to GND
*/
const int mq135Pin = A0; // Analog input pin connected to MQ135 AO
float sensorValue = 0; // Variable to store the ADC reading
float voltage = 0; // Converted voltage value
void setup() {
Serial.begin(9600); // Start serial communication
Serial.println("MQ135 Air Quality Sensor Test");
delay(2000); // Warm-up delay (sensor needs a few seconds to stabilize)
}
void loop() {
// Read the analog input (0–1023 for 10-bit ADC)
sensorValue = analogRead(mq135Pin);
// Convert ADC value to voltage (assuming 5V reference)
voltage = sensorValue * (5.0 / 1023.0);
// Print results to serial monitor
Serial.print("Raw value: ");
Serial.print(sensorValue);
Serial.print(" | Voltage: ");
Serial.print(voltage);
Serial.println(" V");
/*
Note:
- To convert voltage to ppm (gas concentration), you need to
calibrate the sensor and use the appropriate formula or curve
from the MQ135 datasheet.
- Example (pseudo):
float ratio = (R0 / Rs);
float ppm = pow(10, ((log10(ratio) - b) / m));
where m and b come from the gas curve for a specific gas.
*/
delay(1000); // Read every 1 second
}
MQ135 Display






Shipping Cost
We only ship to the United States. Shipping costs are calculated based on the total order amount.
Shipping Method And Delivery Time
All orders will be processed and shipped within 72 hours of placing the order (excluding weekends and holidays). They will ship from Shenzhen, China, primarily via 4PX logistics. Depending on the destination and logistics conditions, other carriers such as DHL, FedEx, UPS, USPS, etc., may also handle the delivery. Estimated shipping time is 7-12 business days, with actual delivery occurring in 10-17 business days, depending on logistics conditions.
Payment:
We accept Visa, Master card, Maestro, American Express, JCB, Dinner's Club, Discover, Paypal, Apple Pay, Google Pay .

Reviews
There are no reviews yet.