top of page
Featured Posts
Check back soon
Once posts are published, you’ll see them here.
Recent Posts

MQ-6 GAS Sensor Interfacing with Arduino UNO

  • Writer: deepak kumar
    deepak kumar
  • Aug 9, 2017
  • 1 min read

Description: This is a simple-to-use liquefied petroleum gas (LPG) sensor, suitable for sensing LPG (composed of mostly propane and butane) concentrations in the air. The MQ-6 can detect gas concentrations anywhere from 200 to 10000ppm.

This sensor has a high sensitivity and fast response time. The sensor’s output is an analogy resistance. The drive circuit is very simple; all you need to do is power the heater coil with 5V, add a load resistance, and connect the output to an ADC.

LPG Gas Sensor (MQ6) Features:

High Sensitivity to LPG, iso-butane, propane

Small sensitivity to alcohol, smoke

Detection Range: 100 - 10,000 ppm iso-butane propane

Fast Response Time: <10s

Simple drive circuit

Heater Voltage: 5.0V

Dimensions:

18mm Diameter

17mm High excluding pins

Pins - 6mm High

Applications:

Gas leak detection system

Fire/Safety detection system

Gas leak alarm

Gas detector

Instructions: The above fig is the basic test circuit of MQ-6.The sensor requires two voltage inputs: heater voltage (VH) and circuit voltage(VC). VH is used to supply standard working temperature to the sensor and it can adopt DC or AC power, while VRL is the voltage of load resistance RL which is in series with sensor. Vc supplies the detect voltage to load resistance RL and it should adopts DC power.

coding:

CODEING:

int potPin = A4;

int potValue = 0;

int buzzer = 0;

void setup()

{

pinMode(6, OUTPUT);

}

void loop()

{

potValue = analogRead(potPin);

if (potValue>200)

{

digitalWrite(6,HIGH);

delay(1000);

}

else

{

digitalWrite(6,LOW);

delay(1000);

}

}

 
 
 

Comments


bottom of page