An Internet of Things system design and implementation for monitoring carbon dioxide, methane, humidity, and temperature Iwan Sugriwan, Melania Suweni Muntini, Yono Hadi Pramono
Department of Physics, Institute of Technology Sepuluh Nopember, Surabaya, Indonesia
Abstract
An Internet of Things (IoT) system was designed and fabricated as a data acquisition system for monitoring the concentrations of carbon dioxide gas, methane gas, humidity, and temperature. An MQ-135 sensor was utilized to measure carbon dioxide concentration, a TGS2611 sensor for methane, and an SHT11 sensor for humidity and temperature. These three sensors were connected to a NodeMCU ESP32 microcontroller and Wi-Fi module. Specifically, the MQ-135 sensor was connected via input 1, the TGS2611 sensor via input 2, and the SHT11 sensor was connected to the data and clock pins. Data from the three sensors was acquired and processed by the NodeMCU ESP32. The results were then transmitted to three destinations: a serial monitor, a 20x4 I2C LCD, and the Wi-Fi module for transmission to a server computer. On the server computer, software was developed, including programming for the NodeMCU ESP32 using the Arduino IDE, database management with MySQL, and a web application for displaying the measurement results on a website in real-time. A comparative test was conducted between the IoT system and a standard measuring instrument to ensure that the developed system could accurately measure the concentrations of carbon dioxide gas, methane gas, humidity, and temperature.