Indoor Air Quality Sensor PCB Design:
CO2, PM2.5 & VOC Signal Chains, Calibration and Reliability

An IAQ monitor is an instrument, not a gadget. Its readings drive ventilation, health and compliance decisions, so the board has to deliver stable, repeatable numbers — which is a sensor-signal-chain problem, not a firmware problem.

An indoor air quality monitor measures carbon dioxide, particulate matter and volatile organic compounds so a building can adjust its ventilation, a facility can prove its environment, and an occupant can trust the air. Because those numbers feed real decisions — and in some markets compliance reporting — the board behind the sensors has to return measurements that are accurate today and still accurate six months from now. That is a harder problem than it looks.

The challenge is that each IAQ sensor type has a different physics and a different electronics. An NDIR carbon dioxide sensor is an optical device with a pulsed IR source. A PM2.5 sensor is a laser scattering instrument. A VOC sensor is a heated metal-oxide resistor. Putting all three on one board is a mixed-signal, thermally-managed, optically-careful engineering problem — exactly the kind we build at Huaxing PCBA, where our 8 SMT lines run a 98.7% first-pass yield across 150+ active customers and our 3/3 mil trace control supports dense analogue front-ends.

Indoor air quality monitor PCB showing a CO2 sensor, laser PM2.5 sensor and metal-oxide VOC sensor mounted with airflow routing

The Three Sensing Technologies and Their Different Electrical Needs

The sensor choice drives the whole board. Each technology imposes a different supply, routing and layout constraint, and the constraints can conflict. Understanding what each one needs is the first step to a design that does not fight itself.

PollutantTypical sensorMeasured rangeKey electrical need
CO2NDIR (non-dispersive infrared)400–5000 ppmStable pulsed IR drive, precise ADC, clean supply
PM2.5Laser scattering0–1000 µg/m³Fan control, photodiode readout, low optical noise
VOCMOX (metal-oxide)0.3–100 ppb eq.Heated element, baseline drift handling, gas isolation
Temp / RHMEMS / capacitiveFully rangingCalibration reference, I2C, low-power

NDIR CO2: Optical and Analogue Discipline

A non-dispersive infrared carbon dioxide sensor works by shining a broadband IR source through a sample and measuring how much light a specific wavelength band absorbs. The narrowband detection makes CO2 stand out from other gases. But the measurement is tiny, so the board has to be quiet and the optical path has to be sealed.

1

Pulsed source drive and temperature

The IR lamp is pulsed to save power and to reject ambient drift. The pulse timing must be deterministic and the lamp voltage stable, because the source intensity sets the reference. The sensor is also temperature-sensitive, so a temperature reading at the sensor is needed to correct the absorption curve.

2

Precise ADC and a quiet analogue path

CO2 concentration is derived from a small difference in a small photodiode signal. That demands a low-noise amplifier and a precise ADC, with the analogue area isolated from the switching noise of the lamp drive and from any digital activity. This is textbook mixed-signal layout — see our mixed-signal PCB design guide for the partitioning and grounding rules.

3

Sealing the optical path

The sample chamber has to be sealed to prevent light leakage from outside, and it usually needs a dust filter so particles do not settle on the optics. This is a mechanical requirement that the board layout has to accommodate — the enclosure, the filter and the sensor mount are all part of the measurement.

Key Takeaway: The CO2 channel is the most demanding. It is a precision optical measurement with a microvolt-scale signal, so the layout must isolate the analogue detection path from the lamp drive and from digital switching, and the design must seal the optical chamber.

PM2.5: Laser Scattering, Fan Control and Clean Sampling

A PM2.5 sensor draws air through a small chamber, passes it through a laser, and counts and sizes particles by the light they scatter onto a detector. The laser and detector have to stay optically aligned, and the airflow has to be repeatable and clean.

1

Airflow and the fan

The measurement depends on a known volume of air passing through the chamber at a known rate, so the fan drive and its speed control matter. A fan that changes speed, or that is too noisy, corrupts the count. Fan control is a small motor-drive task, and our BLDC motor controller design guide covers the drive side.

2

Detector readout and photodiode noise

The scattered light is detected by a photodiode whose current is tiny. The readout has to be stable and well-shielded from the laser drive and from the fan's switching noise. Keeping the detector readout away from sources of electrical noise is essential to a clean particle-size histogram.

