DIYables DIYables MQ2 Gas Sensor Module for Arduino, ESP32, ESP8266, Raspberry Pi - Smoke, LPG, Methane Detection, Tutorials Provided
Click to zoom




Quick Overview
The DIYables MQ2 is a gas sensor module designed to detect smoke, LPG, methane, and other combustible gases. It is commonly used in safety monitoring systems, home automation, and environmental detection projects.
The sensor provides high sensitivity for reliable gas concentration measurements. It works with Arduino, ESP32, ESP8266, Raspberry Pi, and other microcontrollers, making it a versatile choice for DIY electronics and IoT safety applications.
Key Features
- Multi-Gas Detection — Detects smoke, LPG, methane, and other combustible gases
- High Sensitivity — Reliable and precise gas concentration measurements
- Plug-and-Play — Easy setup with Arduino, ESP32, ESP8266, and Raspberry Pi
- Safety Monitoring — Ideal for home automation and environmental monitoring applications
- Wide Compatibility — Works with various microcontroller platforms
- Presoldered and Not Soldered Options — Provided in presoldered and not soldered versions for selection
- Tutorial Support — Comprehensive tutorials for Arduino, ESP32, ESP8266, Raspberry Pi, and Pico
SPECIFICATION
| Specification | Value |
|---|---|
| Product Type | Gas Sensor Module |
| Model | MQ2 |
| Detectable Gases | Smoke, LPG, Methane, Combustible gases |
| Output Type | Analog and Digital |
| Sensitivity | High |
| Operating Voltage | 5V DC |
| Heating Voltage | 5V DC |
| Detection Concentration | 300-10000ppm |
| Preheat Time | 24-48 hours (for stable readings) |
| Dimensions | 32mm x 20mm (approx.) |
Tutorials
- Arduino - MQ2 Gas Sensor Module
- Arduino UNO R4 - MQ2 Gas Sensor Module
- Arduino Uno Q - MQ2 Gas Sensor Module
- Arduino Nano - MQ2 Gas Sensor Module
- Arduino Nano ESP32 - MQ2 Gas Sensor Module
- Arduino Nano 33 IoT - MQ2 Gas Sensor Module
- Arduino Mega - MQ2 Gas Sensor Module
- Arduino MKR WiFi 1010 - MQ2 Gas Sensor Module
- ESP32 - MQ2 Gas Sensor Module
- ESP32-C3 Super Mini - MQ2 Gas Sensor Module
- ESP32-S3 - MQ2 Gas Sensor Module
- ESP32 MicroPython - MQ2 Gas Sensor Module
- ESP8266 - MQ2 Gas Sensor Module
- Raspberry Pi - MQ2 Gas Sensor Module
- Raspberry Pi Pico - MQ2 Gas Sensor Module
COMPATIBLE HARDWARE
- Arduino boards (UNO, Mega, Nano, etc.)
- ESP32 development boards
- ESP8266 (NodeMCU, Wemos D1, etc.)
- Raspberry Pi (all models)
- Raspberry Pi Pico
- Any microcontroller with analog input capability









