MQ Gas Sensor Range – Gas and Pollution Detectors
MQ Gas Sensor Detectors have a high sensitivity and fast response time. The sensor’s output is an analog 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. Simple 🙂
All of the MQ gas sensors come in the same footprint, with the same pinout. Because we like to make things easy for you, we’ve designed the gas:bit for microbit, which provides an ultra fast way to play with the whole of the MQ Sensor range. Alternatively it can be connected to an Arduino or Raspberry Pi. We have supplied some Arduino code to help get you started below.
MQ2 – Flammable Gas and Smoke, High Sensitivity for LPG, Propane and Hydrogen Gas Sensor (Datasheet)
MQ3 – Alcohol or Benzine Gas Sensor (Datasheet)
MQ4 – Methane or Compressed Natural Gas Sensor (Datasheet)
MQ6 – LPG (Butane or Propane) Gas Sensor (Datasheet)
MQ8 – Hydrogen Gas Sensor (Datasheet)
MQ9 – Carbon Monoxide and Flammable Gas Sensor (Datasheet)
Connecting five volts across the heating (H) pins keeps the sensor hot enough to function correctly. Connecting five volts at either the A or B pins causes the sensor to emit an analog voltage on the other pins. A resistive load between the output pins and ground sets the sensitivity of the detector. Please note that the picture in the datasheet for the top configuration is wrong. Both configurations have the same pinout consistent with the bottom configuration.The resistive load should be calibrated for your particular application using the equations in the datasheet, but a good starting value for the resistor is 20 kΩ.
Example Basic Arduino Code:
Arduino Alcohol Project Documents:
Please review the datasheets for conversions to ppm then Wikipedia.org for BAC.
If you need further help though you can call our free tech support line. Because Proto-Pic understand that there is no such thing a stupid question!