Design and Implementation of an ESP32-Based IoT Smart Room System with Automated Temperature, Ventilation, and Lighting Control

Authors

  • Dodi Sinaga Medan State Polytechnic Author
  • Dewi BC Sirait Medan State Polytechnic Author
  • Kevin Kristian Pakpahan Medan State Polytechnic Author
  • Miranda Sihombing Medan State Polytechnic Author
  • Hamonangan Hutauruk Medan State Polytechnic Author

DOI:

https://doi.org/10.65358/rva03t27

Keywords:

Internet of Things (IoT), Smart Room, ESP32 Microcontroller, Room Automation, Boarding Room

Abstract

This study develops a Smart Room System based on the Internet of Things (IoT) to enhance comfort and energy efficiency in boarding rooms by integrating automatic control of temperature, ventilation, and lighting. The system uses a DHT22 sensorr to monitor temperature and humidity, a PIR se to detect occupant and control lighting, a servo motor regulate ventilation, and a DC fan as the temperature controller. All components are managed by an ESP32 microcontroller connected to a web dashboard that enables real-time monitoring and remote control. The research methodology includes requiments analysis, system architecture design, web server develoment, hardware softwae integration, and functional testing. The test result indicate that the system operates automatically and reliably, the fan and servo active when the temperature exceeds the threshold, and the light turn on when the PIR sensor detects motion. Manual control via the web interface also functions effectively with low latency (0.5-1 s). In conclusion, the Smart Room System succesfully improves energi efficiency and provides convenient remote control, althrough it remains dependent on a stable Wi-Fi connection for monitoring and manual control features.

References

[1] R. N. Riyadi et al., “Design of IoT-based smart boarding room system,” International Journal of Information Technology and Information Systems, vol. 2, no. 1, 2020. doi: 10.24176/ijtis.v2i1.5642.

[2] A. Allocca, Q. Chen, and L. R. Glicksman, “Design analysis of single-sided natural ventilation,” Energy and Buildings, vol. 35, no. 8, pp. 785–795, 2003. doi: 10.1016/S0378-7788(02)00239-6.

[3] M. Alaa, A. Zaidan, B. Zaidan, and M. Talal, “A review of smart home applications based on Internet of Things,” Journal of Network and Computer Applications, vol. 97, pp. 48–65, 2017. doi: 10.1016/j.jnca.2017.08.017.

[4] Y. Chen, S. Deng, and X. Xu, “IoT-based intelligent HVAC control system for energy saving,” Energy Procedia, vol. 158, pp. 3665–3670, 2019. doi: 10.1016/j.egypro.2019.01.932.

[5] A. Nugroho, R. Firmansyah, and M. Iqbal, “IoT-based automatic fan control system for indoor comfort,” Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi), vol. 8, no. 3, pp. 485–492, 2024. [Online]. Available: https://jurnal.iaii.or.id/index.php/RESTI/article/view/6234

[6] M. F. Sulaiman and A. R. Hidayat, “Automatic fan control system using Arduino and temperature sensor,” International Journal of Advanced Science, Engineering and Information Technology, vol. 10, no. 2, pp. 632–637, 2020. doi: 10.18517/ijaseit.10.2.11242.

[7] A. Saleh, N. Dharshinni, and F. Azmi, “Face recognition using self-organizing map based on multilevel thresholding and feature extraction,” Journal of Physics: Conference Series, vol. 1898, no. 1, 2021. doi: 10.1088/1742-6596/1898/1/012045.

[8] A. Kumar and R. P. Singh, “Motion detection using PIR sensor in smart home applications,” International Journal of Engineering Research & Technology, vol. 9, no. 3, pp. 227–231, 2020. [Online]. Available: https://www.ijert.org/motion-detection-using-pir-sensor

[9] T. T. Laksana, A. R. Isnain, and H. Sulistiani, “Penerapan teknologi aplikasi rumah pintar berbasis web menggunakan microcontroller ESP32,” Jurnal Pepadun, vol. 5, no. 2, pp. 121–130, 2024. [Online]. Available: https://ejurnal.teknokrat.ac.id/index.php/pepadun/article/view/3931

[10] A. H. Gatea, A. Al-Ibadi, and M. Alaziz, “Optimizing workplace performance using ESP32 to monitor and enhance environmental quality in smart office solutions,” AEP Journal of Computer Science and Engineering Research, vol. 1, no. 1, 2024. doi: 10.64820/AEPJCSER.11.31.37.122024

[11] G. Marques, R. Pitarma, and C. Ferreira, “Smart room for ambient assisted living using IoT,” Sensors, vol. 19, no. 3, 2019. doi: 10.3390/s19030663.

[12] W. Daniela, A. Pramono, J. F. Wijaya, and N. P. Wijaya, “Integrating IoT-based devices for monitoring humidity and temperature in boarding house spaces,” Procedia Computer Science, vol. 221, pp. 518–525, 2023. doi: 10.1016/j.procs.2023.10.518.

[13] M. A. Hannan et al., “Fuzzy logic-based intelligent control system for HVAC and lighting,” IEEE Access, vol. 8, pp. 102965–102978, 2020. doi: 10.1109/ACCESS.2020.2999606.

[14] A. H. Ali and M. Z. Abdullah, “Web-based smart building monitoring system using IoT,” International Journal of Electrical and Computer Engineering, vol. 12, no. 2, pp. 1642–1650, 2022. doi: 10.11591/ijece.v12i2.pp1642-1650.

[15] S. R. B. Shamsuddin and A. R. Ahmad, “Web-based control and monitoring system for IoT applications,” International Journal of Advanced Computer Science and Applications, vol. 13, no. 6, 2022. [Online]. Available: https://thesai.org/Publications/ViewPaper?Volume=13&Issue=6&Code=IJACSA&SerialNo=44

[16] M. F. Ramadhan and A. Setiawan, “Automatic room temperature control using ESP32 and DHT sensors,” Journal of Engineering and Applied Sciences, vol. 18, no. 4, pp. 1021–1027, 2023. [Online]. Available: https://sciencepubco.com/index.php/JEAS/article/view/12435

[17] M. A. Hannan et al., “AC motor speed control using Arduino microcontroller,” Energy Procedia, vol. 158, pp. 2211–2216, 2019. doi: 10.1016/j.egypro.2019.01.527.

Downloads

Published

2026-01-31

Issue

Section

Articles

How to Cite

Sinaga, D., Sirait, D. B., Pakpahan, K. K., Sihombing, M., & Hutauruk, H. (2026). Design and Implementation of an ESP32-Based IoT Smart Room System with Automated Temperature, Ventilation, and Lighting Control. Journal of Intelligent Systems, Embedded Systems, and Computer Engineering, 1(1), 1-11. https://doi.org/10.65358/rva03t27

Similar Articles

You may also start an advanced similarity search for this article.