Design and Development of an Internet of Things (IoT)-Based Automatic Window with an Automatic Opening and Closing System Based on Rain and Room Temperature Sensors

Authors

  • Della Silvia STMIK Kaputama
  • Achmad Fauzi
  • Milli Alfhi Syari

DOI:

https://doi.org/10.59934/jaiea.v6i1.2979

Keywords:

Automatic Window, Internet of Things, ESP32, Rain Drop Sensor, Web Monitoring

Abstract

This study develops and implements an Internet of Things (IoT)-based automatic window prototype designed to improve indoor ventilation while minimizing the possibility of rain entering the room. The system consists of an ESP32 microcontroller, DHT22 temperature sensor, Rain Drop sensor, SG90 servo motor, and a local web-based monitoring interface. The prototyping method was implemented through several stages, including system requirements analysis, control-flow design, hardware assembly, software development, system integration, and functional testing. The automatic control mechanism prioritizes rain detection, where the servo motor closes the window when rain is detected. When no rain is detected and the room temperature exceeds 28°C, the window automatically opens, while under other conditions, the window remains closed. Sensor readings and window status are transmitted via Wi-Fi, stored in a MySQL database, and presented through a website developed using PHP, HTML, CSS, and JavaScript. Functional testing confirmed that the system successfully performed the defined scenarios, including automatic window opening at a temperature of 31.6°C with a 0% rain-sensor reading, automatic closing at 26°C with a 49.5% rain-sensor reading, and manual closing at 32.1°C. The monitoring website also successfully presented temperature, rain-sensor readings, rain conditions, and window status. These results indicate that the developed prototype can effectively integrate environmental sensing, automatic window control, and local web-based monitoring into a functional IoT system.

Downloads

Download data is not yet available.

References

A. Arsyad, “PROTOTIPE JENDELA OTOMATIS BERBASIS ARDUINO DENGAN SENSOR SUHU DAN KELEMBABAN,” 2022.

S. Baco, A. L. Perdana, B. Huwae, and A. Imran, “RANCANG BANGUN ALAT PEMBUKA JENDELA OTOMATIS DENGAN MENGGUNAKAN SENSOR CAHAYA,” ILTEK : Jurnal Teknologi, vol. 19, no. 02, pp. 129–133, Oct. 2024, doi: 10.47398/iltek.v19i02.186.

Firdaus, M. Basyir, and A. Finawan, “RANCANG BANGUN PROTOTYPE SISTEM KENDALI KEAMANAN PADA JENDELA PINTAR BERBASIS INTERNET OF THING,” 2021.

M. Handika and I. Fenriana, “PERANCANGAN JENDELA OTOMATIS MENGGUNAKAN SENSOR CAHAYA DAN SENSOR HUJAN BERBASIS IOT,” vol. 4, no. 1, pp. 77–85, 2023.

Ermaliza, Dedek Juliani Ritonga, Siti Dian Fachroza Ritonga, and Supiyandi, “Rancang Bangun Sistem Jendela Otomatis Berbasis Mikrokontroler,” Jurnal Ilmu Komputer dan Teknik Informatika, vol. 2, no. 1, pp. 63–72, Jan. 2026, doi: 10.64803/juikti.v2i1.106.

M. Artiyasa, I. Himawan Kusumah, A. Suryana, A. De Wibowo Muhammad Sidik, and A. Pradiftha Junfithrana, “Comparative Study of Internet of Things (IoT) Platform for Smart Home Lighting Control Using NodeMCU with Thingspeak and Blynk Web Applications,” vol. 2, no. 1, pp. 1–6, 2020.

H. Kurnia, “IMPLEMENTASI IOT PADA SISTEM MONITORING SUHU DAN KELEMBABAN MENGGUNAKAN ESP32, FIREBASE DAN KODULAR,” 2025.

Downloads

Published

2026-10-15

How to Cite

Della Silvia, Fauzi, . A. ., & Syari, M. A. . (2026). Design and Development of an Internet of Things (IoT)-Based Automatic Window with an Automatic Opening and Closing System Based on Rain and Room Temperature Sensors. Journal of Artificial Intelligence and Engineering Applications (JAIEA), 6(1), 1357–1362. https://doi.org/10.59934/jaiea.v6i1.2979