Component guide · Advanced · 3 min read
Electrochemical Gas Sensors

CO, O2, NH3, H2S and Toxic Gas Modules
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
Electrochemical sensors measure one specific toxic gas, such as carbon monoxide, ammonia, hydrogen sulphide or oxygen, with much better selectivity than MQ sensors. Modules give UART, analog voltage or RS485 output. They last about two years, need warm-up and calibration, and must not be treated as a certified safety alarm unless the product is approved for that.
Key specs at a glance
- Target gases
- CO, O2, NH3, H2S, SO2, NO2, Cl2, HF and others, one gas per sensor
- Principle
- Gas reacts at an electrode and produces a current proportional to concentration
- Output
- Analog voltage, UART or RS485 Modbus on modules
- Life
- Typically 2 years or more, shorter in harsh gas
- Warm-up
- From seconds to minutes; follow the data sheet
- Calibration
- Zero in clean air and span with a known gas
Electrochemical vs MQ vs NDIR
Gas sensors use very different technologies. Pick the one that matches the gas and the accuracy you need.
| Type | Good for | Selectivity | Notes |
|---|---|---|---|
| Electrochemical | CO, H2S, NH3, SO2, NO2, O2 | High for the target gas | Limited life; temperature and humidity affect readings |
| Semiconductor (MQ) | Combustible gas, rough air quality | Low; responds to many gases | Cheap, needs warm-up; see MQ sensors |
| NDIR | CO2 and hydrocarbons | High | See CO2 sensors |
| Photoionisation (PID) | VOC total | Broad | Expensive; industrial |
- Electrochemical
- Good for:
- CO, H2S, NH3, SO2, NO2, O2
- Selectivity:
- High for the target gas
- Notes:
- Limited life; temperature and humidity affect readings
- Semiconductor (MQ)
- Good for:
- Combustible gas, rough air quality
- Selectivity:
- Low; responds to many gases
- Notes:
- Cheap, needs warm-up; see MQ sensors
- NDIR
- Good for:
- CO2 and hydrocarbons
- Selectivity:
- High
- Notes:
- See CO2 sensors
- Photoionisation (PID)
- Good for:
- VOC total
- Selectivity:
- Broad
- Notes:
- Expensive; industrial
Reading a module
Most hobby and industrial modules include a signal board. Choose the output that suits your controller: analog voltage to an ADC, UART for a microcontroller, or RS485 Modbus for long cables (Modbus guide). Always check the full-scale range, because a CO sensor sold as 0 to 1000 ppm will saturate above that. Oxygen sensors are special: normal air reads about 20.9 % and the reading falls as oxygen is displaced.
Warm-up, calibration and life
Let the sensor stabilise in clean air for the time in the data sheet. Zero the reading in clean air and, if the project needs accuracy, calibrate with a span gas of known concentration. Electrochemical cells slowly lose sensitivity, so schedule a calibration check. Keep the sensor away from solvent and silicone vapours, which can poison it, and avoid condensing humidity or temperature extremes.
Safety limits
Hobby modules are fine for learning, monitoring and experiments, but a life-safety alarm for CO, H2S or oxygen deficiency must use a certified detector with a tested alarm. Place sensors where the gas gathers: CO mixes with air at head height, ammonia rises, H2S sinks. Ventilate before entering any enclosed space where gas may be present.
Try it: Adc resolution calculator
Change the values and the diagram and results update as you type.
Common mistakes to avoid
- Using a cheap module as the only CO alarm in a home or workplace.
- Choosing a range far larger than the gas level of interest.
- Skipping warm-up and zero calibration.
- Storing the sensor in a sealed bag with solvents.
- Ignoring cross-sensitivity, such as hydrogen on CO sensors.
Frequently asked questions
How long does an electrochemical sensor last?
Typically about two years, depending on gas exposure. Replace it when sensitivity drops.
Can I use an MQ-7 instead of a CO sensor?
It responds to CO but also to other gases and needs a heater cycle. An electrochemical CO sensor is more selective.
Why does the reading drift with temperature?
The cell's chemistry changes with temperature. Better modules compensate; others need correction.
Which output should I choose?
UART or RS485 give digital values and are easier to log. Analog voltage is simple but needs a clean ADC.
Is the oxygen reading 20.9 % in air?
Yes. Dry air contains about 20.9 % oxygen, so use that as a calibration point.
Parts for this guide
Calculators
Terms in this guide
Keep learning
Sources
- Winsen electrochemical gas sensor data sheets
- Manufacturer application notes on electrochemical cells
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.




