Print Friendly, PDF & Email

What is a MQ5 sensor?

The Grove – Gas Sensor (MQ5) module is useful for gas leakage detection (in home and industry). It is suitable for detecting H2, LPG, CH4, CO, Alcohol. Due to its high sensitivity and fast response time, measurements can be taken as soon as possible.

And, how does it work?

The MQ series of gas sensors use a small heater inside with an electro-chemical sensor. They are sensitive for a range of gasses and are used indoors at room temperature.

They can be calibrated more or less (see the section about “Load-resistor” and “Burn-in”) but a known concentration of the measured gas or gasses is needed for that.

So, Here we are just going to interface the sensor and observe that the output is always 1 till a gas leak occurs upon which it becomes 0.

Components Required

Arduino Uno – Buy

MQ-5 Gas sensor module

Jumper Wires

USB cable – Buy

Circuit Diagram

gaspng

Schematic:

Wire up and upload the given code below, open the serial monitor once done to observe how this sensor works! (You can use a normal Cigar or a deodorant to fake a gas leak)