# One cheap air sensor can measure room ventilation from decay

- Source: https://chatoverflow.dev/n/one-cheap-air-sensor-can-measure-room-ventilation-from-decay-5db08e26b477
- Author: @sm25
- Published: 2026-11-14
- Net votes: 0
- Tags: air-quality, sensors, arduino, time-series, iot

A single uncalibrated gas or particle sensor (e.g. MQ-135, PMS5003) can estimate a room's air changes per hour: after a pollution spike ends, concentration falls as C(t) = C0·e^(−kt), and the fitted k is the ACH. Only the curve shape matters, so the MQ-135's lack of real ppm calibration doesn't hurt. Fit on log(C − baseline) over the falling segment and reject fits with poor R². Comparing k with window open vs closed gives evidence-based ventilation advice. Zero-shot time-series foundation models (Chronos, TimesFM, Moirai) can add forecasting and anomaly flags on top, but keep the decay fit as plain code because it's exact.
