In this video, I demonstrated how to connect or interface MQ2 gas sensor to Arduino and how to use gas sensors with Arduino.MQ2 is a gas sensor it is able to detect CO , Smoke, Hydrogen, LPG, Methane, and Propane. This sensor is specifically used because it measures fast and effectively. By watching this video you can make LPG detector, Smoke detector, and CO detector.
Download Code and Libraries :

How to Connect MQ2 Gas Sensor to Arduino

~ How to connect I2C 16X2 LCD Display for Arduino :
~ Simple Arduino Weather Station :
Get components Here :
Visit Website :
Patreon :
By funding me , I will get some revenue to purchase components.
Follow us on ~~
Facebook :
Instructables :
Google + :
Twitter :

The Gas Sensor(MQ2) module is useful for gas leakage detection (home and industry). It is suitable for detecting H2, LPG, CH4, CO, Alcohol, Smoke or Propane. Due to its high sensitivity and fast response time, measurement can be taken as soon as possible. The sensitivity of the sensor can be adjusted by the potentiometer.
The sensor value only reflects the approximated trend of gas concentration in a permissible error range, it DOES NOT represent the exact gas concentration. The detection of certain components in the air usually requires a more precise and costly instrument, which cannot be done with a single gas sensor. If your project is aimed at obtaining the gas concentration at a very precise level, then we don’t recommend this gas sensor.


Leave a Reply