RAYPCB · ENGINEERING GUIDE

Air Quality Sensor Circuit: CO2, VOC and Particle Measurements

An air quality sensor circuit is useful only when its reported quantity matches the customer's question. Carbon dioxide concentration, a VOC index and particulate measurements describe different aspects of an environment. Combining them into one unexplained good-air score can hide the limits of the measurement rather than help the user make a sound decision.

This page focuses on selecting and integrating the electrical and physical sensing chain. It does not establish health thresholds, a life-safety alarm design or regulatory compliance. The evidence worksheet helps record the intended quantity, sensor principle, air path and calibration responsibilities before a PCB or PCBA is released.

Sensor interface board with a gas-sensing element
Sensor interface board with a gas-sensing element. RAYPCB site archive image; illustrative context, not a current inspection or ownership record.

Name the quantity before choosing the sensor

Specify whether the requirement concerns CO2, a particular gas, a broad VOC response, particle number or estimated particle mass. Keep the units and averaging interval with that requirement. A sensor output expressed as an index is not automatically a concentration of one chemical. A calculated equivalent quantity must be labeled as an estimate and its model understood.

For example, Sensirion's SGP40 resources describe a VOC sensing path and associated algorithm, while its SCD4x resources address CO2 sensing. These are different measurement families. Their documentation is useful for understanding interface and interpretation boundaries; it is not evidence that any generic gas-sensor board measures both quantities or that a complete monitor is qualified for a particular use.

Particle sensors introduce another boundary. Their response depends on the sensing method, particle properties, air path and processing. A reported mass concentration may involve assumptions beyond the raw optical observation. The PCB specification should identify the exact module and output definition rather than simply require a dust number.

Different air measurements cannot share an undefined unit
Different air measurements cannot share an undefined unit. Original explanatory diagram; conceptual, not a released circuit or inspection record.

Choose the measurement before the interface

QuantityUseful definitionIncorrect substitution
CO2Concentration with stated method and unitsVOC index presented as measured CO2
VOC responseSensor/algorithm-specific quantityOne chemical concentration without selectivity evidence
ParticlesNumber or estimated mass in defined binsGeneric dust score treated as every pollutant
Supporting channelsTemperature, humidity or pressureCompensation data with unknown location or age

Design the air path as part of the instrument

Place the sensing inlet or exposed element where it samples the intended air. Enclosure vents, stagnant pockets, fans and nearby heat sources can change the observed condition. A sensor mounted beside a warm processor may experience an environment different from the room. Test the finished housing, not only the open evaluation board.

For a module with active airflow, define inlet and outlet clearance and avoid unintended recirculation. Mechanical changes can affect transport delay and contamination. For passive exposure, the diffusion path still matters. A decorative opening is not a measurement design unless its effect on response and protection has been considered.

Select sealing, adhesive, coating and cleaning processes with the sensor's contamination sensitivity in mind. The exposed sensing area may require restrictions different from the rest of the PCB. Do not coat over a sensing opening merely to make the assembly look protected. Preserve the component manufacturer's relevant handling instructions in the manufacturing package.

Review itemWhat to establish
QuantityCO2, VOC response or particles with units and averaging boundary.
Air pathInlet/outlet, diffusion, enclosure heat and contamination.
ElectronicsSupply behavior, interface, compensation and firmware version.
ValidityStartup, baseline assumptions, stale data and diagnostics.
EvidenceControlled reference method and separate production-test scope.

Provide stable power and valid supporting measurements

Some sensing elements contain heaters, optical sources or pumps that create changing supply demand. Review the actual module's operating sequence and local decoupling rather than using only an average current number. Power cycling to save energy can introduce stabilization or baseline behavior that changes the useful measurement schedule.

Temperature, humidity or pressure compensation must use the quantities and conditions expected by the selected sensor or algorithm. A nearby reading is not automatically representative if the sensors sit in different thermal or air paths. The humidity sensor guide and pressure interface guide can help define those supporting measurement boundaries.

Keep firmware conversion and compensation versions with the hardware identity. A software update can change the meaning of a reported value even when the raw interface remains the same. Record units, scale, valid range and status flags explicitly in the data model so a future integration does not silently reinterpret the output.

Temperature and humidity sensor breadboard experiment
Temperature and humidity sensor breadboard experiment. RAYPCB site archive image; illustrative context, not a current inspection or ownership record.

Handle startup, baselines and missing data honestly

Different sensor principles have different startup and conditioning requirements. Follow the exact documentation and distinguish unavailable, stabilizing and valid states. Showing a zero concentration while a sensor is initializing can mislead the user. A stale value should retain its age rather than appearing as a fresh successful reading.

