EN
TR
A Low-Cost Smart Laboratory Monitoring System Using IoT Sensors and MQTT Communication with Digital Twin-Oriented Visualization
Abstract
Smart laboratory monitoring requires continuous observation of indoor environmental conditions and space usage while maintaining user privacy and using an affordable sensing infrastructure. Conventional indoor monitoring systems may present environmental data through separate or limited visualization interfaces, while camera-based occupancy monitoring can introduce privacy concerns in laboratory and educational environments. To address these limitations, this study presents a low-cost and privacy-conscious smart laboratory monitoring system that combines IoT-based environmental sensing, MQTT communication, machine learning analysis, occupancy monitoring, and an Omniverse-based visualization layer. The proposed system uses an ESP32 development board as the edge-processing unit and integrates an SHT31 temperature and humidity sensor, an LDR light sensor, a magnetic door sensor, and dual VL53L0X Time-of-Flight sensors for entry/exit observation. The collected data were transmitted through a HiveMQ MQTT Broker and processed for environmental forecasting, light-state classification, anomaly detection, occupancy analysis, and digital twin-oriented visualization. During the monitoring period, 45,091 timestamped records were collected between 2026-05-21 and 2026-06-03, and 42,110 model-ready samples were used after feature generation and preprocessing. Multi-horizon forecasting produced high short-term R² values for temperature and relative humidity, although a persistence-based naive baseline remained a strong reference. Light-state classification was evaluated using Logistic Regression, Decision Tree, and K-NN models, with Logistic Regression achieving the highest F1-score of 0.849. Using the predefined upper 0.5% anomaly-score threshold, 211 records were flagged as unusual. Occupancy-related analysis showed that laboratory activity was limited and mainly concentrated on weekday daytime hours; the Random Forest occupancy-profile model achieved a lower MAE than the naive global-mean baseline, although instantaneous prediction performance remained limited. The Omniverse environment was implemented as an interface-level monitoring and visualization layer, while the smart switch pathway was retained as a prototype-level extension for future physical validation. Overall, the proposed system demonstrates a modular, affordable, and camera-free framework for smart laboratory monitoring and provides a scalable foundation for future digital twin-oriented and energy-aware control applications.
Keywords
Project Number
Yoktur
Ethical Statement
Ethics committee approval was not required for this study, which focused on environmental and system-level monitoring. The proposed monitoring system does not record visual images, biometric data, or personally identifiable information. Occupancy monitoring is performed using non-camera Time-of-Flight sensors, and the collected data consist only of environmental and system-level parameters such as temperature, relative humidity, light state, door state, and occupancy count. The photographs presented in Figure 10 were taken separately to document the laboratory setup and were not used as sensing inputs or machine-learning data. Verbal consent was obtained from all individuals visible in Figure 10 for their photographs to be taken and published in this article.
Thanks
The authors would like to thank Istanbul Bilgi University for providing the technical infrastructure, laboratory environment, and academic support required for the development of this study. The authors also acknowledge the contribution of the laboratory facilities that enabled the testing of the ESP32-based environmental monitoring system and the development of the proposed digital twin-oriented monitoring architecture.
References
- Abade, B., Abreu, D. P., & Curado, M. (2018). A non-intrusive approach for indoor occupancy detection in smart environments. Sensors, 18(11), 3953. https://doi.org/10.3390/s18113953
- Agarwal, Y., Balaji, B., Gupta, R., Lyles, J., Wei, M., & Weng, T. (2010). Occupancy-driven energy management for smart building automation. In Proceedings of the 2nd ACM Workshop on Embedded Sensing Systems for Energy-Efficiency in Building (BuildSys '10). https://doi.org/10.1145/1878431.1878433
- Ahmad, J., Larijani, H., Emmanuel, R., Mannion, M., & Javed, A. (2021). Occupancy detection in non-residential buildings – A survey and novel privacy preserved occupancy monitoring solution. Applied Computing and Informatics, 17(2), 279–295. https://doi.org/10.1016/j.aci.2018.12.001
- Akkaya, K., Guvenc, I., Aygun, R., Pala, N., & Kadri, A. (2015). IoT-based occupancy monitoring techniques for energy-efficient smart buildings. In 2015 IEEE Wireless Communications and Networking Conference Workshops (WCNCW) (pp. 58–63). https://doi.org/10.1109/WCNCW.2015.7122529
- Amelia, A., Roslina Fahmi, N., Pranoto, H., Sundawa, B. V., Hutauruk, I. S., & Arief, A. (2020). MQTT protocol implementation for monitoring of environmental based on IoT. In 2020 International Conference on Applied Science and Technology (iCAST) (pp. 700–703). https://doi.org/10.1109/ICAST51016.2020.9557694
- Babaoğlu, C., & Memiş, L. (2024). Dijital ikiz ve akıllı şehirler. SETA Yayınları.
- Biagini, C., Bongini, A., & Marzi, L. (2024). From BIM to digital twin: IoT data integration in asset management platform. Journal of Information Technology in Construction, 29, 1103–1127. https://doi.org/10.36680/j.itcon.2024.049
- Choi, J. W., Quan, X., & Cho, S. H. (2018). Bi-directional passing people counting system based on IR-UWB radar sensors. IEEE Internet of Things Journal, 5(2), 512–522. https://doi.org/10.1109/JIOT.2017.2714181
Details
Primary Language
English
Subjects
Circuits and Systems, Electrical Engineering (Other), Signal Processing, Geospatial Information Systems and Geospatial Data Modelling
Journal Section
Research Article
Publication Date
November 15, 2026
Submission Date
June 13, 2026
Acceptance Date
October 4, 2026
Published in Issue
Year 2026 Volume: 9 Number: 6
APA
Kızılgül, Y. S., Çakıcı, O. M., & Sarıoğlu, B. (2026). A Low-Cost Smart Laboratory Monitoring System Using IoT Sensors and MQTT Communication with Digital Twin-Oriented Visualization. Black Sea Journal of Engineering and Science, 9(6), 3342-3361. https://doi.org/10.34248/bsengineering.1969160
AMA
1.Kızılgül YS, Çakıcı OM, Sarıoğlu B. A Low-Cost Smart Laboratory Monitoring System Using IoT Sensors and MQTT Communication with Digital Twin-Oriented Visualization. BSJ Eng. Sci. 2026;9(6):3342-3361. doi:10.34248/bsengineering.1969160
Chicago
Kızılgül, Yavuz Selim, Onur Mert Çakıcı, and Baykal Sarıoğlu. 2026. “A Low-Cost Smart Laboratory Monitoring System Using IoT Sensors and MQTT Communication With Digital Twin-Oriented Visualization”. Black Sea Journal of Engineering and Science 9 (6): 3342-61. https://doi.org/10.34248/bsengineering.1969160.
EndNote
Kızılgül YS, Çakıcı OM, Sarıoğlu B (November 15, 2026) A Low-Cost Smart Laboratory Monitoring System Using IoT Sensors and MQTT Communication with Digital Twin-Oriented Visualization. Black Sea Journal of Engineering and Science 9 6 3342–3361.
IEEE
[1]Y. S. Kızılgül, O. M. Çakıcı, and B. Sarıoğlu, “A Low-Cost Smart Laboratory Monitoring System Using IoT Sensors and MQTT Communication with Digital Twin-Oriented Visualization”, BSJ Eng. Sci., vol. 9, no. 6, pp. 3342–3361, Nov. 2026, doi: 10.34248/bsengineering.1969160.
ISNAD
Kızılgül, Yavuz Selim - Çakıcı, Onur Mert - Sarıoğlu, Baykal. “A Low-Cost Smart Laboratory Monitoring System Using IoT Sensors and MQTT Communication With Digital Twin-Oriented Visualization”. Black Sea Journal of Engineering and Science 9/6 (November 15, 2026): 3342-3361. https://doi.org/10.34248/bsengineering.1969160.
JAMA
1.Kızılgül YS, Çakıcı OM, Sarıoğlu B. A Low-Cost Smart Laboratory Monitoring System Using IoT Sensors and MQTT Communication with Digital Twin-Oriented Visualization. BSJ Eng. Sci. 2026;9:3342–3361.
MLA
Kızılgül, Yavuz Selim, et al. “A Low-Cost Smart Laboratory Monitoring System Using IoT Sensors and MQTT Communication With Digital Twin-Oriented Visualization”. Black Sea Journal of Engineering and Science, vol. 9, no. 6, Nov. 2026, pp. 3342-61, doi:10.34248/bsengineering.1969160.
Vancouver
1.Yavuz Selim Kızılgül, Onur Mert Çakıcı, Baykal Sarıoğlu. A Low-Cost Smart Laboratory Monitoring System Using IoT Sensors and MQTT Communication with Digital Twin-Oriented Visualization. BSJ Eng. Sci. 2026 Nov. 15;9(6):3342-61. doi:10.34248/bsengineering.1969160