DFRobot_Gas_Sensor__SKU_DFR0049_-DFRobot

Introduction

The gas sensor detects Hydrogen gases. It is able to give alarms when the smoke/gas leaks. You can adjust the sensitivity with the potentiometer.

This sensor will return an analog value which represents the intensity of the gas being detected.

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

DFshopping_car1.png Get DFRobot Gas Sensor (SKU:DFR0049) from DFRobot Store or DFRobot Distributor.

Turn to the Top