37. MQ2 Analog Gas Sensor Brick¶
The analog gas sensor - MQ2 is used in gas leakage detecting equipments in consumer and industry markets, this sensor is suitable for detecting LPG, i-butane, propane, methane ,alcohol, hydrogen, smoke. It is of high sensitivity and fast response, the sensitivity can be adjusted by the potentiometer.
Standard 3-pin GVS port is easy to plug.
|Pins Definition||S-Sigal V-VCC G-GND|
37.4. Outlook and Dimension¶
37.5. Quick to Start¶
Materials required and connections diagram¶
Connect to P1 port as the picture shows.
Take sensor:bit for example
Program as the picture shows¶
You can also download it directly below:---
Preheat it for 10 minutes after connections, detect the smoke by approaching the probes to the smoke while the returned value is almost stable.
With the change of the smoke, the returned value gets bigger with the growing of the smoke concentration.