Adaptive Fan Control System for Classrooms

Authors

  • Pradyoth A. Kedlaya
  • Yoganand S.
  • M. S. Shreekara
  • Pavan Kumar P. L.
  • Sapna P. J.

Keywords:

Arduino micro controller, IR (infrared radiation), MOSFET (metal oxide semiconductor field effect transistor), Motion sensors, PWM (pulse width modulation), Temperature sensors

Abstract

This paper presents designing and developing an Adaptive fan control system using an Arduino Microcontroller, LM35 sensor and FC-52 IR sensors. The fan speed is adjusted automatically based on room conditions such as temperature and occupancy of the classroom. This study set up the minimum and maximum threshold values for both temperature and occupants within the software. The LM35 temperature sensor measures the ambient temperature of the room and produces a corresponding analog voltage. To measure the occupants in the room, two FC-52 IR sensors are installed both in the entry and exit of the room. The Arduino microcontroller is the central processing unit, and hence it receives the data from the sensors and compares it with the set values. The system is designed to operate only when occupancy is detected, and the temperature exceeds the minimum threshold. Based on the obtained values, the fan speed is regulated using Pulse Width Modulation (PWM) signals, i.e., the higher the temperature and the number of occupants, the larger the duty cycle and the greater the fan speed. Hardware prototyping was made using breadboard assembly, and sensors were calibrated accordingly. Control logic was implemented using Arduino’s software development environment. Experimental results have shown 20-25% energy savings compared to traditional fan setups over 48 hours of testing. Future enhancements may include machine learning algorithms to predict temperatures and manage multi-room ventilation systems.

References

A. Jain, A. Sarkar, D. Ather, and D. Raj, “Temperature based automatic fan speed control system using Arduino,” Proceedings of the Advancement in Electronics & Communication Engineering 2022, Jul. 2022.

S. Kaushik, Y. S. Chouhan, N. Sharma, S. Singh, and P. Suganya, “Automatic fan speed control using temperature and humidity sensor and Arduino,” International Journal of Innovative Research in Science, Engineering and Technology, vol. 4, no. 2, 2018.

T. H. Nasution and L. A. Harahap, “Predict the percentage error of LM35 temperature sensor readings using simple linear regression analysis,” 2020 4rd International Conference on Electrical, Telecommunication and Computer Engineering (ELTICOM), Medan, Indonesia, 2020, pp. 242–245.

G. Soni, “Implementation of LM35 interfacing of temperature sensor with Arduino using LabVIEW 2015,” 2022 IEEE Delhi Section Conference (DELCON), New Delhi, India, 2022, pp. 1–3.

C. Leech, Y. P. Raykov, E. Ozer, and G. V. Merrett, “Real-time room occupancy estimation with Bayesian machine learning using a single PIR sensor and microcontroller,” in Proc. IEEE Sensors Applications Symposium (SAS), Glassboro, NJ, USA, 2017, pp. 1–6.

Y. Kuang, X. Gu, Z. Ye, Y. Gao, X. Wei and J. Tang, “Low-resolution IR sensor-based occupancy detection scheme for smart buildings,” 2021 13th International Conference on Wireless Communications and Signal Processing (WCSP), Changsha, China, 2021, pp. 1–5.

P. Jayashree, N. Hemanth, S. Yogeeswar, S. S. Lakshmi and M. Vimal Raaj, “Smart classroom for better pedagogical process and effective energy utilisation,” 2023 12th International Conference on Advanced Computing (ICoAC), Chennai, India, 2023, pp. 1–6.

M. Challa, K. Shreya Reddy, M. Jacob and N. S. Varna, “Smart energy management in classroom using IoT,” 2023 International Conference on Intelligent Data Communication Technologies and Internet of Things (IDCIoT), Bengaluru, India, 2023, pp. 81–83 .

N. A. Rabbani and Y.-L. Foo, “Home automation to reduce energy consumption,” International Journal of Technology, vol. 13, no. 6, pp. 1251–1260, Nov. 2022.

M. W. Nasrudin, N. A. Nordin, I. Ismail, M. I. Jais, A. N. A. Rahim, and W. A. Mustafa, “Smart classroom for electricity-saving with integrated IoT system,” Journal of Physics, vol. 2107, no. 1, Nov. 2021.

S. Peshne, S. Patil and P. Debre, “Speed control of single phase induction motor using single MOSFET,” 2018 International Conference on Smart Electric Drives and Power System (ICSEDPS), Nagpur, India, 2018, pp. 340–344.

A. Siddika and S. F. Nasrin, “Design and development of Arduino based automatic fan control system using PIR and LM35 Sensor,” Global Scientific Journal, vol. 6, no. 8, Aug. 2018.

Published

2026-04-03

How to Cite

Pradyoth A. Kedlaya, Yoganand S., M. S. Shreekara, Pavan Kumar P. L., & Sapna P. J. (2026). Adaptive Fan Control System for Classrooms. Journal of Microprocessor and Microcontroller Research, 63–73. Retrieved from https://www.matjournals.net/engineering/index.php/JoMMR/article/view/3353