Hydrogen_Gas_Sensor_MQ8___SKU_SEN0133_-DFRobot

Introduction

This is a simple-to-use hydrogen gas sensor.They are used in gas leakage detecting equipments in home and industry applications. Avoid the noise of alcohol, cooking fumes, LPG,CO. The sensitivity can be adjusted by the potentiometer.

Specification

Pin Definition

  1. Signal Output
  2. GND
  3. Power

Analog Sensor Pin Definition

Connection Diagram

Analog sensor connection diagram

Sample Code


///Arduino Sample Code
void setup()
{
  Serial.begin(9600); //Set serial baud rate to 9600 bps
}
void loop()
{
int val;
val=analogRead(0);Read Gas value from analog 0
Serial.println(val,DEC);//Print the value to serial port
delay(100);
}

More Documents

FAQ

For any questions, advice or cool ideas to share, please visit the DFRobot Forum.