Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Sensors
  4. ›VOC and Indoor Air Quality Sensors

Comparison · Intermediate · 3 min read

VOC and Indoor Air Quality Sensors

BME688, SGP40, ENS160 and MQ Types

By Geekobot Learning Team · Updated 29 Oct 2026

On this page
Short answerWhat these sensors measureWhich sensor to chooseWiring and softwareGetting useful readingsTry itCommon mistakesFAQsParts and next steps
Short answer

VOC sensors detect a mix of organic gases from cleaners, paints and cooking and report a relative index rather than a precise gas amount. For digital I2C boards, the SGP40, ENS160 and BME688 are good choices. The cheap MQ-135 gives an analog value that needs warm-up and calibration. None of them replace a gas detector for safety.

Key specs at a glance

SGP40
I2C, VOC index through Sensirion's algorithm, low power
ENS160
I2C or SPI, AQI, TVOC and eCO2 estimates
BME688
Gas, temperature, humidity and pressure in one chip, I2C or SPI
MQ-135
Analog heater sensor, needs warm-up and calibration
Supply
Most digital sensors 1.8 to 3.6 V, check the breakout board
Output
Relative index, not exact gas concentration
01

What these sensors measure

Metal-oxide (MOX) sensors change resistance when gases such as alcohol, solvents and cooking fumes touch a heated surface. The chip turns that into a VOC index: a relative number where a rise means worse air. It cannot name the gas or give an exact ppm.

Some sensors also give an eCO2 value. This is an estimate calculated from VOC, not a true measurement of carbon dioxide. For real CO2, use an NDIR sensor such as the types in the air quality guide.

02

Which sensor to choose

Digital boards are easier than analog MQ sensors.

SensorInterfaceOutputNotes
Sensirion SGP40I2CVOC index (with algorithm library)Low power; needs humidity data for best results
ScioSense ENS160I2C / SPIAQI, TVOC, eCO2 estimateOften paired with a BME280 on one board
Bosch BME688I2C / SPIGas resistance, plus T, RH and pressureCan be trained for gas patterns with Bosch software
MQ-135Analog / digital thresholdVoltageCheap; heater draws about 150 mA; slow to settle
Sensirion SGP40
Interface:
I2C
Output:
VOC index (with algorithm library)
Notes:
Low power; needs humidity data for best results
ScioSense ENS160
Interface:
I2C / SPI
Output:
AQI, TVOC, eCO2 estimate
Notes:
Often paired with a BME280 on one board
Bosch BME688
Interface:
I2C / SPI
Output:
Gas resistance, plus T, RH and pressure
Notes:
Can be trained for gas patterns with Bosch software
MQ-135
Interface:
Analog / digital threshold
Output:
Voltage
Notes:
Cheap; heater draws about 150 mA; slow to settle
03

Wiring and software

Use the Qwiic or STEMMA QT connector if the breakout has one, or connect SDA and SCL with pull-ups (I2C guide). Install the vendor library, for example the Sensirion Gas Index Algorithm, so that the raw signal becomes a VOC index. Feed it temperature and humidity from a sensor like the BME280 for better stability.

04

Getting useful readings

Allow warm-up and burn-in.

MOX sensors drift for the first minutes and need hours or days of burn-in on first use.

Track change, not a number.

Watch the trend and react to a rise, rather than to a fixed threshold.

Keep away from heat sources

and from direct airflow from a fan.

Do not use for safety.

Carbon monoxide, LPG and smoke need certified detectors.

05

Try it: Adc resolution calculator

Change the values and the diagram and results update as you type.

06

Common mistakes to avoid

  • !Treating eCO2 as a real CO2 measurement.
  • !Using an MQ sensor straight after power-on.
  • !Powering a 3.3 V breakout from 5 V without a regulator.
  • !Expecting the sensor to name the gas.
  • !Using a VOC sensor as a smoke or gas leak alarm.
07

Frequently asked questions

