ESP32 CO2 Ventilation Logger | SCD41, Fan Control & microSD
An ESP32 can log SCD41 carbon dioxide readings and fan state to a microSD card to show how indoor concentration changes during ventilation.
The key idea
The fan command marks when control requested ventilation. A time series shows whether concentration subsequently changed, allowing for mixing, sensor response and changes in occupancy.
What to remember
- Timestamp concentration and fan state together.
- Use trends across multiple readings to interpret the response.
Check your understanding
Why log fan state alongside CO₂ concentration?
Show the explanation
It provides a time reference for comparing the concentration trend before and after ventilation was requested.