Difference between revisions of "Carbon Monoxide Sensor - MQ-7"

From Geeetech Wiki
Jump to: navigation, search
(Usage)
(Usage)
Line 18: Line 18:
  
 
==Usage==
 
==Usage==
[[File:MQ-4 pic.jpg]]
+
[[File:MQ-7 wiring.jpg]]
  
[[MQ-7 wiring.jpg]]
 
  
 
  VCC - 5V
 
  VCC - 5V

Revision as of 07:47, 10 May 2012

Introduction

MQ11.jpg

MQ-7.jpg

This is a simple-to-use Carbon Monoxide (CO) sensor, suitable for sensing CO concentrations in the air. The MQ-7 can detect CO-gas concentrations anywhere from 20 to 2000ppm.

Features

  • High sensitivity to CH4,Natural gas
  • Small sensitivity to alcohol, smoke
  • Fast response
  • Stable and long life
  • Simple drive circuit

Specification

MQ-7 datasheet

Usage

MQ-7 wiring.jpg


VCC - 5V
GND - GND
S   - Analog pin0

Example code

int sensorValue;
void setup()
{
 Serial.begin(9600);      // sets the serial port to 9600
}
void loop()
{
 sensorValue = analogRead(0);       // read analog input pin 0
 Serial.println(sensorValue, DEC);  // prints the value read
 delay(100);                        // wait 100ms for next reading
}

How to buy it

Click here to buy Gas Sensor - MQ-6