Abstract
This study presents the design and implementation of an IoT-based environmental monitoring system that integrates real-time data collection with classification analytics to support sustainable decision-making. In response to the increasing need for accessible and affordable monitoring tools, the system utilizes a NodeMCU ESP8266 microcontroller, paired with DHT22 and raindrop sensors, to capture temperature, humidity, and rainfall status at 30-second intervals. Data is transmitted wirelessly and stored on Google Sheets, enabling cloud-based visualization and analysis. A Random Forest classifier was applied to categorize temperature conditions into low, medium, and high ranges based on humidity and rain status to derive actionable insights from the collected data. Model performance produces overall accuracy of 65.9% revealed a strong ability to detect high-temperature conditions, with rain status identified as the most influential predictor. However, challenges such as class imbalance and limited prediction of low-temperature conditions were observed. Recommendations include enhancing the model with balanced datasets, time-based feature engineering, and considering regression models for more granular forecasting. This system demonstrates a scalable and adaptable approach to environmental monitoring, suitable for educational, research, and field applications in data-driven sustainability efforts.
Metadata
| Item Type: | Article |
|---|---|
| Creators: | Creators Email / ID Num. Khairul Anuar, Noor Hafizah UNSPECIFIED Abdul Majid, Masmaria UNSPECIFIED Abu Bakar, Zahari UNSPECIFIED Mohd Zain, Norlina UNSPECIFIED Othman, Norhalida UNSPECIFIED |
| Subjects: | T Technology > TK Electrical engineering. Electronics. Nuclear engineering > Telecommunication > Computer networks. General works. Traffic monitoring |
| Divisions: | Universiti Teknologi MARA, Perlis > Arau Campus > Faculty of Computer and Mathematical Sciences |
| Journal or Publication Title: | Journal of Computing Research and Innovation |
| UiTM Journal Collections: | UiTM Journals > Journal of Computing Research and Innovation (JCRINN) |
| ISSN: | 2600-8793 |
| Volume: | 11 |
| Number: | 1 |
| Page Range: | pp. 31-39 |
| Keywords: | IoT, Environmental Monitoring, Random Forest, Classification Model, Google Cloud Storage, Temperature Pattern |
| Date: | 2026 |
| URI: | https://ir.uitm.edu.my/id/eprint/135325 |
