Introduction

The MQ7 is a simple-to-use Carbon Monoxide (CO) sensor suitable for sensing CO concentrations in the air. It can detect CO-gas concentrations anywhere from 20 to 2000ppm. The sensitivity can be adjusted by the potentiometer.

Specification

Pin Definition

  1. Signal Output
  2. Power
  3. GND

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

<File:nextredirectltr.png>Go Shopping Carbon Monoxide Gas Sensor(MQ7) (SKU:DFR0132)

Category: DFRobot > Sensors & Modules > Sensors > Air Sensors

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