MQ-135 air quality (NH3, NOx, CO2-ish) sensor module
A rough indoor air-quality sniffer for fumes and stale air.
Hanwei MQ-135 tin-oxide sensor on an LM393 board: sensitive to ammonia, NOx, alcohol, benzene and smoke; often used as a rough indoor air-quality indicator (it does not measure CO2 directly). AO analog plus DO threshold output. 5 V heater, about 150 mA, runs warm; needs burn-in and warm-up.
Electrical
- Supply voltage
- 4.9 to 5.1 V
- Logic level
- 5 V
- Current
- 150 mA typical, 180 mA max
- Talks over
- analog, digital
Needs alongside it
- AO and DO reach 5 V: divide them (10k/20k) on 3.3 V boards.
Pins
| Pin | Can do | Max V | Max mA |
|---|---|---|---|
| VCC | 5 V | ||
| GND | ground | ||
| DO | digitalLOW above the threshold; swings to 5 V. | ||
| AO | analogUp to 5 V. |
Works with
- Arduino Uno R3
- Arduino Nano
- Arduino Mega 2560 Rev3
- Arduino UNO R4 WiFi
- Arduino UNO R4 Minima
- Arduino Nano ESP32
- ESP32 DevKitC (ESP32-WROOM-32, 38-pin)
- ESP32-S3-DevKitC-1 (N8R8)
- Adafruit ESP32-S3 Feather (4 MB flash, 2 MB PSRAM)
- Seeed XIAO ESP32S3 Sense (camera + mic)
- Seeed XIAO ESP32C3
- Seeed XIAO ESP32C6
- Raspberry Pi Pico (RP2040)
- Raspberry Pi Pico W (RP2040, Wi-Fi)
- Raspberry Pi Pico 2 (RP2350)
- Raspberry Pi Pico 2 W (RP2350, Wi-Fi)
- Seeed XIAO RP2040
- Seeed XIAO nRF52840 (Bluetooth LE)
Projects using it
No public project uses it yet. Design one that does.