MQ-2 gas sensor is a gas sensor that can detect flammable and cigarette smoke in the environment. It gives an analog output according to the gas density in the environment. Smoke detection range is 300 – 10000 ppm.
There are A,B,H pins on the sensor. The sensor can be operated by applying the connection diagram below. Sensitivity can be changed by changing the connected resistor value.
MQ-2 Connection Diagram