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

How to Use MQ131: Examples, Pinouts, and Specs

Image of MQ131Design with MQ131 in Cirkit Designer

Introduction

The MQ131 is a gas sensor designed to detect ozone (O₃) concentrations in the air. It operates on the principle of resistive change, where the sensor's resistance varies based on the presence of ozone. This analog output can be used to measure ozone levels in various environments. The MQ131 is widely used in air quality monitoring systems, industrial safety applications, and environmental research.

Explore Projects Built with MQ131

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 Air Quality Monitoring and GSM Notification System: A project utilizing MQ131 in a practical application
Arduino UNO Based Air Quality Monitoring and GSM Notification System

This circuit features an Arduino UNO microcontroller interfaced with an MQ135 air quality sensor, an MPU-6050 accelerometer/gyroscope, a SIM900A GSM communication module, and a buzzer. The Arduino reads analog data from the MQ135 sensor and communicates with the MPU-6050 via I2C, while also controlling the buzzer and handling serial communication with the SIM900A module. The purpose of this circuit is likely to monitor air quality and motion, provide alerts through the buzzer, and enable remote communication via GSM.

Open Project in Cirkit Designer
Image of Arduino UNO and A9G GSM/GPRS GPS-Based Air Quality Monitoring System: A project utilizing MQ131 in a practical application
Arduino UNO and A9G GSM/GPRS GPS-Based Air Quality Monitoring System

This circuit features an Arduino UNO microcontroller interfaced with an A9G GSM/GPRS+GPS module and an MQ2 gas sensor. The Arduino communicates with the A9G module via digital pins D11 and D10 for data transmission, and it reads analog gas concentration levels from the MQ2 sensor through analog pin A5. Both the A9G module and the MQ2 sensor are powered by the Arduino's 5V output, and all components share a common ground.

Open Project in Cirkit Designer

Common Applications

Technical Specifications

The MQ131 sensor is available in two variants: low concentration and high concentration. Below are the key technical details:

Parameter Value
Operating Voltage 5V DC
Load Resistance (RL) Adjustable (typically 10kΩ–47kΩ)
Heater Voltage (VH) 5V ± 0.2V
Heater Power Consumption ≤ 900mW
Detection Range (Low Conc.) 10 ppb – 2 ppm
Detection Range (High Conc.) 1 ppm – 10 ppm
Preheat Time ≥ 24 hours
Operating Temperature -20°C to 50°C
Humidity Range 20% – 90% RH
Output Signal Analog voltage

Pin Configuration and Descriptions

The MQ131 sensor typically comes with four pins. Below is the pinout description:

Pin Name Description
1 VCC Power supply pin (5V DC)
2 GND Ground pin
3 AOUT Analog output pin (provides ozone concentration data)
4 DOUT Digital output pin (threshold-based signal)

Usage Instructions

How to Use the MQ131 in a Circuit

  1. Power Supply: Connect the VCC pin to a 5V DC power source and the GND pin to ground.
  2. Analog Output: Connect the AOUT pin to an analog input pin of a microcontroller (e.g., Arduino) to read ozone concentration as a voltage.
  3. Digital Output: Optionally, connect the DOUT pin to a digital input pin of a microcontroller. This pin provides a HIGH or LOW signal based on a preset ozone threshold.
  4. Load Resistor: Use an appropriate load resistor (RL) between the AOUT pin and ground. The value of RL affects the sensitivity and range of the sensor.
  5. Preheating: Allow the sensor to preheat for at least 24 hours before taking accurate measurements.

Important Considerations

Example Code for Arduino UNO

Below is an example of how to interface the MQ131 with an Arduino UNO to read analog values:

// MQ131 Ozone Sensor Example Code
// Connect AOUT to Arduino analog pin A0
// Ensure the sensor has been preheated for at least 24 hours

const int MQ131_AOUT = A0; // Analog output pin connected to A0
int ozoneValue = 0;        // Variable to store the analog reading

void setup() {
  Serial.begin(9600); // Initialize serial communication at 9600 baud
  pinMode(MQ131_AOUT, INPUT); // Set AOUT pin as input
  Serial.println("MQ131 Ozone Sensor Initialized");
}

void loop() {
  ozoneValue = analogRead(MQ131_AOUT); // Read analog value from sensor
  Serial.print("Ozone Sensor Value: ");
  Serial.println(ozoneValue); // Print the analog value to the Serial Monitor

  // Add a delay to avoid flooding the Serial Monitor
  delay(1000); // Delay for 1 second
}

Notes on the Code

Troubleshooting and FAQs

Common Issues and Solutions

  1. No Output or Incorrect Readings:

    • Ensure the sensor is powered with 5V DC.
    • Verify that the sensor has been preheated for at least 24 hours.
    • Check the connections, especially the load resistor (RL).
  2. Fluctuating Readings:

    • Ensure the sensor is placed in a stable environment with proper ventilation.
    • Avoid exposing the sensor to sudden changes in temperature or humidity.
  3. Low Sensitivity:

    • Adjust the load resistor (RL) to optimize sensitivity for your application.
    • Ensure the sensor is not exposed to contaminants or high humidity.
  4. Digital Output Not Triggering:

    • Verify the threshold setting on the sensor module (if applicable).
    • Check the DOUT pin connection and ensure it is connected to a digital input pin.

FAQs

Q: Can the MQ131 detect gases other than ozone?
A: The MQ131 is specifically designed for ozone detection. While it may respond to other gases, its sensitivity and accuracy are optimized for ozone.

Q: How do I convert the analog output to ozone concentration?
A: You need to calibrate the sensor using a known ozone source. The relationship between the analog voltage and ozone concentration is non-linear and depends on the load resistor value.

Q: Can I use the MQ131 outdoors?
A: Yes, but ensure the sensor is protected from extreme weather conditions, such as heavy rain or high humidity, which can affect its performance.

Q: How long does the MQ131 last?
A: The sensor's lifespan depends on usage and environmental conditions. Under normal conditions, it can last several years, but regular calibration is recommended to maintain accuracy.