Automatic Fan With Ultrasonic Distance Sensor HC-Sr04
Abstract
Increasingly sophisticated technology has a major impact on the creation of innovations in the development or creation of new electronic devices Fans are conventional electronic devices that are often used as air circulation regulators during hot weather. To overcome this problem, sensor technology can be used to detect the presence of humans and regulate the fan automatically. Using ultrasonic sensors, the fan can be set to turn on or off according to the distance or presence of people around it. A fan is considered a flexible air conditioner because it can be easily moved from one place to another. In this mode, the system works based on the ultrasonic distance sensor HC-SR04, the reading from the sensor is used as a parameter to turn the fan on or off using Adapters are devices that function to convert AC voltage to DC, meaning that alternating electric current (AC) voltage will be converted to unidirectional electric current voltage (DC). In principle the working principle of the adapter, it can be said to function as a power supply device.
Downloads
References
Azzuwa, P, et al. (2024). Enturin as an Internet of Things (IoT)-based application with Nodemcu Esp8266 and HC-Sr04 for the energy efficiency of offshore wind turbines. Lkti Inergyc, 1(1), 1-12.
Butarbutar, R. E, & et al. (2025). Room temperature controller based on the number of people in the room based on the Internet of Things. Journal of Information Systems Research, 2(3), 115-120.
D. Nusyirwan, et al. (2021). Prototype of an Automatic Fan with LM35 Sensor as an Electricity Saving in Sdn 002 East Tanjungpinang,". J. Informatics Vocat. Educ., Vol. 4, No. 1, 27-40.
Fernanda, M. I, & Wildian, W. (2023). Design and build an automatic mist disinfection machine to save water. Journal of Physics Unand, 12(2), 304-310.
Fernanda, M. I, & Wildian, W. (2023). Design and build an automatic mist disinfection machine to save water. Journal of Physics Unand, 12(2), 304-310.
H. Sanjaya, J, & et al. (2021). The automatic fan uses Dht11 temperature sensor. Seminar on Science, 187-191.
Kusumah H, & Pradana R. A. . (2019). Application of Esp32-based Microcontroller and Internet of Things Interfacing Trainers in Interfacing Courses. Journal of Stories, Vol. 5, No. 2, 1-15.
Martha, R, & et al. (2019). The automatic fan uses a temperature sensor and an infrared sensor with an atmega32 microcontroller.
Muttaqin, I. R, & Santoso, D. B. (2021). Prototype of Arduino Uno based automatic fence with ultrasonic sensor HC-Sr04. Je-Unisla, 6(2), 41-45.
Nadiansyah, R. R. (2018). Esp8226 Mcu Node-Based Fan Control System.Unpublished thesis. Stmik Akakom Yogyakart.
Pradana, R. W., & et al. (2024). Design and build an automatic water level monitoring system using an Arduino Uno-based ultrasonic sensor (HC-Sr04) with a Microsoft Visual Basic 6.0-based computer interface. Journal of Engineering and Science, 3(1), 13-24.
Pratiwi, D, & et al. (2020). Increase public knowledge of porous drainage which functions as a place for rainwater infiltration. Journal Of Social Sciences And Technology For Community Service (JSSTCS), 1(2).
Putri, M. E. (2021). The design of the automatic fan control system uses Dht11 temperature sensor. Distance sensor HC-Sr04 and Atmega 328-based PAR sensor (Doctoral Dissertation, Sriwijaya State Polytechnic).
Rachman, H. I. (2020). Local Wisdom in Forest Management. Qmedia, .
Rosmiati, R, & et al. (2021). The prototype of the automatic fan uses Dht22 temperature sensor, Hc-Sr04 ultrasonic, and Bluetooth Hc-05 based microcontroller. D'computare: Scientific Journal of Information Technology and Computer Science, 11(2), 50-56.
S Indarwati, et al. (2019). The power requirement of the air conditioner when there is a temperature difference. Journal of Mechanical Technology, Vol. 15, No. 1, 1-5.
Samidjo, J, & Suharso, Y. (2017). Understand global warming and climate change. Journal of Ivet University, 24.
Samidjo, J, & Suharso, Y. (2017). Understand global warming and climate change. Online Journal Of Ivet University, 24(2).
Samsugi, S, & et al. (2020). The automatic irrigation controller system uses an Arduino Uno microcontroller. Jtst, Vol. 01, No. 01, 17-22.
Sari, I. M, & Firmawati, N. (2020). Design and build automatic temperature and water level control systems in Arduino Uno-based dairy pens. Journal of Physics Unand, 9(4), 558-564.
Sari, M. P, & et al. (2021). Designing a Library Management Information System Using the Fast Method (Framework For The Application System Thinking)(Case Study: Sman 1 Negeri Katon). Journal of Information Technology and Systems, 2(2).
Sudrajat, R, & Rofifah, F. (2023). Design and build a fan control system with temperature sensors and ultrasonic sensors based on Arduino Uno. Remik: Research and E-Journal of Computer Informatics Management, 7(1), 555-564.
Sunandar Y, et al. (2022). Multi-feature fan design using ultrasonic sensors. Medical Technician: J. Tek. Electromedik Indones., Vol. 4, No. 1, 45-54.
Suryadi, L, & et al. (2015). The design of the automatic fan control system uses the LM35 temperature sensor based on the Atmega16 microcontroller. Journal of Endocrinology. 2(2), 76-82.
Wijaya, I, & Arifin, M. (2017). Working principle and structure of ultrasonic sensor HC-Sr04. . Journal of Electronics and Communication, 6(4), 78-85.
Copyright (c) 2026 Muhammad Nuhkenda AlFasyah Fasyah, Kemas Wahyu Hidayat, Dedy Haryanto

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
This is an open-access article distributed under the terms of the Creative Commons Attribution-ShareAlike 4.0 International License which permits unrestricted use, distribution, and reproduction in any medium. Users are allowed to read, download, copy, distribute, search, or link to full-text articles in this journal without asking by giving appropriate credit, provide a link to the license, and indicate if changes were made. All of the remix, transform, or build upon the material must distribute the contributions under the same license as the original.












