Umar Al Faruq
Department of Informaion System, Universitas Trilogi

Published : 1 Documents Claim Missing Document
Claim Missing Document
Check
Articles

Found 1 Documents
Search

Deployment of a Machine Learning Based Indoor Air Quality Predictor on NodeMCU ESP32 Using EloquentTinyML Yaddarabullah Yaddarabullah; Umar Al Faruq
JISA(Jurnal Informatika dan Sains) Vol 9, No 1 (2026): Vol 9, No 1 (2026): JISA(Jurnal Informatika dan Sains)
Publisher : Universitas Trilogi

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.31326/jisa.v9i1.2847

Abstract

Indoor air quality monitoring increasingly requires local intelligence because indoor exposure conditions can change faster than centralized systems can respond. However, many machine learning based indoor air quality predictors remain difficult to deploy on microcontrollers due to memory limits, computation constraints, network dependence, and the lack of a reproducible edge deployment workflow. This study develops an end-to-end TinyML framework for deploying a lightweight indoor air quality predictor on a NodeMCU ESP32 using EloquentTinyML and TensorFlow Lite Micro. A synthetic IAQ dataset was generated from eight environmental variables, namely temperature, humidity, PM2.5, PM10, NO2, SO2, CO, and room type, and the indoor air quality score was derived from pollutant weighted features before balancing comfort labels using SMOTE. The proposed compact MLP contains eight inputs, one hidden layer with twelve neurons, ReLU activation, dropout regularization, and a single regression output. Five-fold validation produced an average root mean square error of 5.794, mean absolute error of 4.394, and R2 of 0.877, while the converted model required only 121 trainable parameters. These results indicate that compact TinyML deployment can provide a feasible proof-of-concept for local indoor air quality estimation, although physical sensor validation remains necessary.