Mota Afonso, Serôdio Carlos, Briga-Sá Ana, Valente Antonio
Department of Engineering, School of Sciences and Technology, Universidade de Trás-os-Montes e Alto Douro (UTAD), 5000-801 Vila Real, Portugal.
Center ALGORITMI, Universidade do Minho, Campus de Azurém, 4800-058 Guimarães, Portugal.
Sensors (Basel). 2025 Mar 8;25(6):1683. doi: 10.3390/s25061683.
Most human time is spent indoors, and due to the pandemic, monitoring indoor air quality (IAQ) has become more crucial. In this study, an IoT (Internet of Things) architecture is implemented to monitor IAQ parameters, including CO and particulate matter (PM). An ESP32-C6-based device is developed to measure sensor data and send them, using the MQTT protocol, to a remote InfluxDBv2 database instance, where the data are stored and visualized. The Python 3.11 scripting programming language is used to automate Flux queries to the database, allowing a more in-depth data interpretation. The implemented system allows to analyze two measured scenarios during sleep: one with the door slightly open and one with the door closed. Results indicate that sleeping with the door slightly open causes CO levels to ascend slowly and maintain lower concentrations compared to sleeping with the door closed, where CO levels ascend faster and the maximum recommended values are exceeded. This demonstrates the benefits of ventilation in maintaining IAQ. The developed system can be used for sensing in different environments, such as schools or offices, so an IAQ assessment can be made. Based on the generated data, predictive models can be designed to support decisions on intelligent natural ventilation systems, achieving an optimized, efficient, and ubiquitous solution to moderate the IAQ.
大多数人的时间都花在室内,并且由于疫情,监测室内空气质量(IAQ)变得更加关键。在本研究中,实现了一种物联网(IoT)架构来监测IAQ参数,包括一氧化碳(CO)和颗粒物(PM)。开发了一种基于ESP32-C6的设备来测量传感器数据,并使用MQTT协议将数据发送到远程InfluxDBv2数据库实例,数据在该数据库中存储并可视化。使用Python 3.11脚本编程语言自动执行对数据库的Flux查询,从而实现更深入的数据解读。所实现的系统允许分析睡眠期间的两种测量场景:一种是门微微打开,另一种是门关闭。结果表明,与门关闭时睡觉相比,门微微打开时睡觉会使CO水平缓慢上升并保持较低浓度,门关闭时睡觉CO水平上升更快且超过了最大推荐值。这证明了通风对维持IAQ的益处。所开发的系统可用于在不同环境(如学校或办公室)中进行传感,从而可以进行IAQ评估。基于生成的数据,可以设计预测模型来支持关于智能自然通风系统的决策,实现优化、高效且普遍适用的解决方案来调节IAQ。