Learn electronics, coding, and projects — step by step.

Gorillacell Module 053: MQ2 Gas Sensor

Table of Contents

MQ Gas Sensor belongs to a family of gas sensors designed to detect different types of gases. These sensors are based on Metal Oxide Semiconductor (MOS) technology, where the sensor’s material changes its resistance in response to the concentration of a specific gas. Because of this behavior, MQ sensors are also known as chemiresistors. By applying the voltage divider principle, the presence and approximate concentration of a gas can be determined.

The Gorillacell ESP32 Development Kit comes with one (1) MQ-2 Gas Sensor module. The MQ-2 sensor can detect Liquefied Petroleum Gas (LPG), Methane, Smoke, and Hydrogen, making it suitable for gas leakage detection and air quality monitoring applications.

BASIC INFORMATION

Device Category Interface Chipset Description
Input Sensor Cell Analog - -

PINOUT

It has 3 pins which are

  1. G - for the ground pin,
  2. V - for the supply voltage, and
  3. S - for determining the analog value of the MQ2 Gas Sensor module.

An Analog to Digital Converter (ADC) peripheral will be used in order to determine the MQ2 Gas Sensor value.

×



Related Articles: (by Series)