Carbon Monoxide Sensor - MQ-7: Difference between revisions
Jump to navigation
Jump to search
| Line 15: | Line 15: | ||
==Specification== | ==Specification== | ||
[http://www.geeetech.com/Documents/MQ-7%20Datasheet | [http://www.geeetech.com/Documents/MQ-7%20Datasheet.pdf MQ-7 datasheet] | ||
==Usage== | ==Usage== | ||
Revision as of 07:47, 10 May 2012
Introduction
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
Usage
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



