Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use MQ-9 SENSOR COMBUSTIBLE GAS: Examples, Pinouts, and Specs

Image of MQ-9 SENSOR COMBUSTIBLE GAS
Cirkit Designer LogoDesign with MQ-9 SENSOR COMBUSTIBLE GAS in Cirkit Designer

Introduction

The MQ-9 sensor module is a widely used electronic component for detecting the presence of combustible gases such as methane, propane, and hydrogen. It is based on a tin-oxide (SnO2) semiconductor which changes its resistance in the presence of certain gases. This sensor is commonly used in safety applications such as gas leak detectors in industrial and residential settings.

Explore Projects Built with MQ-9 SENSOR COMBUSTIBLE GAS

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Arduino UNO Based Gas Leak Detector with GSM Notification and Servo Valve Control
Image of lpg detector: A project utilizing MQ-9 SENSOR COMBUSTIBLE GAS in a practical application
This circuit is designed as a gas leakage detection system with SMS alert capabilities. It uses an Arduino UNO to monitor MQ-6 and MQ-7 gas sensors for LPG and CO levels, respectively, and activates a servo-controlled valve, buzzer, and exhaust fan if gas concentrations exceed preset thresholds. Additionally, the system uses a SIM900A GSM module to send SMS alerts in case of gas detection, and it is powered by a series of 18650 Li-ion batteries managed by a protection board.
Cirkit Designer LogoOpen Project in Cirkit Designer
Battery-Powered MQ-2 Gas Sensor with Alert Buzzer
Image of gas detect: A project utilizing MQ-9 SENSOR COMBUSTIBLE GAS in a practical application
This is a simple gas detection alarm system that uses an MQ-2 sensor to detect gas presence and sound a buzzer when gas is detected. It is powered by a rechargeable 18650 battery, with a TP4056 module for battery management and charging. A rocker switch is used to control the power to the system.
Cirkit Designer LogoOpen Project in Cirkit Designer
Multi-Gas Detection System with Arduino and MQ Sensors
Image of Centrala calitate aer: A project utilizing MQ-9 SENSOR COMBUSTIBLE GAS in a practical application
This circuit is designed to monitor various gases using a series of MQ gas sensors (MQ-2, MQ-3, MQ-4, MQ-5, MQ-6, MQ-7, MQ-8, MQ-9, and MQ-135), each providing digital outputs to an Arduino UNO microcontroller. The Arduino is also connected to a piezo speaker for audible alerts and multiple LEDs with resistors, likely for visual status indicators. An Adafruit TCA9548A I2C multiplexer is included, suggesting the potential for I2C sensor expansion or managing multiple I2C devices.
Cirkit Designer LogoOpen Project in Cirkit Designer
Arduino UNO Gas Leak Detection System with LCD Display and Buzzer Alert
Image of alcohol detection and engine lock system...!: A project utilizing MQ-9 SENSOR COMBUSTIBLE GAS in a practical application
This circuit is a gas detection and alert system using an Arduino UNO, an MQ-5 gas sensor, a relay, a buzzer, and an LCD display. The MQ-5 sensor detects gas levels and sends analog data to the Arduino, which processes the data and activates the relay to control a motor and the buzzer for alerts. The LCD display shows the gas levels, providing real-time monitoring.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with MQ-9 SENSOR COMBUSTIBLE GAS

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 lpg detector: A project utilizing MQ-9 SENSOR COMBUSTIBLE GAS in a practical application
Arduino UNO Based Gas Leak Detector with GSM Notification and Servo Valve Control
This circuit is designed as a gas leakage detection system with SMS alert capabilities. It uses an Arduino UNO to monitor MQ-6 and MQ-7 gas sensors for LPG and CO levels, respectively, and activates a servo-controlled valve, buzzer, and exhaust fan if gas concentrations exceed preset thresholds. Additionally, the system uses a SIM900A GSM module to send SMS alerts in case of gas detection, and it is powered by a series of 18650 Li-ion batteries managed by a protection board.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of gas detect: A project utilizing MQ-9 SENSOR COMBUSTIBLE GAS in a practical application
Battery-Powered MQ-2 Gas Sensor with Alert Buzzer
This is a simple gas detection alarm system that uses an MQ-2 sensor to detect gas presence and sound a buzzer when gas is detected. It is powered by a rechargeable 18650 battery, with a TP4056 module for battery management and charging. A rocker switch is used to control the power to the system.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of Centrala calitate aer: A project utilizing MQ-9 SENSOR COMBUSTIBLE GAS in a practical application
Multi-Gas Detection System with Arduino and MQ Sensors
This circuit is designed to monitor various gases using a series of MQ gas sensors (MQ-2, MQ-3, MQ-4, MQ-5, MQ-6, MQ-7, MQ-8, MQ-9, and MQ-135), each providing digital outputs to an Arduino UNO microcontroller. The Arduino is also connected to a piezo speaker for audible alerts and multiple LEDs with resistors, likely for visual status indicators. An Adafruit TCA9548A I2C multiplexer is included, suggesting the potential for I2C sensor expansion or managing multiple I2C devices.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of alcohol detection and engine lock system...!: A project utilizing MQ-9 SENSOR COMBUSTIBLE GAS in a practical application
Arduino UNO Gas Leak Detection System with LCD Display and Buzzer Alert
This circuit is a gas detection and alert system using an Arduino UNO, an MQ-5 gas sensor, a relay, a buzzer, and an LCD display. The MQ-5 sensor detects gas levels and sends analog data to the Arduino, which processes the data and activates the relay to control a motor and the buzzer for alerts. The LCD display shows the gas levels, providing real-time monitoring.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications

  • Gas leak detection in homes and industries
  • Portable gas detectors
  • Air quality monitoring
  • Early fire detection systems

