> For the complete documentation index, see [llms.txt](https://learn.pakronics.com.au/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.pakronics.com.au/seed-studio/grove-modules/sensors/grove-gas_sensor.md).

# Grove Gas Sensor

![](https://raw.githubusercontent.com/SeeedDocument/Grove-Gas_Sensor/master/img/Twig-Gas_Sensor.bmp)

The Grove - Gas Sensor module is useful for gas leakage detecting(in home and industry). It can detect LPG, i-butane, methane, alcohol, Hydrogen, smoke and so on. Measurements can be taken as soon as possible based on its fast response time. Also the sensitivity can be adjusted by the potentiometer.

Each Grove - Gas Sensor Kit consists of one gas sensor base and four detectors. You can switch the detector on the base according to specific target gases.

* [Grove - Gas Sensor(MQ2)](https://app.gitbook.com/Grove-Gas_Sensor-MQ2)：Combustible Gas, Smoke
* [Grove - Gas Sensor(MQ3)](https://app.gitbook.com/Grove-Gas_Sensor-MQ3)：Alcohol Vapor
* [Grove - Gas Sensor(MQ5)](https://app.gitbook.com/Grove-Gas_Sensor-MQ5)：LPG, Natural Gas, Town Gas
* [Grove - Gas Sensor(MQ9)](https://app.gitbook.com/Grove-Gas_Sensor-MQ9)：Carbon Monoxide, Coal Gas, Liquefied Gas

## Specification

* Working Voltage: 4.9-5.1V
* Heating consumption: 0.5-800mW
* Load resistance: can adjust
* Heater resistance: 33Ω
* Sensing Resistance: 3-30kΩ
* Working Temperature: -25\~70 ℃

!!!Tip More details about Grove modules please refer to [Grove System](http://wiki.seeed.cc/Grove_System/)

## Getting Started

Connect the module with Grove Shield using A0 like following picture and use the program below to gain the voltage. The higher the concentration of the gas is, the bigger the output voltage of the SIG pin gets. Sensitivity can be regulated by rotating the potentiometer. Please note that the best preheat time of the sensor is about 24 hours. For the detailed information about the sensor, please refer to the datasheet.

![](https://raw.githubusercontent.com/SeeedDocument/Grove-Gas_Sensor/master/img/Read_Gas_Sensor_data.jpg)

## Resources

* [MQ-2 Datasheet](https://raw.githubusercontent.com/SeeedDocument/Grove-Gas_Sensor/master/res/MQ-2.pdf)
* [MQ-3 Datasheet](https://raw.githubusercontent.com/SeeedDocument/Grove-Gas_Sensor/master/res/MQ-3.pdf)
* [MQ-5 Datasheet](https://raw.githubusercontent.com/SeeedDocument/Grove-Gas_Sensor/master/res/MQ-5.pdf)
* [MQ-9 Datasheet](https://raw.githubusercontent.com/SeeedDocument/Grove-Gas_Sensor/master/res/MQ-9.pdf)
* [Demo code on github](https://github.com/Seeed-Studio/Grove_Gas_Sensor)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://learn.pakronics.com.au/seed-studio/grove-modules/sensors/grove-gas_sensor.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
