MQ Gas Sensors

MQ gas sensors manufactured by Parallax Inc are inexpensive and provide the capability to measure concentrations of LPG (propane), CO (carbon monoxide), alcohol, and methane.   They require a low voltage regulated input (5V or less) and they consume about 150 mA of current due to the heater that is part of the sensor circuit.  

You must burn-in the sensor for 12 to 24 hours to achieve more consistent sensor output.   The burn-in eliminates any remaining moisture or contamination from the manufacturing process.   The sensor operates by the gas coming in contact with a doped ceramic coating (which the heater is embedded in).

The analog output from the sensor is a variable voltage measured across a load resistor.   The tricky part is that the relationship between the sensor output to the concentration of the gas being measured as provided by the datasheet is relative to a standard temperature of 20 C and 65% relative humidity. Information on the sensitivity of the sensor at two other ambient conditions is provided, but it is left up to the user to decide how to make the corrections. The alternative is to calibrate the sensor in a known environment (ppm of the gas in question).  

For the sensors I have worked with, I have done the calculations to derive corrections for the output from the sensor for ambient conditions between -10 C and +50 C and 33% to 85% relative humidity.   Furthermore, I have taken the approach of calibrating the sensors in clean air during the startup of the microcontroller.  

Several electronics suppliers provide breakout boards to make it easy to connect to the MQ line of gas sensors.   I use the Sparkfun Gas Sensor Breakout Board, item #8891. https://www.sparkfun.com/products/8891

Sparkfun MQ gas sensor breakout board

 


Do you need help developing or customizing a IoT product for your needs?   Send me an email requesting a free one hour phone / web share consultation.  

 

The information presented on this website is for the author's use only.   Use of this information by anyone other than the author is offered as guidelines and non-professional advice only.   No liability is assumed by the author or this web site.  

Sensors

Sensor Calibration

Sensitivity, Resolution, Response Time, etc.

50000 PPM (5%) CO2 Sensors

MQ Gas Sensors

MQ Gas Sensors

MQ-6 LPG Gas Sensor

MQ-6 LPG Gas Sensor

MQ-7 carbon monoxide CO Gas Sensor

MQ-7 Carbon Monoxide Gas Sensor

Sensor to microcontroller / data acquisition device cables

Accelerometers

IMU / Gyroscope

Magnetometer

Audio

Thermocouple

AF Sensirion SHT40 Temperature & Humidity Sensor

Motion Sensors

object detection sensors

Object Detection Sensors

Strain Gauge

Color

Pressure

Liquid Flow Meter

Operational Amplifiers

Components

Tools

Basic Components

Suppliers

VAC

XBee I/O Line Passing

xBee wireless communication modules with Arduino

xBee wireless communication modules + Arduino

I2C bus / SPI / 1-Wire

UART TTL Serial RS-232

LoRa Communications

Triac

Light Emitting Diode (LED)

NeoPixels

4-20 mA Current Loops

Human Health & Electrical Power

HMI

imgAlt

Mobile Apps

Hall Effect Sensor

NTC Thermistor

Amplify an Analog Signal

Offset a input signal

Electric Motors

Laptop 12V Power Supply

MCP2515 CAN Bus Module

TJA1050 CAN Bus Module

1.2" 4-Digit 7-Segment LED Display

Batteries

2022 Character Display Comparison

Logic Level Converter

Circuit Protection

Diodes

PMOS / P-Channel MOSFET

Logic Level NMOS / N-Channel MOSFET

Voltage Measurement

Analog to Digital Conversion (ADC)

Variable output VDC

Turn On/Off Noisy DC Device

ADC Analog Input