> **Source:** Core Electronics is an Australian maker-electronics retailer and manufacturer based in Newcastle, NSW, run by a team of makers and educators. We design and manufacture our own product lines (PiicoDev, CE originals) and are official retailers for iconic maker and industrial brands including Raspberry Pi, Arduino, Adafruit, SparkFun and DFRobot. Orders ship Australia-wide from our Newcastle warehouse. Prices are in AUD and include GST. Pricing, stock and dispatch on this page are generated from the store's live catalog. Full machine-readable index: https://core-electronics.com.au/llms.txt

# Flammable Gas & Smoke Sensor MQ-2

**Type:** Product page · **SKU:** POLOLU-1480 · **Brand:** [Pololu](https://core-electronics.com.au/brands/pololu-australia)
**Page:** https://core-electronics.com.au/flammable-gas-smoke-sensor-mq-2.html ([markdown](https://core-electronics.com.au/flammable-gas-smoke-sensor-mq-2.html.md))

## Retired product

This product is retired and no longer available for purchase. Replaced by: SEN0127.

**Replacement:** https://core-electronics.com.au/catalog/product/view/sku/SEN0127

## How to buy

- **Search the catalogue:** `https://core-electronics.com.au/search/{query}.md` (URL-encode the query; pages 2-3 at `search/{query}/{page}.md`; `search.md?q=` also works)
- **Payment methods, purchase orders, policies and contact details:** https://core-electronics.com.au/llms.txt
## Description

| [![](https://core-electronics.com.au/media/remote_images/0J2095.250_xI2FCR.jpg%3Ff12f5323cc57d612b0067737fbd33e19)![](https://core-electronics.com.au/media/remote_images/zoom-d0cfc0fffa825c4654893ef42b77cee3_gz3xBh.png)](https://core-electronics.com.au/#) |
|---|

## Overview

This flammable gas and smoke sensor detects the concentrations of combustible gas in the air and ouputs its reading as an analog voltage. The sensor can measure concentrations of flammable gas of 300 to 10,000 ppm.The sensor can operate at temperatures from -20 to 50°C and consumes less than 150 mA at 5 V. Please read the MQ2 datasheet (184k pdf) for more information about the sensor.

| [![](https://core-electronics.com.au/media/remote_images/0J2093.250_ylBbg0.jpg%3Fd37784bec6071a9e2994e9c38f3a5d55)![](https://core-electronics.com.au/media/remote_images/zoom-d0cfc0fffa825c4654893ef42b77cee3_gz3xBh.png)](https://core-electronics.com.au/#) |
|---|
| Gas sensor with metal case bottom view. |

## Connections

Connecting five volts across the heating (H) pins keeps the sensor hot enough to function correctly. Connecting five volts at either the A or B pins causes the sensor to emit an analog voltage on the other pins. A resistive load between the output pins and ground sets the sensitivity of the detector. Please note that the picture in the datasheet for the top configuration is wrong. Both configurations have the same pinout consistent with the bottom configuration.The resistive load should be calibrated for your particular application using the equations in the datasheet, but a good starting value for the resistor is 20 kΩ.

Pololu offer two breakout boards that make it easier to interface with these sensors: a [Pololu carrier board](https://core-electronics.com.au/pololu-carrier-for-mq-gas-sensors-bare-pcb-only.html) and a [SparkFun carrier board](https://core-electronics.com.au/sparkfun-carrier-for-mq-gas-sensors-bare-pcb-only.html). The Pololu version is shown below.

 | \| [![](https://core-electronics.com.au/media/remote_images/0J2254.400_4pv7Ec.jpg%3Fbfece8ab31f247b19d1e279394beceef)![](https://core-electronics.com.au/media/remote_images/zoom-d0cfc0fffa825c4654893ef42b77cee3_gz3xBh.png)](https://core-electronics.com.au/#) \| \|---\| \| Pololu MQ gas sensor carrier with sensitivity-setting resistor soldered in the vertical orientation. \| |
|---|

## Images

- [Product image 1](https://core-electronics.com.au/media/catalog/product/f/l/flammable_gas_smoke_sensor_mq_2__pololu_1480__00.jpg)