Technical Specifications

Key Technical Details

  • Sensor Type: Semiconductor
  • Target Gases: Methane, Propane, Carbon Monoxide, Hydrogen
  • Operating Voltage: 5V DC
  • Heating Voltage: 5V ±0.1
  • Load Resistance: Adjustable
  • Heating Consumption: about 350mW
  • Preheat Duration: 20 seconds
  • Detection Range: 10 to 1000 ppm (parts per million)

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 supply and the GND pin to the ground.
  2. Signal Output: The MQ-9 provides both digital and analog outputs:
    • Digital Output (DOUT): Connect to a digital input pin on a microcontroller. The digital output goes high when the gas concentration exceeds a certain threshold, which can be adjusted using the onboard potentiometer.
    • Analog Output (AOUT): Connect to an analog input pin on a microcontroller to get a reading proportional to the gas concentration.

Important Considerations and Best Practices

  • Calibration: The sensor requires calibration to ensure accurate readings. Expose the sensor to a known concentration of the target gas and adjust the onboard potentiometer until the desired output is achieved.
  • Warm-Up Time: Allow the sensor to preheat for at least 20 seconds to stabilize the readings.
  • Ventilation: Ensure proper ventilation around the sensor to allow gas diffusion.
  • Avoid Extreme Conditions: Do not expose the sensor to extreme temperatures, humidity, or corrosive gases.

Example Code for Arduino UNO

// MQ-9 Sensor Example Code for Arduino UNO
int analogPin = A0; // Analog input pin connected to AOUT on the sensor
int digitalPin = 2; // Digital input pin connected to DOUT on the sensor
int sensorValue = 0; // Variable to store the sensor value

void setup() {
  pinMode(digitalPin, INPUT); // Set the digital pin as input
  Serial.begin(9600); // Start serial communication at 9600 baud rate
}

void loop() {
  sensorValue = analogRead(analogPin); // Read the analog value from sensor
  Serial.print("Gas concentration (analog): ");
  Serial.println(sensorValue); // Print the analog reading

  if (digitalRead(digitalPin) == HIGH) {
    // Check if the digital output is high
    Serial.println("Gas detected!");
  } else {
    Serial.println("No gas detected.");
  }
  delay(1000); // Wait for 1 second before the next loop
}

Troubleshooting and FAQs

Common Issues

  • Inaccurate Readings: Ensure the sensor has been properly calibrated and has had sufficient warm-up time.
  • No Output: Check the power supply and connections to the sensor. Ensure the sensor is not damaged.
  • Fluctuating Readings: Stabilize the power supply and avoid exposing the sensor to drafts or rapid temperature changes.

Solutions and Tips

  • Calibration: Perform calibration in a controlled environment with a known gas concentration.
  • Sensor Cleaning: Use a soft brush to gently clean the sensor if dust or other particles have accumulated on it.
  • Regular Testing: Periodically test the sensor with a known gas source to ensure it is functioning correctly.

FAQs

Q: How long does the MQ-9 sensor last? A: The lifespan of the sensor depends on the usage and environment, but it typically lasts for several years with proper maintenance.

Q: Can the MQ-9 sensor detect smoke? A: The MQ-9 is primarily designed for combustible gases and may not be the best choice for smoke detection. Smoke detectors typically use optical or ionization sensors.

Q: Is the MQ-9 sensor sensitive to alcohol vapors? A: The MQ-9 sensor can respond to a wide range of combustible gases, including some alcohol vapors, but it is not specifically designed for alcohol detection.