Product categories

Have You Seen

B0505S-1WR3 MORNSUN Isolated DC - DC Converter

B0505S-1WR3 MORNSUN Isolated DC - DC Converter

Mornsun B0505S-1WR3 DC-DC Isolated ConverterMORNSUN B0505S 1WR3 1 watt, 5 Volts Isolated DC to DC Po..

Rs.106.20 (inc GST)
Rs.90.00 + GST

SKU: 2969 | DAE663
Stock: 22
XL1509-Adj E1 Buck DC to DC Converter IC (SOP8L Package)

XL1509-Adj E1 Buck DC to DC Converter IC (SOP8L Package)

XL1509-Adj E1 Buck DC to DC Converter IC (SOP8L Package)XL1509-Adj E1 Buck DC to DC Converter IC, Ad..

Rs.25.96 (inc GST)
Rs.22.00 + GST

SKU: 3657 | DAF397
Stock: 485

GAS Sensor Basics

Introduction to GAS Sensors

A GAS sensor or a GAS Detector is a type of chemical sensor which detects/measures the concentration of gas in its vicinity. Gas sensor interacts with a gas to measure in concentration. They are used in various industries ranging from medicine to aerospace. Various technologies are used to measure Gas concentration such as semiconductors, oxidation, catalytic, infrared, etc. The most common types are as follows

  1. Metal Oxide Based GAS Sensor.
  2. Capacitance Based GAS Sensor.
  3. Acoustic Based GAS Sensor.
  4. Calorimetric GAS Sensor.
  5. Optical GAS Sensor.
  6. Electrochemical GAS Sensor.

Over here we will focus on the most commonly available GAS sensor which is Metal Oxide Gas Sensor or  Metal Oxide Semiconductor (MOS) also called as "Chemiresistors". The detection is based upon change of resistance of the sensing material when the Gas comes in contact with the material. These Metal Oxide Gas Sensor are extensively used in industry because of their low cost, flexibility in production; simplicity of their use; large number of detectable gases/possible application fields.

Various gas sensors are available in the market but the most commonly available series is the "MQ Series". Various gasses like, LPG, Carbon Monoxide (CO), Methane, Smoke, Alcohol, etc can be monitored using these sensors. A good thing about these series is that all are 6 pin sensors with same footprint, same interfacing circuit and are easily available at low cost. 

As you can see in the above diagram the MQ series of gas sensors use a small heater inside with an electro-chemical sensor. They are sensitive for a range of gasses.

The preferred wiring is to connect both 'A' pins together and both 'B' pins together. It is safer and it is assumed that is has more reliable output results. Although many schematics and datasheets show otherwise, you are advised to connect both 'A' pins together and connect both 'B' pins together. In the picture, the heater is for +5V and is connected to both 'A' pins. This is only possible if the heater needs a fixed +5V voltage. 

The variable resistor in the picture is the load-resistor and it can be used to determine a good value. A fixed resistor for the load-resistor is used in most cases. The sensor needs a load-resistor at the output to ground. Its value could be from 2kΩ to 47kΩ. Lower the value, the less sensitive. Higher the value less accurate for higher concentrations of gas. 

If only one specific gas is measured, the load-resistor can be calibrated by applying a know concentration of that gas. If the sensor is used to measure any gas (like in air quality detector) the load-resistor could be set for a value of about 1V output with clean air. 

Choosing a good value for the load-resistor is only valid after the burn-in time. 


Some datasheets use the term "preheat", but it is the time to burn-in the sensor. This is meant to make the sensor readings more consistent. A time of 12 or 48 hours is usually used for the burn-in time. 

The Burn-in is achieved by applying normal power to the sensor (to the heater and with the 'A' and 'B' pins connected, and with a load-resistor). In some special cases a specific burn-in is needed. See the datasheet if the sensor needs such a specific burn-in. 

Interfacing Circuit 

Since the output of the gas sensors is resistive a resistor has to be connected between the output pin and ground as shown in the adjoining circuit. As you can see no other component is required. There is no specific value for the load resistor. Its value could be from 2kΩ to 47kΩ. Lower the value, the less sensitive. Higher the value less accurate for higher concentrations of gas. This output voltage can directly be given to any ADC or any comparator circuit and accordingly the gas value can be calculated using a lookup table. These sensors can be easily directly connected to micro controllers with internal ADC or with Arduino. 

List of MQ Series GAS Sensors

Sensitive for Methane, Butane, LPG, smoke.This sensor is sensitive to flammable and combustible gasses.
Sensitive to Alcohol, Ethanol, smoke 
  • MQ4  Gas Sensor
Sensitive to Methane and CNG/Natural Gas.
Sensitive to Natural gas and LPG.
Sensitive to LPG, Natural Gas, coal gas and butane
Sensitive for Carbon Monoxide 
  • MQ8 Gas Sensor
Sensitive for Hydrogen Gas 
  • MQ9 Gas Sensor
Sensitive for Carbon Monoxide, flammable gasses. 
  • MQ131 Gas Sensor
Sensitive to Ozone 
  • MQ135 Gas Sensor
For Air Quality. Sensitive to Benzene, Ammonia, Alcohol and smoke. 
  • MQ136 Gas Sensor
Sensitive to Hydrogen Sulfide gas. 
  • MQ137 Gas Sensor
Sensitive to Ammonia. 
  • MQ138 Gas Sensor
Sensitive to Benzene, Toluene, Alcohol, Acetone, Propane, Formaldehyde gas and Hydrogen gas.


  • Process control industries
  • Environmental monitoring
  • Boiler control 
  • Fire detection 
  • Alcohol breath tests 
  • Detection of harmful gases in mines 
  • Home safety
  • Grading of agro-products like coffee and spices


  • High sensitivity
  • Fast response
  • Wide detection range
  • Stable performance and long life
  • Simple drive circuit

Written by Amol Shah

Amol Shah

Founder of DNA Technology an Electronic Engineer by choice. Started working on this website as an Hobby and now its a full time venture. Very passionate about Electronics and like to learn new stuff. Want to make DNA Technology one of the best Online Store for Electronics Components in India.
Follow Me Twitter | Facebook | Google Plus | Instagram