Smart fan using room temperature sensor and human movement

Tri Yuga Ciputra, Muchlas Muchlas


Fans are electrical equipment that people often need in their daily lives. Fans that are available in the market generally use a manual button to turn it on and off. It is necessary to develop a system so that the fan can be turned on automatically without the need to press a button on the fan. The system designed in this study has PIR, LM35 and Ultrasonic sensor devices, while the control uses an Arduino Uno microcontroller. PIR testing is done by measuring the sensor output for each input object movement. The LM35 sensor was tested by comparing the temperature measurement results obtained with the measurement results using a standardized digital thermometer. The ultrasonic sensor is tested by comparing the detected distance reading to the actual distance using a ruler placed under the sensor. Overall system testing is done by observing the fan rotation for each given input parameters. The criteria used are if there is human movement and the room temperature is above 28 0C and the object distance is less than 16 cm, then fan 1 and fan 2 rotate simultaneously. Another criterion, if the temperature is below 28 0C, then fan 1 turns off even though there is human movement and fan 2 remains on because the object distance is limited to less than 16 cm. The results showed that the system had worked well, namely fan 1 and fan 2 had behaved according to the specified criteria. This system is expected to be used to assist humans in operating the fan automatically based on room temperature, human movement, and human distance.


Fan; Ultrasonic Sensors; LM35 Sensors; PIR Sensors; 2 Channel Relay

Full Text:



D. E. Bolanakis, “A Survey of Research in Microcontroller Education,” IEEE Revista Iberoamericana de Tecnologias del Aprendizaje, vol. 14, no. 2, pp. 50-57, 2019.

P. Roy, J. Saha, N. Dutta and S. Chandra, “Microcontroller based automated room light and fan controller," 2018 Emerging Trends in Electronic Devices and Computational Techniques (EDCT), pp. 1-4, 2018.

F. Kang, M. Zhou, X. Huang, J. Fan, L. Wei, J. Boulanger, L. Chen, “E-syt1 re-arranges STIM1 clusters to stabilize ring-shaped ER-PM contact sites and accelerate Ca2+ store replenishment,” Scientific Reports, vol. 9, no. 1, p. 3975, 2019.

J. Gao et al., “GridMonitoring: Secured Sovereign Blockchain Based Monitoring on Smart Grid,” in IEEE Access, vol. 6, pp. 9917-9925, 2018.

M. Afzal, Q. Huang, W. Amin, K. Umer, A. Raza and M. Naeem, “Blockchain Enabled Distributed Demand Side Management in Community Energy System with Smart Homes,” IEEE Access, vol. 8, pp. 37428-37439, 2020.

A. H. Pordanjani, S. Aghakhani, M. Afrand, B. Mahmoudi, O. Mahian, S. Wongwises, “An updated review on application of nanofluids in heat exchangers for saving energy,” Energy Conversion and Management, vol. 198, 111886. 2019.

X. Ru, S. Wang, S. Yan, “Exploring the effects of normative factors and perceived behavioral control on individual’s energy-saving intention: An empirical study in eastern China,” Resources, Conservation and Recycling, vol. 134, pp. 91-99, 2018.

B. Heidarshenas, N. Sina, S. Saleem, A. S. El-Shafay, M. Sharifpur, “Utilization of a solar system to charge lithium-ion batteries and using the heat generated in an in-line lithium-ion battery to heat a guard room,” Journal of Energy Storage, vol. 49, p. 104134, 2022.

G. Russo, A. Morandi, “A Numerical Study on the Energization of the Field Coils of a Full-Size Wind Turbine with Different Types of Flux Pumps,” Energies, vol. 15, no. 15, p. 5392, 2022.

T. Lin, Y. Lin, H. Ren, H, Chen, Q. Chen, Z. Li, “Development and key technologies of pure electric construction machinery,” Renewable and Sustainable Energy Reviews, vol. 132, p. 110080, 2020.

D. E. Kurniawan, M. Iqbal, J. Friadi, R. I. Borman, R. Rinaldi, “Smart monitoring temperature and humidity of the room server using raspberry pi and whatsapp notifications” Journal of Physics: Conference Series, vol. 1351, no. 1, p. 012006, 2019.

Y. Hosokawa, D. J. Casa, J. M. Trtanj, L. N. Belval, P. A. Deuster, S. M. Giltz, W. J. Williams, “Activity modification in heat: critical assessment of guidelines across athletic, occupational, and military settings in the USA, International journal of biometeorology, vol. 63, pp. 405-427, 2019.

Y. Xiong, J. Liu, J. Kim, “Understanding differences in thermal comfort between urban and rural residents in hot summer and cold winter climate,” Building and environment, vol. 165, pp. 106393, 2019.

C. Bennett, E. Ackerman, B. Fan, J. Bigham, P. Carrington, S. Fox, “Accessibility and The Crowded Sidewalk: Micromobility's Impact on Public Space,” Designing Interactive Systems Conference 2021, pp. 365-380, 2021.

B. Cui, C. Fan, J. Munk, N. Mao, F. Xiao, J. Dong, T. Kuruganti, “A hybrid building thermal modeling approach for predicting temperatures in typical, detached, two-story houses,” Applied energy, vol. 236, pp. 101-116, 2019.

L. Chen, P. Chen and Z. Lin, “Artificial Intelligence in Education: A Review,” IEEE Access, vol. 8, pp. 75264-75278, 2020.

P. N. Saranu, G. Abirami, S. Sivakumar, K. M. Ramesh, U. Arul and J. Seetha, “Theft Detection System using PIR Sensor,” 2018 4th International Conference on Electrical Energy Systems (ICEES), 2018, pp. 656-660, 2018.

S. L. Ullo and G. R. Sinha, “Advances in Smart Environment Monitoring Systems Using IoT and Sensors,” Sensors, vol. 20, no. 11, p. 3113, 2020.

S. Mercy S., A. Sivasubramanian, B. B. Natesh, J. M. Mathana, J. Vinfrank J. and G. Lokesh, "Internet of Things based Smart window and Temperature Monitoring System," 2020 6th International Conference on Advanced Computing and Communication Systems (ICACCS), Coimbatore, India, 2020, pp. 1046-1048, doi: 10.1109/ICACCS48705.2020.9074365.

V. A. Zhmud, N. O. Kondratiev, K. A. Kuznetsov, V. G. Trubin, L. V. Dimitrov, “Application of ultrasonic sensor for measuring distances in robotics. In Journal of Physics, vol. 1015, no. 3, p. 032189, 2018.



  • There are currently no refbacks.

Copyright (c) 2023 Tri Yuga Ciputra, Muchlas Muchlas

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Signal and Image Processing Letters

ISSN Online: 2714-6677 | Print: 2714-6669
Published by Association for Scientific Computing Electrical and Engineering (ASCEE)
Website :
Email 1 :
Email 2 :


View My Stats