Sensors

MQ-135

Low-cost gas sensor module often marketed for air quality experiments.

China-madeWinsenActiveModerate

Best For

Projects needing Air quality and Gas with a commonly available sensors part.

Avoid If

You need production-grade certainty without checking the exact module vendor, pinout, and library maintenance status.

Quick Decision Notes

MQ-135 is indexed as a sensors part from Winsen. ChipScout tracks it by practical maker-facing dimensions: interfaces, library readiness, estimated price, field-level sources, and whether the page is strong enough for selection rather than only lookup.

Technical Specifications

MeasurementAir quality gasesSource: Winsen
InterfaceAnalog / digital moduleSource: Winsen
HeaterRequiredSource: Winsen
Working Voltage5VSource: Winsen

Common Use Cases

  • Maker prototypes
  • Low-cost modules
  • Educational hardware

Known Issues

  • Breakout boards may use different pin labels or regulator choices
  • Clone modules can differ from the original datasheet part

Interfaces and Library Support

Interfaces
ADCGPIO
Wireless
None
Voltage
3.3V
Libraries
Arduino verifiedMicroPython pending
Data Integrity66% confidence
Sourcehttps://www.winsen-sensor.com/
Last verified2026-05-20
Core specsVerified
PinoutMissing
Library supportChecked
Price rangePresent
Found a wrong spec?

Every field is meant to be source-backed. Corrections should include a datasheet URL, vendor page, module photo, or reproducible library test.

Submit correction

Source Resources

Pinout Table

VCC3.3VPower the module from a rail that matches the breakout board, not just the bare IC.
GNDCommon groundConnect ground between the controller, sensor/module, and external power supply.
SignalMCU GPIO / ADCUse a digital input, output, PWM, or ADC pin based on the module output type.

Pinout is not yet source-verified. Use the table as an integration checklist, then confirm exact pins against the module vendor page before wiring hardware.

Common Wiring

VCC

Power the module from a rail that matches the breakout board, not just the bare IC.

GND

Connect ground between the controller, sensor/module, and external power supply.

Signal

Use a digital input, output, PWM, or ADC pin based on the module output type.

Arduino Example

void setup() {
  Serial.begin(115200);
  Serial.println("MQ-135 GPIO wiring smoke test");
}

void loop() {
  // Replace with the maintained MQ-135 library or module protocol.
  Serial.println("Read or toggle the connected signal pin.");
  delay(1000);
}

MicroPython Example

MicroPython support is pending. Treat community scripts as prototypes until a maintained driver is linked and tested on a known development board.

Recommended Development Boards

ESP32-C3 development board

Low-cost Wi-Fi/BLE board with enough interfaces for most sensors and modules.

Arduino Uno R4 / compatible

Good baseline for beginner wiring and library validation.

Raspberry Pi Pico W

Practical MicroPython target for I2C, SPI, UART, PWM, and ADC experiments.

Alternative Model Reasons

ACS712SensorsThis alternative currently has stronger source coverage and confidence in ChipScout.
ADXL345SensorsChoose this when MicroPython support is required for fast prototyping.
AHT10SensorsChoose this when MicroPython support is required for fast prototyping.
AHT20SensorsChoose this when MicroPython support is required for fast prototyping.

Common Questions

What is MQ-135 best used for?

Projects needing Air quality and Gas with a commonly available sensors part.

Does MQ-135 support Arduino or MicroPython?

MQ-135 has verified Arduino support and MicroPython support pending verification.

What interfaces does MQ-135 use?

MQ-135 lists ADC, GPIO; wireless support is no wireless protocol.

Compare MQ-135 vs ACS712

Alternatives and Related Parts