Room Temperature and Humidity Control System Using Arduino and Blynk

Beni Purnomo, Sunardi Sunardi


The temperature and humidity of a room can be a problem that affects the comfort and health of its occupants. Issues such as excessively high or low temperatures and humidity levels can make it difficult for people to sleep and cause discomfort. Various solutions can be implemented, such as using IoT-based temperature and humidity monitoring systems, platform Blynk to optimize temperature and humidity control, and designing control circuits using actuators such as fans with relays. This control system uses the Blynk application to monitor and turn on and off the actuators in this study using a fan. Arduino Wemos D1 as the main processor, and for sensors, DHT22. Test method by placing the system in a room with an area of 3 x 3 m. The results of the test with the fastest average time were in the morning with a time of 10 minutes, 52 seconds. The longest average time was obtained during the day, with a test time of 14 minutes, 38 seconds. The difference in error between the system and the comparison is the highest at a temperature of 2.71% and at a humidity of 33.5%.


IoT; Control; Temperature; Humidity

Full Text:



P. Valdiserri, S. Cesari, M. Coccagna, P. Romio, and S. Mazzacane, “Experimental data and simulations of performance and thermal comfort in a patient room equipped with radiant ceiling panels,” Buildings, vol. 10, no. 12, pp. 1–18, 2020,

F. Fontes, R. Antão, A. Mota, and P. Pedreiras, “Adaptive Ambient Temperature Control of Indoor Environments,” IECON 2019 - 45th Annual Conference of the IEEE Industrial Electronics Society, pp. 255–260, 2019,

H. Xianzhe, “Room temperature and humidity monitoring and energy-saving system,” 2011 6th International Conference on Computer Science & Education (ICCSE), pp. 537–540, 2011,

J. Kumar and R. Kapoor, “Comparative Analysis of Room Temperature Controller Using Fuzzy Logic & PID,” IFAC Proceedings Volumes, vol. 3, no. 7, pp. 853–858, 2013,

N. Nikolov, O. Nakov, and D. Gotseva, “Design and Research of Smart IoT Control System for Electrical Appliances,” 2021 29th National Conference with International Participation (TELECOM), pp. 39–42, 2021,

A. Correia, L. Ferreira, P. Coimbra, and A. de Almeida, “Impacts of automated natural ventilation in the temperature and humidity of a distribution transformer room,” 2020 IEEE 14th International Conference on Compatibility, Power Electronics and Power Engineering (CPE-POWERENG), pp. 36–43, 2020,

F. H. Purwanto, E. Utami, and E. Pramono, “Implementation and Optimization of Server Room Temperature and Humidity Control System using Fuzzy Logic Based on Microcontroller,” J. Phys. Conf. Ser., vol. 1140, no. 1, 2018,

A. T. Nugraha, R. F. As’ad, Adianto, and V. H. Abdullayev, “Design And Fabrication of Temperature and Humidity Stabilizer on Low Voltage Distribution Panel with PLC-Based Fuzzy Method to Prevent Excessive Temperature and Humidity on The Panel,” J. Electron. Electromed. Eng. Med. Informatics, vol. 4, no. 3, pp. 170–177, 2022,

D. A. Setiawati, S. G. Utomo, Murad, and G. M. D. Putra, “Design of temperature and humidity control system on oyster mushroom plant house based on Internet of Things (IoT),” IOP Conf. Ser. Earth Environ. Sci., vol. 712, no. 1, 2021,

R. Mahkeswaran and A. K. Ng, "Smart and Sustainable Home Aquaponics System with Feature-Rich Internet of Things Mobile Application," 2020 6th International Conference on Control, Automation and Robotics (ICCAR), pp. 607-611, 2020,

C. Arkapati and W. Embamrung, “Development of Temperature and Humidity Control System in Straw Mushroom Growing Farms with the Concept of Internet of Things (IoT),” Proceedings of the 3rd International Conference of Computer, Environment, Agriculture, Social Science, Health Science, Engineering and Technology - ICEST, pp. 84–91, 2021,

S. M. Mahidul Hasan, M. R. Ahsan, and M. D. A. Satter, “IoT-Cloud-Based Low-Cost Temperature, Humidity, and Dust Monitoring System to Prevent Food Poisoning,” 2021 3rd International Conference on Electrical & Electronic Engineering (ICEEE), pp. 21–24, 2021,

M. Padli, I. D. Lestari, R. Ramlan, and I. Nasrullah, “Temperature and Humidity Control Device In The Server Room PT.BFI Finance Tbk. Karawaci Based on Internet Of Things (IoT),” Journal Bit-Tech, vol. 4, no. 3, pp. 123–130, 2022,

B. Guo, X. Wang, X. Zhang, J. Yang, and Z. Wang, “Research on the temperature & humidity monitoring system in the key areas of the hospital based on the internet of things,” Int. J. Smart Home, vol. 10, no. 7, pp. 205–216, 2016,

W. Budiharto, V. Andreas, E. Irwansyah, J. S. Suroso, and A. A. S. Gunawan, “Implementation of wemos d1 for wi-fi based controller tank-based military robot,” ICIC Express Lett. Part B Appl., vol. 12, no. 4, pp. 377–382, 2021,

M. Kirola, A. Rawat, N. Sharma, and A. K. Sinha, “Smart Home Automation Using Google Assistant,” SSRN Electron. J., 2019,

S. Purba, M. Hariri, R. J. Banjarnahor, and S. Natalia, “LED Control System Using Arduino Wemos D1 R1 Based on Web Server Communication Via Internet of Things (IoT),” FJST, vol. 2, no. 6, pp. 1397–1408, 2023,

A. OO and O. TT, “Design and Implementation of Arduino Microcontroller Based Automatic Lighting Control with I2C LCD Display,” J. Electr. Electron. Syst., vol. 7, no. 2, 2018,

I. G. M. N. Desnanjaya, A. A. G. B. Ariana, I. M. A. Nugraha, I. K. A. G. Wiguna, and I. M. U. Sumaharja, “Room Monitoring Uses ESP-12E Based DHT22 and BH1750 Sensors,” J. Robot. Control, vol. 3, no. 2, pp. 205–211, 2022,

I. G. M. N. Desnanjaya and P. Sugiartawan, “Controlling and Monitoring of Temperature and Humidity of Oyster Mushrooms in Tropical Climates,” IJEIS (Indonesian J. Electron. Instrum. Syst., vol. 12, no. 1, p. 69, 2022,



  • There are currently no refbacks.

Copyright (c) 2023 Beni Purnomo, Sunardi Sunardi


Control Systems and Optimization Letters
ISSN: 2985-6116
Publisher: Peneliti Teknologi Teknik Indonesia
Address: Jl. Empu Sedah No. 12, Pringwulung, Condongcatur, Kec. Depok, Kabupaten Sleman, Daerah Istimewa Yogyakarta 55281, Indonesia