Gas detection module MQ-3 (Methane Sensor Module)
Description:
Package Included:
1 x Gas Sensor Module
Pin Connection mode:
1. VCC: Positive (5 v)
2. GND: Connect power negative
3. DO: TTL switch signal output
4. AO: Analog signal output
Package Included:
Arduino exsample code
/* Testing MQ-sensors GAS sensor with serial monitor
Suitable for detecting of LPG, i-butane, propane, methane ,alcohol, Hydrogen or smoke
More info: http://www.ardumotive.com/how-to-use-mq2-gas-sensor-en.html
Dev: Michalis Vasilakis // Date: 11/6/2015 // www.ardumotive.com */
const int gasPin = A0; //GAS sensor output pin to Arduino analog A0 pin
void setup()
{
Serial.begin(9600); //Initialize serial port - 9600 bps
}
void loop()
{
Serial.println(analogRead(gasPin));
delay(1000); // Print value every 1 sec.
}