LPG Gas Sensor(MQ-6)

아두위키 : Arduwiki

This module is equipped with a sensor that detects LPG, butane, propane, and LNG.

It is necessary to preheat the sensor for a certain period before use to increase accuracy.

Specifications

  • Operating Voltage [V]: 5
  • Preheat Time: 24 hours (DATASHEET) / However, for practical purposes, if you're only determining the presence or absence of gas, immediate use is acceptable.
  • Sensitivity can be adjusted using the variable resistor on the back.

Example Usage Hardware

  • Arduino board
  • Jumper cables
  • MQ-6 Module

Connection

Although the digital pin is not used in this example, please refer to it as a connection example.

Arduino Uno MQ-6
5V VCC
GND GND
A0 AO
D7 DO

Used Library

The MQUnifiedsensor library by Miguel Califa is used.

Please check the installation and usage methods in the library's documentation.

Example Code

This is an example provided by the library.

The LED on the back of the sensor lights up when gas is detected.


Execution Result

You can see the green LED on the back of the sensor lighting up when gas is detected.

On the serial monitor, you can observe the change in the PPM value on the far right caused by lighter gas.