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. ›Air Quality Sensors

Buying guide · Intermediate · 3 min read

Air Quality Sensors

PM2.5, CO2 and VOC

By Geekobot Learning Team · Updated 24 Oct 2026

On this page
Short answerWhich sensor measures whatWiring tipsPlacement and honest readingsTry itCommon mistakesFAQsParts and next steps
Short answer

An air quality monitor usually combines three sensors. A laser particle sensor such as the PMS5003 or SDS011 counts PM2.5 and PM10 dust. An NDIR sensor such as the MH-Z19 or SCD40 measures real CO2. A metal-oxide VOC sensor such as the SGP30 or CCS811 tracks chemical odours, but its "eCO2" value is an estimate. Use NDIR for CO2 and expect hobby sensors to show trends rather than lab accuracy.

Key specs at a glance

PM sensors
PMS5003, SDS011: laser scattering, UART output, 5 V fan
CO2 sensors
MH-Z19B/C, SCD40/41: NDIR or photoacoustic, 400 to 5000 ppm typical
VOC sensors
SGP30, CCS811, ENS160: metal-oxide, give TVOC and estimated eCO2
Supply
Most need 5 V for the fan or lamp, with 3.3 V logic
Current
Particle sensors draw roughly 70 to 100 mA with the fan running
Warm-up
From about 30 seconds (PM) to minutes or hours (CO2, VOC baseline)
01

Which sensor measures what

SensorMeasuresInterfaceNotes
PMS5003 / PMS7003PM1, PM2.5, PM10UART 3.3 V logic5 V supply, sleep pin to save the fan
SDS011PM2.5, PM10UART, USB adapterLarger, popular for outdoor stations
MH-Z19B / CCO2 (NDIR)UART or PWMAuto-calibration assumes fresh air daily
SCD40 / SCD41CO2, temperature, humidityI2CSmall; needs stable 3.3 or 5 V
SGP30 / CCS811 / ENS160TVOC, eCO2 estimateI2CGood for odour and trends, not true CO2
MQ-135Mixed gasesAnalogRough indicator only; see gas sensors
PMS5003 / PMS7003
Measures:
PM1, PM2.5, PM10
Interface:
UART 3.3 V logic
Notes:
5 V supply, sleep pin to save the fan
SDS011
Measures:
PM2.5, PM10
Interface:
UART, USB adapter
Notes:
Larger, popular for outdoor stations
MH-Z19B / C
Measures:
CO2 (NDIR)
Interface:
UART or PWM
Notes:
Auto-calibration assumes fresh air daily
SCD40 / SCD41
Measures:
CO2, temperature, humidity
Interface:
I2C
Notes:
Small; needs stable 3.3 or 5 V
SGP30 / CCS811 / ENS160
Measures:
TVOC, eCO2 estimate
Interface:
I2C
Notes:
Good for odour and trends, not true CO2
MQ-135
Measures:
Mixed gases
Interface:
Analog
Notes:
Rough indicator only; see gas sensors
02

Wiring tips

  • ✓Particle sensors: 5 V and GND to the supply, sensor TX to your board RX through the UART. The data lines are 3.3 V, so they are safe for ESP32. Use the SET or sleep pin, or a command, to stop the fan between readings and extend its life.
  • ✓MH-Z19: 5 V supply, 3.3 V UART. Disable automatic baseline calibration if the room never gets fresh air, or calibrate it outdoors.
  • ✓I2C sensors: share SDA and SCL with other parts; add a BME280 for temperature and humidity compensation.
  • ✓Power: a fan and NDIR lamp together can pull more than a USB port's weak supply can handle on some boards, so use a good 5 V supply.
03

Placement and honest readings

  • ✓Put the inlet in free air, away from your body, kitchens and exhaust from the sensor's own fan.
  • ✓High humidity, fog and rain make particle sensors over-read. Outdoors, use a shelter that keeps water out but lets air through.
  • ✓CO2 indoors is a good proxy for ventilation: values well above outdoor levels (about 420 ppm) suggest the room needs fresh air.
  • ✓Compare against an official air quality station nearby before publishing numbers; treat your device as a trend indicator. See also MQ gas sensors.
04

Try it: Power supply sizing calculator

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

05

Common mistakes to avoid

  • !Trusting the eCO2 reading from a VOC sensor as real CO2.
  • !Powering a fan-based sensor from a weak 3.3 V rail.
  • !Running the particle sensor fan continuously and wearing it out.
  • !Mounting the sensor in a sealed box with no airflow.
  • !Ignoring humidity effects on particle readings.
06

Frequently asked questions

Which sensor measures real CO2?

NDIR or photoacoustic sensors such as the MH-Z19 or SCD40. VOC sensors only estimate CO2.

Is the PMS5003 accurate?

Good for trends and broadly comparable indoors; outdoors in high humidity it over-reads without correction.

Can I use MQ-135 as an air quality sensor?

Only as a rough indicator. It reacts to many gases and drifts with temperature and humidity.

Does the PMS5003 work with ESP32?

Yes. It needs 5 V power, but its UART pins are 3.3 V logic.

Why does my CO2 sensor read 400 ppm all the time?

Automatic calibration or a sensor that needs warm-up. Check the ABC setting and wait several minutes.

Parts for this guide

  • ENS160+AHT21 Air Quality, Temperature & Humidity Sensor Module – I2C Interface
    ₹779View
  • Asair AGS02MA MEMS TVOC Gas Sensor Module – Digital I2C Output
    ₹180View
Shop Gas & Weather Sensors

Calculators

Power supply sizing calculator

Terms in this guide

NDIRNon-dispersive infrared: the accurate way to measure CO2 by absorption of infrared light, used by sensors such as the MH-Z19 and SCD40.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.UARTUniversal asynchronous receiver-transmitter: two-wire serial (TX and RX) used by GPS, Bluetooth modules and debug output.I2CInter-Integrated Circuit: a two-wire bus (SDA and SCL) that connects many devices by address.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.

Projects that use it

Put this into practice: 10 step-by-step builds in our project library use parts from this guide.

Beginner · 1 hourVOC and air quality monitorView projectBeginner · 1 hourFresh paint fumes alarmView projectBeginner · 1 hourKitchen fumes fan triggerView project
Browse all 10 projects

Keep learning

Component 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 explainerBeginnerUART and Serial CommunicationA UART sends data one bit at a time over one wire with no shared clock, so both ends must agree on the speed, called the baud rate (9600 and 115200 are common).4 min read · Electronics FundamentalsComponent guideBeginnerESP32 GuideThe ESP32 is a low-cost 3.3 V microcontroller from Espressif with built-in Wi-Fi and Bluetooth, used for IoT devices, smart-home controllers and web dashboards.5 min read · Boards & MicrocontrollersConcept explainerIntermediateMQTT and Home Assistant for ESP32MQTT is a lightweight messaging system: devices publish messages to named topics on a broker, and anything subscribed to that topic receives them.3 min read · IoT & Wireless

Sources

  • Plantower PMS5003 datasheet
  • Nova Fitness SDS011 datasheet
  • Winsen MH-Z19B datasheet
  • Sensirion SCD4x and SGP30 datasheets

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

On this page
Short answerWhich sensor measures whatWiring tipsPlacement and honest 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 guide2 items · ₹959

ENS160+AHT21 Air Quality, Temperature & Humidity Sensor Module – I2C Interface · Asair AGS02MA MEMS TVOC Gas Sensor Module – Digital I2C Output

Ask the Community

Ask a question