MQ-135 Gas Sensor

Resistive MQ-135 sensor for detecting ammonia, benzene, alcohol, CO2, and other harmful gases; outputs an analog voltage proportional to gas concentration.
Pinout
- DOUT1
digital threshold output
Type · GPIO - AOUT2
analog output
Type · Analog - GND3
ground
Type · Ground - VCC4
supply
Type · Power
| Pin | Position | Type | Function |
|---|---|---|---|
| DOUT | 1 | GPIO | digital threshold output |
| AOUT | 2 | Analog | analog output |
| GND | 3 | Ground | ground |
| VCC | 4 | Power | supply |
Pin details
4 connections- DOUT1
digital threshold output
GPIO - AOUT2
analog output
Analog - GND3
ground
Ground - VCC4
supply
Power
Start wiring
I2C · Analog · UART · 3.3 – 5 V · Breakout
Waveshare lists MQ-2 for combustible gases and smoke, MQ-3 for alcohol, and MQ-135 for mixed indoor pollutants such as NH3, NOx, alcohol,…
Module pins: VCC, GND, DOUT, AOUT. Schematik maps them to your board in the app.
Air quality
105 other optionsMQ gas sensors, VOC/eCO2 indicators, NDIR true-CO2 modules and PM1/PM2.5/PM10 particulate sensors — over 100 listings across very different detection chemistries.
Adafruit ENS160 MOX Gas Sensor - CCS811 Upgrade visual previewAdafruit ENS160 MOX Gas Sensor - CCS811 Upgrade
$21.95
Adafruit ENS161 MOX Gas Sensor visual previewAdafruit ENS161 MOX Gas Sensor
$21.95
Adafruit MiCS5524 CO, Alcohol and VOC Gas Sensor Breakout visual previewAdafruit MiCS5524 CO, Alcohol and VOC Gas Sensor Breakout
$14.95
Adafruit PMSA003I Air Quality Breakout visual previewAdafruit PMSA003I Air Quality Breakout
$44.95
Adafruit SCD-30 NDIR True CO2, Temperature & Humidity Sensor visual previewAdafruit SCD-30 NDIR True CO2, Temperature & Humidity Sensor
$58.95
Adafruit SCD-40 True CO2, Temperature & Humidity Sensor visual previewAdafruit SCD-40 True CO2, Temperature & Humidity Sensor
$44.95
Adafruit SCD-41 True CO2, Temperature & Humidity Sensor visual previewAdafruit SCD-41 True CO2, Temperature & Humidity Sensor
$49.95
Adafruit SEN6x Breakout for Sensirion SEN66 - STEMMA QT / Qwiic visual previewAdafruit SEN6x Breakout for Sensirion SEN66 - STEMMA QT / Qwiic
$4.50
Adafruit SGP30 Air Quality Sensor Breakout - VOC and eCO2 visual previewAdafruit SGP30 Air Quality Sensor Breakout - VOC and eCO2
$17.50
Adafruit SGP40 Air Quality Sensor Breakout - VOC Index visual previewAdafruit SGP40 Air Quality Sensor Breakout - VOC Index
$14.95
Adafruit SGP41 Multi-Pixel Gas Sensor Breakout - VOC & NOx visual previewAdafruit SGP41 Multi-Pixel Gas Sensor Breakout - VOC & NOx
$19.95
Adafruit STCC4 and SHT41 - CO2, Temperature & Humidity Sensor visual previewAdafruit STCC4 and SHT41 - CO2, Temperature & Humidity Sensor
$27.50
Related groups
4 groups
BOSON: Heart Rate Monitor Sensor i20 visual previewBiometrics
UART/I2C fingerprint modules, MAX30102 PPG breakouts, and analog ECG/EMG front-ends for access control and hobby biometric sensing.
Sensors · Biometric sensors · 26 parts
0.3M Pixel Serial JPEG Camera Module visual previewCameras
Pi CSI modules, USB cameras, MCU-class OV2640/OV5640 boards, on-camera AI like HuskyLens and OpenMV, and thermal or ToF imagers — over 130 listings across very different pipelines.
Sensors · Cameras & vision · 141 parts
0.28 Inch LED Digital DC Voltmeter - Green visual previewPower monitors
INA-series I2C monitors, Hall-effect sensors like the ACS723 and Gravity 20A/50A boards, and non-invasive CT clamps for everything from 3.3V rail telemetry to mains current sensing.
Sensors · Current & voltage · 25 parts
25m Long Distance ToF Laser Sensor (±3cm Accuracy, 100Hz, 100K LUX Resistant) visual previewDistance sensors
About 180 listings spanning VL53-series ToF breakouts, HC-SR04 and MaxSonar ultrasonics, 360° triangulation LiDARs, IR proximity sensors, 24GHz mmWave presence detection and laser break-beam sensors.
Sensors · Distance sensors · 177 parts