What is a VOC index?

A relative score where about 100 is the typical indoor level and higher values mean the air has more organic gases.

Is eCO2 the same as CO2?

No. It is estimated from VOC and can be wrong, for example in a room without people.

BME688 or SGP40?

SGP40 is simpler and gives a clean VOC index. BME688 adds temperature, humidity and pressure, and can be trained, but needs more setup.

How long is the burn-in time?

Some hours up to a couple of days for the readings to stabilise; check the data sheet.

Can I use MQ-135 for CO2?

Not accurately. It responds to many gases and cannot be used as a reliable CO2 sensor.

Parts for this guide

  • Sensirion SGP40-D-R4 Indoor Air Quality Sensor – Digital DFN 6-Pin
    ₹479View
  • Bosch BME688 Environment Sensor Module – Temperature Humidity Pressure VOC I2C
    ₹2,699View
  • ENS160 Air Quality Sensor Module – I2C & SPI Interface
    ₹789View
  • MQ-135 Air Quality & Gas Detector Sensor Module for Arduino – Analog & TTL Output
    ₹114View
Shop Gas, Air Quality & CO2 Sensors

Calculators

Adc resolution calculator

Terms in this guide

VOCVolatile organic compounds: gases released by paints, cleaners, cooking and people. Indoor air sensors report a VOC index or a TVOC value.ppmParts per million. Used for gas concentration (outdoor CO2 is about 420 ppm) and for frequency accuracy: a 20 ppm crystal can drift about 1.7 seconds a day.NDIRNon-dispersive infrared: the accurate way to measure CO2 by absorption of infrared light, used by sensors such as the MH-Z19 and SCD40.CalibrationMeasuring a sensor against known conditions so its raw numbers can be converted into meaningful values, such as dry and wet readings for a soil sensor.I2CInter-Integrated Circuit: a two-wire bus (SDA and SCL) that connects many devices by address.Relative humidityThe amount of water vapour in air as a percentage of the maximum it can hold at that temperature.

Projects that use it

Put this into practice: 1 step-by-step build in our project library uses parts from this guide.

Intermediate · 3 hoursIndoor air quality station: CO2, VOC, dust and humidity on an ESP32View project
Browse all 1 project

Keep learning

Buying guideIntermediateAir Quality SensorsCompare particle, CO2 and VOC sensors for an air monitor: PMS5003 and SDS011, NDIR CO2 vs eCO2, wiring, warm-up, power and placement for honest readings.3 min read · SensorsComponent guideIntermediateMQ Gas SensorsMQ sensors are cheap metal-oxide gas sensors: a heated tin-dioxide surface changes resistance when gas is present.3 min read · SensorsComparisonBeginnerBME280 vs BMP280The BMP280 measures temperature and air pressure; the BME280 adds relative humidity.3 min read · SensorsConcept explainerIntermediateI2C ExplainedI2C is a two-wire bus that lets one microcontroller talk to many sensors and displays using a data line (SDA) and a clock line (SCL).4 min read · Electronics FundamentalsComparisonIntermediateCO2 SensorsCO2 sensors tell you when a room needs fresh air: outdoors is about 420 ppm, under 1000 ppm indoors is good and above 1500 ppm calls for ventilation.3 min read · Sensors

Sources

  • Sensirion SGP40 data sheet and VOC index application note
  • Bosch BME688 data sheet
  • ScioSense ENS160 data sheet

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhat these sensors measureWhich sensor to chooseWiring and softwareGetting useful readingsTry itCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide4 items · ₹4,081

Sensirion SGP40-D-R4 Indoor Air Quality Sensor – Digital DFN 6-Pin · Bosch BME688 Environment Sensor Module – Temperature Humidity Pressure VOC I2C · ENS160 Air Quality Sensor Module – I2C & SPI Interface · MQ-135 Air Quality & Gas Detector Sensor Module for Arduino – Analog & TTL Output

Ask the Community

Ask a question