Component guide · Intermediate · 4 min read
TVOC Sensors

Asair AGS10, AGS02MA, AGS10ET, Winsen ZE40, Waveshare TVOC, SGX MICS-VZ-89TE and Mikroe Air Quality 2
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
TVOC sensors report total volatile organic compounds, the mix of gases from paint, cleaning products, cooking and people. The Asair AGS10 and AGS02MA are calibrated MEMS sensors that report TVOC in ppb over I2C at address 0x1A. The AGS10ET reads alcohol. Winsen ZE40 and the Waveshare module use UART, and the MICS-VZ-89TE and iAQ-Core estimate CO2-equivalent too.
Key specs at a glance
- Supply
- 3.3 to 5 V (AGS10 3.0 to 5.5 V)
- Interface
- I2C 0x1A (AGS10, AGS02MA), UART (ZE40, Waveshare), I2C (MICS-VZ-89TE, iAQ-Core)
- Range
- About 0 to 99,999 ppb TVOC
- I2C speed
- 15 kHz or lower for AGS02MA, under 15 to 30 kHz advised
- Warm-up
- About 2 minutes
- Output
- TVOC ppb; some add eCO2
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
Option 1Asair AGS10 TVOC Gas Sensor Module – MEMS Semiconductor, Digital Output₹125
Option 2Asair AGS02MA MEMS TVOC Gas Sensor Module – Digital I2C Output₹180
Option 3Asair AGS10ET Alcohol Sensor Module – Digital MEMS Ethanol Gas Sensor₹140
Option 4Waveshare TVOC Gas Sensor Module – UART Interface, 0.1-100ppm Range, 5V DC₹999
Option 5Winsen ZE40-TVOC Air-Quality Detection Module – UART & Analog Voltage Output₹1,449
Option 6Winsen ZE40B-TVOC Electrochemical TVOC Detection Module – UART & Analog Voltage Output₹1,569
What the AGS10, AGS02MA and other TVOC sensors is
A TVOC sensor estimates the total amount of volatile organic gases in the air, such as fumes from paint, cleaners and cooking, and reports it in parts per billion.
The AGS02MA and AGS10 need a very slow I2C clock. At the default 100 kHz they return errors, so set Wire.setClock to about 15 kHz or put them on their own bus.
TVOC is a rough total, not a single gas. Use it for ventilation and trends.
AGS10, AGS02MA and other TVOC sensors pinout
The pins on the AGS10, AGS02MA and other TVOC sensors and what each one does.
| Pin | Function |
|---|---|
| VDD | Supply |
| GND | Ground |
| SDA | I2C data |
| SCL | I2C clock |
- VDD
- Supply
- GND
- Ground
- SDA
- I2C data
- SCL
- I2C clock
Wiring the AGS10, AGS02MA and other TVOC sensors
Connect the AGS10, AGS02MA and other TVOC sensors like this.
| AGS10, AGS02MA and other TVOC sensors pin | Arduino Uno | ESP32 |
|---|---|---|
| VDD | 5 V | 3.3 V |
| GND | GND | GND |
| SDA | A4 | GPIO 21 |
| SCL | A5 | GPIO 22 |
- VDD
- Arduino Uno:
- 5 V
- ESP32:
- 3.3 V
- GND
- Arduino Uno:
- GND
- ESP32:
- GND
- SDA
- Arduino Uno:
- A4
- ESP32:
- GPIO 21
- SCL
- Arduino Uno:
- A5
- ESP32:
- GPIO 22
Example code
Byte 0 is a status byte (bit 0 = still warming up) and byte 4 a CRC.
#include <Wire.h>
const uint8_t ADDR = 0x1A;
void setup() {
Serial.begin(115200);
Wire.begin();
Wire.setClock(15000); // these sensors need a slow bus
delay(120000); // warm-up
}
void loop() {
Wire.beginTransmission(ADDR); Wire.write(0x00); Wire.endTransmission();
delay(30);
Wire.requestFrom(ADDR, (uint8_t)5);
uint8_t b[5];
for (int i = 0; i < 5; i++) b[i] = Wire.read();
uint32_t ppb = ((uint32_t)b[1] << 16) | (b[2] << 8) | b[3];
Serial.print(ppb); Serial.println(" ppb TVOC");
delay(2000);
}Setup and tuning
the AGS02MA and AGS10 need a slow I2C clock. Call Wire.setClock(20000) or lower, or reads fail.
ignore readings for the first two minutes after power-up while the heater settles.
mount the sensor where room air flows past it, away from the heat of regulators and the ESP32.
read about every 1.5 to 2 seconds; faster reads return the same value.
use TVOC to spot rises (cooking, cleaning, poor ventilation) rather than as an exact lab value.
What you need
Shop this list11 of 13 found in our store · ₹14,737
Asair AGS10 TVOC Gas Sensor Module – MEMS Semiconductor, Digital Output: the part this guide coversAsair AGS10 TVOC Gas Sensor Module – MEMS Semiconductor, Digital Output₹125
Asair AGS02MA MEMS TVOC Gas Sensor Module – Digital I2C Output: another version this guide coversAsair AGS02MA MEMS TVOC Gas Sensor Module – Digital I2C Output₹180
Asair AGS10ET Alcohol Sensor Module – Digital MEMS Ethanol Gas Sensor: another version this guide coversAsair AGS10ET Alcohol Sensor Module – Digital MEMS Ethanol Gas Sensor₹140
Waveshare TVOC Gas Sensor Module – UART Interface, 0.1-100ppm Range, 5V DC: another version this guide coversWaveshare TVOC Gas Sensor Module – UART Interface, 0.1-100ppm Range, 5V DC₹999
Winsen ZE40-TVOC Air-Quality Detection Module – UART & Analog Voltage Output: another version this guide coversWinsen ZE40-TVOC Air-Quality Detection Module – UART & Analog Voltage Output₹1,449
Winsen ZE40B-TVOC Electrochemical TVOC Detection Module – UART & Analog Voltage Output: another version this guide coversWinsen ZE40B-TVOC Electrochemical TVOC Detection Module – UART & Analog Voltage Output₹1,569
Amphenol SGX Sensortech MICS-VZ-89TE CO2 & VOC Gas Detection Sensor: another version this guide coversAmphenol SGX Sensortech MICS-VZ-89TE CO2 & VOC Gas Detection Sensor₹1,599
Amphenol SGX Sensortech Sensortech VOC & CO2 Gas Sensor Module 0-1000ppb / 400-2000ppm – I2C/PWM Output: another version this guide coversAmphenol SGX Sensortech VOC & CO2 Gas Sensor Module 0-1000ppb / 400-2000ppm – I2C/PWM Output₹2,319
Mikroe AIR QUALITY 2 CLICK (Mikroe‑2529) – iAQ‑Core Indoor Air Quality Sensor Board, I²C, CO₂e: 450–2000 ppm, TVOC: 125~600 ppb: another version this guide coversMikroe AIR QUALITY 2 CLICK (Mikroe‑2529) – iAQ‑Core Indoor Air Quality Sensor Board, I²C, CO₂e: 450–2000 ppm, TVOC: 125~600 ppb₹5,829
ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389- Uno R3 development board: the controller used in the wiring tableFind this part
0.96 inch OLED display 128x64: to show readings without a computer0.96" OLED Display 128x64₹139Closest match, check the specs- USB 12 V DC fan PWM speed controller: ventilation driven by the readingFind this part
Alternatives and when to choose them
- SGP40 and SGP41: VOC index sensors.
- ENS160: TVOC and eCO2 over I2C.
- Formaldehyde sensors: one specific VOC.
Common mistakes to avoid
- Running the I2C bus at 100 kHz, so reads fail.
- Taking readings during the warm-up period.
- Mounting the sensor next to a hot regulator or board.
- Treating the eCO2 estimate as a real CO2 measurement.
Frequently asked questions
Does a TVOC sensor measure CO2?
No. TVOC sensors measure organic gases. Some estimate eCO2 from TVOC, but only an NDIR sensor such as the SCD41 measures real CO2.
Why does my AGS02MA return errors?
It needs a slow I2C clock, under about 30 kHz. At the default 100 kHz the reads fail.
What is a good TVOC level indoors?
Below about 300 ppb is generally good; sustained readings above 1000 ppb suggest poor ventilation or a strong source.
Can I use it with an ESP32?
Yes. Most modules run at 3.3 V; use pull-up resistors to 3.3 V on SDA and SCL and set the slow I2C clock.
How long does the sensor last?
MEMS TVOC sensors last several years indoors, but silicone vapours and very high gas levels shorten their life.
Parts for this guide
Projects that use it
Put this into practice: 1 step-by-step build in our project library uses parts from this guide.
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.


