Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

How to Use MKE-S09 MQ-135 Air Quality Sensor: Examples, Pinouts, and Specs

Image of MKE-S09 MQ-135 Air Quality SensorDesign with MKE-S09 MQ-135 Air Quality Sensor in Cirkit Designer

Introduction

The MKE-S09 MQ-135 Air Quality Sensor is an electronic device designed to detect a wide range of harmful gases in the environment. It is sensitive to gases such as ammonia, sulfide, benzene vapors, and others, making it an essential component for air quality monitoring systems, environmental safety applications, and gas leakage detectors. Its versatility allows it to be used in both industrial and residential settings to ensure the safety and well-being of individuals.

Explore Projects Built with MKE-S09 MQ-135 Air Quality Sensor

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of Arduino UNO Based Multi-Gas Detector: A project utilizing MKE-S09 MQ-135 Air Quality Sensor in a practical application
Arduino UNO Based Multi-Gas Detector

This circuit is designed for environmental monitoring, featuring an Arduino UNO microcontroller interfaced with three different gas sensors: MQ-7 for carbon monoxide (CO) detection, MQ131 for ozone (O3) measurement, and MQ-135 for general air quality assessment. The sensors are powered by the Arduino's 5V output and their analog signals are read through the Arduino's analog input pins A0, A1, and A2 respectively. The embedded code reads the analog values from the sensors and outputs the readings via the serial interface, allowing for real-time monitoring of the gases.

Open Project in Cirkit Designer

Technical Specifications

Key Technical Details

Pin Configuration and Descriptions

Pin Number Pin Name Description
1 VCC Power supply (5V DC)
2 GND Ground
3 DOUT Digital output (TTL logic level)
4 AOUT Analog output (Voltage proportional to gas concentration)

Usage Instructions

Integration with a Circuit

  1. Power Supply: Connect the VCC pin to a 5V power source and the GND pin to the ground.
  2. Signal Output: The sensor provides both digital and analog outputs. Connect the DOUT pin to a digital input pin on your microcontroller if you wish to use the digital output. For the analog output, connect the AOUT pin to an analog input pin on your microcontroller.
  3. Load Resistance Adjustment: The RL on the board can be adjusted to calibrate the sensor for different gas concentrations or sensitivity requirements.

Best Practices

Example Code for Arduino UNO

// MQ-135 Air Quality Sensor Example Code
// Connect the AOUT pin of the MQ-135 to A0 on the Arduino

int sensorPin = A0; // Select the input pin for the MQ-135
int sensorValue = 0; // Variable to store the sensor value

void setup() {
  Serial.begin(9600); // Initialize serial communication at 9600 bits per second
}

void loop() {
  sensorValue = analogRead(sensorPin); // Read the sensor value
  Serial.print("Air Quality: ");
  Serial.println(sensorValue); // Print the sensor value to the serial monitor
  delay(1000); // Wait for a second to get stable readings
}

Troubleshooting and FAQs

Common Issues

Solutions and Tips

FAQs

Q: How long does the sensor last? A: The lifespan of the sensor depends on the usage and the environment in which it is used. Typically, these sensors can last for several years with proper maintenance.

Q: Can the sensor detect carbon monoxide? A: The MQ-135 is primarily designed for detecting ammonia, sulfide, and benzene vapors. For carbon monoxide detection, a different sensor like the MQ-7 is recommended.

Q: Is the sensor waterproof? A: No, the MQ-135 sensor is not waterproof. Protect it from moisture and water exposure to prevent damage.

Q: How do I know if the sensor is working correctly? A: You can test the sensor by exposing it to a known gas concentration and observing the readings. If the readings are within the expected range, the sensor is likely functioning correctly.

For further assistance or inquiries, please contact the manufacturer or your local distributor.