MQ2 Gas Sensor for Arduino/Raspberry Pi
The MQ2 Gas Sensor for Arduino/Raspberry Pi is a reliable gas detection module ideal for Arduino and Raspberry Pi projects. It detects LPG, propane, methane, hydrogen, smoke, and other combustible gases with both analog and digital outputs.
Key Features
- Wide gas detection range covering LPG, propane, methane, hydrogen, smoke
- Dual output – analog and digital for flexible interfacing
- Adjustable sensitivity via onboard potentiometer
- Fast response time for rapid gas detection
- Long lifespan with stable performance
- 5V operation compatible with all microcontrollers
- Digital comparator with adjustable threshold
Technical Specifications
| Parameter |
Specification |
| Model |
MQ2 |
| Operating Voltage |
5V DC |
| Output Type |
Analog + Digital |
| Detectable Gases |
LPG, Propane, Methane, H2, Smoke |
| Detection Range |
300-10000 ppm |
| Preheat Time |
20 seconds (first use: 24-48 hours) |
| Operating Temp |
-10°C to +50°C |
| Power Consumption |
< 800mW |
Applications
- Gas leak detection systems for homes and industry
- Smoke detectors and fire alarm systems
- Air quality monitoring stations
- Industrial safety systems and warnings
- Home automation ventilation control
- Environmental monitoring projects
Pinout
- VCC: 5V Power supply
- GND: Ground
- A0: Analog output (0-5V proportional to concentration)
- D0: Digital output (HIGH when gas detected above threshold)
Important Notes
- Requires 20-48 hours initial burn-in for accurate readings
- Sensitive to temperature and humidity changes
- For indoor use in well-ventilated environments
- Calibrate in clean air before deployment
- Not suitable for precise quantitative measurement