Description
The AZ Delivery MQ-2 gas sensor as a ready-to-connect module for Raspberry Pi
Easy to use sensor for measuring the concentration of LPG, i-butane, propane, methane, alcohol, hydrogen and smoke in the air . The MQ-2 measures gas concentration from 100 to 10000ppm and is ideal for detecting a gas leak, as a gas alarm or for other robotics and microcontroller projects.
The MQ series sensors use a small heating element with an electronic chemical sensor. They are sensitive to a wide range of gases and are suitable for indoor use.
The sensor has high sensitivity and fast response time, but it takes a few minutes to output accurate readings because the sensor has to heat up first. The measured values of the sensor are output as an analog value, which can be easily evaluated with a microcontroller.
This sensor is ready for connection to a microcontroller, such as an Arduino board. For use with a Raspberry Pi, an AD converter is also required.
Pinout:
- VCC - power supply 5V
- GND - Ground connection
- AOUT - Analog Output
- DOUT - Digital Output
For setting the threshold value the module has a potentiometer. At the digital pin the sensor only outputs a 0 or 1, depending on whether the set threshold value is exceeded.
Caution: The sensor gets warm during operation!
For testing you can find an example sketch in the download section. Just upload it to an Arduino board and release some gas near the sensor with a lighter.