Automatic baseline or compensation algorithms may rely on assumptions about the environment and operating history. Determine whether those assumptions fit the installed application. A monitor in an unusual or continuously occupied environment may not experience the reference conditions expected by a particular algorithm. Do not enable a feature solely because its name includes calibration.

Define communication failure, out-of-range and internal diagnostic responses. Preserve the difference between a sensor-detected fault and a host timeout. If the measurement informs a control action, specify how invalid data affect that action through the responsible system design. This page's worksheet does not approve an alarm or ventilation strategy.

Evidence status should expose gaps, not average them away
Evidence status should expose gaps, not average them away. Original explanatory diagram; conceptual, not a released circuit or inspection record.

Use the worksheet to document evidence and open questions

Enter the requirement and supporting document or test reference for each measurement boundary. An item might identify the exact output definition, an enclosure airflow test or the compensation source. Mark unresolved issues as open. The tool checks entry structure and required explanations; it cannot validate a supplier's data sheet or authenticate a laboratory report.

Do not average unrelated evidence into an overall readiness score. A documented digital interface does not compensate for an unknown air path, and a clean enclosure drawing does not prove sensor selectivity. The useful output is a list of decisions and their owners, with enough detail for the next engineer to continue the review.

The report remains local and can be attached manually to an inquiry. It is optional; customers can contact RAYPCB directly with the current design and their main unresolved question. No private project information is sent to analytics by this worksheet, and it does not claim an automatic transfer to the contact form.

Air-quality measurement definition

RAYPCB ENGINEERING

Air-quality measurement definition

Power, Lighting and Sensor Engineering
Loading Air-quality measurement definition…
Using this tool & sharing results

Use the stated units, input limits and model assumptions. Results support an engineering discussion; they do not approve a design, process or production order.

After changing inputs, update the result before using it. Where a download or copy action is available, review that brief and attach or paste it into your enquiry. Opening Contact does not transfer these inputs or send a request.

How to use and share tool results

Use the current inputs and keep the assumptions

Load the example to inspect its units, then clear it before entering your own revision. Example values are deliberately labeled assumptions. Complete every field; an empty numeric input is not zero. Record the operating condition behind a value rather than copying the first number found on a component summary. For a comparison, keep the measurement boundary and units consistent.

Calculate after checking the inputs. Any edit invalidates the old result and disables its report download until you calculate again. An edited example remains identified as an example. Results and reports are generated locally without uploading a circuit or populating Contact. Attach the downloaded text manually if it helps explain the question. You can request a review directly without completing the tool.

InputWhat to establish before using it
Review referenceNonconfidential revision label.
Requirements and evidence · CSVStatus is Open, Recorded or Not applicable. A recorded claim needs a reference; an exclusion needs a reason.

Verify the claimed quantity and define production scope

Use an appropriate reference and controlled conditions for the quantity being evaluated. A response to a household source can show sensitivity but cannot establish selectivity, concentration accuracy or a calibrated range. Electrical simulation can test the interface while bypassing the physical sensor; retain that limitation in the record.

Define what the assembly supplier will verify on each unit and what remains product qualification. A powered communication and diagnostic test may be a practical manufacturing check, while a calibration or environmental response test needs additional equipment and method. State sampling, traceability and record requirements instead of asking for a vague complete test.

For a quotation, provide schematic, PCB files, exact sensor/module BOM, enclosure interfaces, firmware and acceptance scope. Identify excluded coating areas and critical handling steps. This makes the manufacturing request concrete and keeps the finished product's measurement claim tied to actual evidence rather than a broad air-quality label.

Validate the installed measurement chain

The sensor measures a local physical condition through a particular mounting and signal path. Its nominal resolution is not the accuracy of the installed system. Define the quantity, reference, useful response time and environment before deciding that a high-rate output or a long decimal value is meaningful.

Preserve raw observations, calibration coefficients and the conditions under which they were obtained. Check intermediate points and relevant environmental changes rather than only fitting endpoints. Separate invalid, stale and out-of-range data from valid low readings. Manufacturing tests should verify the electrical and assembly tasks actually agreed; field calibration and application validation need their own methods. Keep personal or confidential project details out of public worksheet labels and attach controlled records through the normal inquiry process.

Review sequence: air measurement
Review sequence: air measurement. Original explanatory diagram; conceptual, not a released circuit or inspection record.

Standards, source context and limits

Use the exact device revision and application conditions when applying manufacturer guidance. Reference designs are evidence about a specified implementation, not automatic validation of a modified board. Workmanship inspection, functional verification, product safety and application performance are different acceptance tasks. Public summaries do not replace the applicable licensed standards or a project-specific acceptance specification.

Keep the air sensor release tied to its evidence
Keep the air sensor release tied to its evidence. Original explanatory diagram; conceptual, not a released circuit or inspection record.

For fabrication scope and the agreed construction requirements, see PCB manufacturing.