AI Lab for the Internet of Things

From sensors to intelligent self-deciding systems: lessons, projects, architectures, interactive simulation labs and a specialist AIoT assistant.

20Lesson

MQ-135

An economical gas sensor whose output changes with several gases in the air, used as a rough indicator.

IntermediateChemical, gas and soil

Illustration of MQ-135
A schematic illustration created for this section for teaching purposes; it is not a photograph of the part or of any specific product.

Educational content in scientific-draft form; a specialist should review it before it is adopted as an academic reference. No measurement or performance result that was not actually obtained is shown here.

Facts

Measured quantityRelative air-quality indicator
Data typeAnalogue
Units of measurementRelative value
Examples of common partsMQ-135

How it works

The resistance of a metal-oxide layer changes in the presence of gases, and it needs heating.

How to connect

Connect power, ground and the analog output to an ADC input of the microcontroller, watching the reference voltage and calibrating the reading.

AIoT applications

  • Indoor air-quality indicator
  • Educational projects

Measurement and calibration issues

  • Not selective for one gas
  • Needs warm-up and calibration
  • Not for safety-critical use

Simulations and labs run inside your browser. Nothing you enter and none of the conversations is stored on the server. Privacy policy