Skip to content

Analog_Gas_Sensor(MQ2)_(SKU_SEN0127)

Angelo edited this page Sep 21, 2016 · 3 revisions

Introduction

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 has a high sensitivity and fast response time.And the sensitivity can be adjusted by the potentiometer.

Specification

  • Power supply needs: 5V
  • Interface type: Analog
  • Pin Definition: 1-Output 2-GND 3-VCC
  • Wide detecting scope
  • Fast response and High sensitivity
  • Simple drive circuit
  • Stable and long life
  • Size: 40x20mm

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);
}

image:nextredirectltr.pngGo shopping analog gas sensor(mq2) (sku:dfr0127)

category: Product Manual category: DFR Series category: Sensors category:source category:Diagram

Clone this wiki locally