3

Optical cleanliness over time

Dust accumulates on the optics and on the detector, which makes the reading drift downward over a long service life. The design has to allow for cleaning or self-calibration, and the sampling path should be protected from gross contamination.

VOC: Metal-Oxide Baseline Drift and Gas Isolation

A metal-oxide VOC sensor is a heater plus a sensitive film. The film changes resistance when it adsorbs certain molecules, and that resistance is the measurement. The sensor runs hot, which means the board must keep the heat away from the CO2 and temperature sensor, and the reading drifts with the baseline, so the design needs a way to manage that.

1

Thermal separation

The MOX heating element can reach 300–350°C internally to drive the sensing reaction. That heat must not skew the temperature and humidity sensor or the CO2 measurement. In practice this means careful placement and, where necessary, an insulating barrier or a thermal budget that keeps the two apart.

2

Baseline handling

MOX readings drift as the sensor ages and as environmental conditions change. Robust designs apply a periodic baseline correction, often using a known-clean-air reference. Firmware and hardware work together here — the board has to expose the sensor to a reference periodically, and the layout should make that possible.

3

Supply regulation

The heater and the sensing film are both sensitive to supply fluctuations. A noisy or drooping supply corrupts the resistance reading, so the sensor supply needs clean regulation. Our power integrity and PDN design guide covers the decoupling and regulation discipline this needs.

Macro shot of the analogue sensor front-end of an IAQ monitor with a photodiode, op-amp and high-precision ADC carefully routed away from digital circuits

The common thread across all three channels is supply hygiene and analogue isolation. The reading quality of an IAQ board is set by how well the analogue front-ends are separated from the digital, the switching and the thermal sources on the same board. The EMI/EMC design guide and the mixed-signal design article together cover the discipline that makes this work.

Calibration, Accuracy and Long-Term Stability

Every sensing element drifts and every sensor has a factory tolerance. For an instrument that reports to a user or a compliance system, the board has to support a way to zero it, and the measurement chain has to be designed so the reported number means something.

SensorTypical accuracyDrift concernBoard-level mitigation
CO2 (NDIR)±40–50 ppmLamp aging, temperatureTemperature correction, periodic auto-calibration to fresh air (~400 ppm)
PM2.5 (laser)±10 µg/m³Optics foulingCleanable path, allowance for cleaning
VOC (MOX)Relative ppb scaleBaseline and agingPeriodic baseline correction, reference exposure
Temp / RH±0.3°C, ±2%RHLowCalibration value stored at factory

For a board that is used in a product, the practical question is whether the layout gives the firmware room to calibrate and whether the sensor interfaces are accessible and stable. A board that cannot be zeroed, or whose readings wobble with a change in fan speed, will never be trusted no matter how precise the sensor datasheet is.

Indoor air quality monitor installed in a building VAV system with visible sensor vents and airflow routing into the device

Design-for-Manufacture on a Dense Sensor Board

An IAQ monitor is a small, dense, mixed-signal board with an optical sub-assembly and a mechanical airflow path. It is exactly the kind of design where manufacturability interacts with performance: an aperture that is too tight, a component that blocks the airflow, or an optical part that cannot be aligned in production all hurt the final product. Running the DFM tips and a structured assembly process review before the first run catches these issues.

Procurement Tip: When you source an IAQ board, ask the supplier how they handle the CO2 optical alignment and the VOC thermal separation in production. These are the two areas where a cheap board announces itself with unstable readings, and they are findable with a proper DFM review before the first run.

At Huaxing PCBA we build precision sensor and environmental-monitoring boards with 8 SMT lines, 4 DIP lines, 32-layer fabrication and 3/3 mil trace control, in a 15,000 m² facility with 500+ staff serving 30+ countries. We are ISO 9001, IATF 16949 and UL (E354321) certified, with 99.2% on-time delivery and 98.7% first-pass yield. Upload your design for a quote or talk to our engineering team about your sensor board. For the wider context, see our IoT PCB and IIoT gateway guides.

Build a Sensor Board You Can Trust

Send your IAQ sensor requirements and get a design-for-manufacturing review of the analogue front-end, supply regulation and thermal separation — flagged as findings before you commit. We respond within 24 hours.

Request Quote