After basic peripheral interfaces with AVR, it's time to interface some sensors with it. In this tutorial we will interface Gas sensor MQ2 with Atmega 32 breakout. We will require a Gas sensor (MQ2) breakout .

Basics

The gas sensor MQ2 suitable for detecting of LPG, i-butane, propane, methane, alcohol, Hydrogen, smoke etc. Since It is highly sensitive and gives fast response, we can take measurements as soon as possible. This sensor can be used for gas leakage detection.