KIT INCLUDES:
- Mq8 gas sensor - 1
- Arduino uno with USB Cable -1
- Jumper wires(male to female)-40 pieces
- 9v Battery with DC jack(if you want to use externally after uploading the code) - 1
HARDWARE REQUIRED
- Mq8 gas sensor - 1
- Arduino UNO with USB Cable -1
- Jumper wires(male to female)-40 pieces
- 9v Battery with DC jack(if you want to use externally after uploading the code) - 1
SOFTWARE REQUIRED
Arduino IDE 1.8.5 (programmable platform for Arduino)
Click To Download:https://www.arduino.cc/en/Main/Software
SPECIFICATIONS
MQ-8 GAS SENSOR MODULE
The MQ-8 Gas Sensor module is useful for gas leakage detection. They are used in gas leakage detecting equipment’s in-home and industry, are suitable for detecting Hydrogen.Due to its high sensitivity and response time, measurements can be taken as soon as possible. Try and avoid alcohol, LPG, cooking fumes as the sensor has slight sensitivity to these substances and this may affect the results
- High sensitivity to Hydrogen
- Small sensitivity to alcohol, LPG, cooking fumes
- Fast response.
- Stable and long life
- Simple drive circuit
PIN DESCRIPTION
MQ-8 GAS SENSOR MODULE
CIRCUIT CONNECTION
Gas Sensor |
Arduino uno |
VCC |
5v |
GND |
GND |
AO |
Analog pin 0 |
DO |
Not connected |
CODE
void setup()
{
Serial.begin(9600);
}
void loop()
{
float sensorVoltage;
float sensorValue;
sensorValue = analogRead(A0);
sensorVoltage = sensorValue/1024*5.0;
Serial.print("sensor voltage = ");
Serial.print(sensorVoltage);
Serial.println(" V");
delay(2000);
}
WORKING
After uploading the code, you will see the serial monitor reading. It took about 3 minutes for the readings to stabilize. Remember it consists of a heating element, so you effectively have to let the sensor 'heat up'.