PBLM Report
PBLM Report
(FY B-TECH)
(Prof.A.S.Aapate) (Dr.
P.G.Musrif)
Guide Head
Department of Engineering Sciences Department of Engineering
GROUP MEMBERS
The temperature sensor continuously monitors the surrounding temperature and feeds the
data to the microcontroller. Based on pre-programmed threshold values, the microcontroller
adjusts the output PWM (Pulse Width Modulation) signal to control the fan speed. This
ensures that the fan operates at low speed during cooler temperatures and increases speed as
the temperature rises, optimizing energy consumption.
The system also includes an LCD display to show real-time temperature readings and fan
status. Designed with cost-effective components, this project offers a practical solution for
smart home applications, especially in environments with fluctuating temperatures. The final
prototype was successfully tested under various conditions and demonstrated reliable and
responsive operation.
Table of Contents
1. Introduction .................................................................................
2.Problem Statement
3.Literature Review
o 3.1 Chemical-Based Insect Repellent
o 3.2 Ultrasonic Repellent Devices
o 3.3 UV Light-Based Insect Traps
o 3.4 Sensor-Based Automation in Insect Control
o 3.5 Renewable Energy in Embedded Applications
o 3.6 Literature Gaps and Motivation
4. Methodology ................................................................................
o 4.1 System Design Overview
o 4.2 Hardware Components and Functionality
o 4.3 Software Logic and Programming
o 4.4 Testing and Calibration
o 4.5 Limitations and Constraints
5. Results .................................................................................
6. Discussion ................................................................................
7. Conclusion ................................................................................
8. Future Scope ................................................................................
9. References ................................................................................
INTRODUCTION
Background
Smart automation is playing a vital role in improving human life by simplifying everyday
tasks. One such application is in the field of climate control, where traditional systems require
continuous monitoring and adjustment. This project focuses on a temperature-controlled
fan system that automatically operates based on surrounding temperature, reducing the need
for manual effort and increasing overall efficiency.
The system is designed to be modular, scalable, and easily replicable with low-cost
components. It addresses real-world problems of energy wastage and discomfort caused by
manual fans, especially in regions with extreme and variable temperatures.
Objectives
⮚ Design and develop a smart fan system using a temperature sensor and microcontroller.
⮚ Automate fan speed control based on real-time temperature.
⮚ Display temperature and fan status on an LCD screen.
⮚ Ensure low cost, high efficiency, and easy implementation.
Component Purpose
Arduino Uno Acts as the central microcontroller
DHT11 Sensor Temperature sensing
DC Fan The output device being controlled
I2C sensor and LCD (16x2) Displays current temperature and fan speed
L298(Motor-Driver) Used to vary fan speed according to
temperature
Breadboard & Wires For circuit connections
Arduino IDE For writing and uploading code to the
Arduino
Power Supply (12V-9A) Powers the circuit
Project Scope
This project is focused on building a basic prototype of a smart cooling device. Future
enhancements could include mobile app integration, Wi-Fi control, and advanced sensors for
humidity and air quality.
Relevance of the Project
The Temperature Control Fan project is highly relevant in today’s context where energy
efficiency, automation, and user comfort are major priorities. With the increasing demand for
smart home appliances and environmentally conscious solutions, automatic temperature-
regulating systems are becoming essential. This project addresses the need for reducing
manual intervention by introducing a self-regulating fan that adjusts its speed based on real-
time temperature data. It not only improves convenience and comfort but also contributes to
energy conservation by operating only as needed. Moreover, the project aligns with modern
trends in embedded systems, home automation, and the Internet of Things (IoT), making it a
practical and educational solution that bridges the gap between theoretical knowledge and
real-world application.
PROBLEM STATEMENT
In today’s world, where climate change and rising temperatures are becoming increasingly
concerning, managing indoor thermal comfort has become a priority for both residential and
commercial spaces. Traditional fans and cooling systems operate on manual controls, which
require human intervention to turn on/off or adjust speed according to changing
environmental temperatures. This not only results in energy inefficiency but also leads to
inconvenience and discomfort, especially in settings where real-time temperature monitoring
is essential.
In the face of escalating global temperatures and the increasing demand for energy-efficient
solutions, traditional cooling systems fall short in providing optimal comfort and
sustainability. Manual operation of fans not only leads to energy wastage but also fails to
adapt to fluctuating environmental conditions. This inefficiency is particularly pronounced in
regions with variable climates, where the need for dynamic cooling solutions is paramount.
⮚ Manual Operation: Most fans are still controlled manually and lack intelligence to
respond to temperature fluctuations.The reliance on human intervention for adjusting fan
speeds results in inconsistent comfort levels and unnecessary energy consumption.
⮚ Energy Inefficiency: Fans often run unnecessarily at high speeds regardless of ambient
conditions, consuming more electricity.Fans operating at constant speeds, regardless of
ambient temperature, contribute to higher electricity bills and increased carbon
footprints.
⮚ Lack of Affordability in Smart Devices: While smart air conditioning systems exist,
they are often expensive and inaccessible to a large portion of the population.While
advanced HVAC systems offer automated climate control, their high costs make them
inaccessible to a significant portion of the population.
⮚ Environmental Sustainability: In a time when energy conservation is vital, there's a
need for simple, eco-friendly solutions that reduce wastage.The pressing need to reduce
energy consumption and greenhouse gas emissions underscores the importance of
developing eco-friendly cooling solutions.
Project Objective
Literature Review
In addition, previous works have examined different control strategies such as proportional
control, fuzzy logic, and PWM-based fan modulation, each offering varying levels of
precision, energy efficiency, and cost-effectiveness. By analyzing these systems, one can
identify best practices and common challenges, including sensor calibration, response time,
noise reduction, and system stability.
Historical Overview
Manual Cooling Devices: Traditionally, fans were mechanical systems with
adjustable knobs or pull chains for speed regulation. While functional, these systems
required human intervention.
Programmable Devices: The introduction of programmable timers and thermostats in air
conditioners marked a step toward automation, but these devices were expensive and not
widely adopted for basic fans.
Embedded Systems in Home Automation: Over the past decade, researchers and hobbyists
have explored using microcontrollers like Arduino and Raspberry Pi to build intelligent home
appliances. These systems often use sensors to control outputs, offering great potential for
energy-saving devices.
METHODOLOGY
The methodology for developing a temperature sensor-controlled fan goes beyond basic
implementation. A robust system needs to be reliable, responsive, and adaptable to different
use cases. This section delves into how the project was structured from a design-thinking
perspective, how the program architecture was structured, and what steps were taken to
ensure modularity, accuracy, and scalability.
Implementation Steps
Circuit Design:
⮚ Write an Arduino sketch that reads temperature values from the sensor.
⮚ Use analog Write() to send varying voltage signals to the fan based on temperature.
⮚ Update the LCD display in real time with temperature and fan status.
⮚ Use artificial heat sources (e.g., a lamp or soldering) to test the sensor response.
⮚ Adjust thresholds (e.g., <32°C = Low, 32–37°C = Medium, >37°C = High).
⮚ Verify fan speed changes and LCD accuracy under different temperature conditions.
✔ Responsiveness: The fan must react quickly and smoothly to temperature changes.
✔ Efficiency: It should consume minimal power and only operate when necessary.
✔ User Transparency: The user should easily understand the system’s current state
through a display or visual indicators.
To achieve this, the architecture was structured into three core modules
Each of these modules was designed, tested, and refined independently before integrating
them into a cohesive unit.
⮚ Control Fan Speed(): Outputs the PWM signal to the motor controller, varying the fan
speed accordingly
⮚ Update Display(): Refreshes the LCD display with current temperature and fan status
(e.g., LOW, MEDIUM, HIGH).
⮚ Safety Checks(): Monitors for anomalies like extreme readings or sensor failure.
Each function was tested with mock values using serial debugging, and then linked into the
main control loop to ensure smooth, predictable execution.
Sensor Accuracy Testing: Compared readings from the DHT11 with a digital thermometer
in different environmental conditions.
Fan Motor Load Testing: Checked various fan models for startup voltages and operational
currents to select the most compatible and efficient option.
Code Simulation: Used serial prints to simulate sensor inputs and verify logic before
attaching hardware.
This modular approach reduced integration errors and made debugging far more manageable.
PROBLEMS FACED
Every project, no matter how simple, faces challenges during design and implementation.
Here are the key problems encountered during this project:
1. Sensor Inaccuracy
⮚ Issue: The DHT11 sensor was initially selected for its dual temperature and humidity
functionality, but it provided slower and sometimes inconsistent temperature readings.
⮚ Solution: Switched to the LM35 sensor for more stable analog outputs, improving
accuracy and response time.
⮚ Issue: Using a 9V battery caused voltage fluctuations affecting both the sensor and fan.
⮚ Solution: Used a regulated 5V adapter with a voltage regulator to stabilize the circuit.
⮚ Issue: Mapping temperature values to fan speeds was tricky, especially in ensuring
smooth transitions.
⮚ Solution: Used the map() function in Arduino and manually tested several ranges to fine-
tune responsiveness.
⮚ Issue: Initial attempts to integrate the DHT11 sensor with certain libraries caused
compatibility errors due to outdated or conflicting code in the Arduino IDE.
⮚ Solution: Updated the IDE and selected well-maintained libraries (like DHT.h and
Adafruit Unified Sensor) to resolve dependency issues and ensure smooth sensor
integration.
⮚ Issue: During testing, inconsistent behavior was traced to loose jumper wires and faulty
breadboard contacts.
⮚ Issue: The DC fan required a minimum voltage to start spinning, and lower PWM signals
(below ~25%) weren't sufficient to initiate rotation.
⮚ Solution: Added a startup boost in the code—a quick surge to a higher PWM duty cycle
—to overcome the static friction, then reduced it to the required speed.
7. COSTING
Sr Components Quantit Description Price
no. y
4. Breadboard 1 150
For circuit assembly
400 points
6. Hookup wires As 80
For connections between
require
components
d
2665/-
TOTAL:-
8. RESULTS
The final prototype of the temperature-controlled fan performed well under different test
conditions. Here are the key results:
2. Real-Time Monitoring
The LCD provided real-time updates of the temperature and fan state, which helped in testing
and validation.
The system operated smoothly for long durations without ove8rheating or functional errors.
Power consumption was minimal due to adaptive fan control.
The prototype was easy to operate, and its modular design allows for further integration with
IoT, app-based controls, or solar-powered systems.
In each scenario:
The fan initiated autonomously when the threshold (30°C) was crossed Smooth transition
in fan speed was observed without any noticeable lag or jitter.PWM output scaled
proportionally, maintaining comfort without sudden noise spikes or power surges.Ambient
recovery (cooling down) triggered a gradual return to lower fan speeds or complete stop.
Current temperature
Fan speed status (e.g., LOW, MEDIUM, HIGH)
This made the system user-friendly and interpretable for both technical and non-technical
users. Additionally, LEDs added as status indicators improved real-time understanding of fan
behavior during debugging and demonstrations.
DISCUSSION:
FURTHERMORE, THE MODULAR NATURE OF THE DESIGN ALLOWS FOR EASY UPGRADES, SUCH AS
ADDING AN LCD DISPLAY TO SHOW TEMPERATURE, A REMOTE CONTROL FEATURE, OR INTEGRATING
WITH A SMART HOME SYSTEM. THE PROJECT ALSO GIVES STUDENTS AND BEGINNERS HANDS-ON
EXPERIENCE WITH SENSOR INTEGRATION, CODING, AND BASIC ELECTRONICS.
DESPITE ITS SIMPLICITY, THIS SYSTEM IS HIGHLY RELEVANT IN TODAY’S PUSH FOR AUTOMATION AND
ENERGY CONSERVATION. IN REAL-WORLD SCENARIOS, SUCH A SYSTEM CAN BE IMPLEMENTED IN
9. CONCLUSION
Key Achievements
Future Scope
This project not only solves a real-world problem but also serves as a foundation for learning
embedded systems, sensor integration, and basic automation—an ideal project for students,
makers, and enthusiasts
⮚ FUTURE SCOPE:
2. LCD/DISPLAY INTERFACE:
A. A DIGITAL DISPLAY CAN BE ADDED TO SHOW REAL-TIME TEMPERATURE AND FAN SPEED,
ENHANCING USER FEEDBACK AND USABILITY.
4. ADAPTIVE ALGORITHMS:
8. HUMIDITY-BASED CONTROL:
9. AC FAN CONTROL:
A. CURRENTLY MORE SUITABLE FOR DC FANS, THE DESIGN CAN BE UPGRADED TO CONTROL AC FANS
USING TRIAC-BASED CIRCUITS FOR BROADER APPLICATIONS.
A. IF THE TEMPERATURE EXCEEDS A CRITICAL LEVEL, THE SYSTEM COULD TRIGGER ALARMS OR SEND
ALERTS TO PREVENT POTENTIAL HAZARDS.
A. THE SYSTEM CAN LOG TEMPERATURE AND FAN SPEED DATA OVER TIME TO ANALYZE USAGE
PATTERNS AND FURTHER OPTIMIZE PERFORMANCE.
o CAN BE ADAPTED FOR TEMPERATURE CONTROL IN SERVER ROOMS, GREENHOUSES, FACTORIES, OR ANY
SPACE WHERE THERMAL MANAGEMENT IS CRUCIAL.
Summary:
The Temperature-Based Fan Speed Control project presents a smart, efficient solution for
regulating fan speed automatically based on ambient temperature. By utilizing a temperature
sensor, a microcontroller, and a motor driver, the system effectively adjusts the fan’s speed
without the need for manual operation.
This project not only enhances user comfort by maintaining a suitable environment but also
conserves energy by running the fan only as needed. It demonstrates the real-world
application of sensors, embedded systems, and automation principles in a simple yet
impactful way.
The design is low-cost, scalable, and easy to implement, making it ideal for home, office, and
industrial environments. With possibilities for future enhancements—such as IoT integration,
machine learning, and solar powering—this project serves as a strong foundation for more
advanced automation systems.
Overall, the system achieves its goal of automatic fan speed control in a reliable and efficient
manner, aligning well with modern needs for sustainability and smart technology.
10.REFERENCES
1. Ahmed, M., Rahman, M., & Hossain, M. (2018). Temperature Based Fan Speed
Control System Using Arduino. International Journal of Scientific & Engineering
Research, 9(4), 123-128.
2. Kumar, S., & Nair, R. (2020). IoT Based Smart Fan Control System. International
Journal of Advanced Research in Electrical, Electronics and Instrumentation
Engineering, 9(5), 4567-4572.
3. Saha, O., Emon, M. H. M., Tamim, M. F., & Ridoy, M. A. U. (2023). Automatic Fan
Speed Control using Temperature and Humidity Sensor using Arduino.
ResearchGate.
4. Alcala, J. R., & Alcala, M. J. (2024). Smart Room Temperature Regulation with
Responsive Arduino-Driven Fan System. International Journal of Research in
Innovative Science and Engineering, 8(2), 45-50.
https://journal.hmjournals.com/index.php/IJRISE/article/view/5316
5. Jain, A., Sarkar, A., Ather, D., & Raj, D. (2022). Temperature Based Automatic Fan
Speed Control System using Arduino. SSRN Electronic Journal.
https://ssrn.com/abstract=4159188
6. Hilberer, A., Laurent, G., Lorin, A., Partier, A., Bobroff, J., Bouquet, F., ... &
Monteverde, M. (2018). Temperature-dependent transport measurements with
Arduino. arXiv preprint arXiv:1809.08075.
7. Tong, Y., Zhao, S., Yang, H., Cao, Z., Chen, S., & Chen, Z. (2021). A hybrid method
for overcoming thermal shock of non-contact infrared thermometers. arXiv preprint
arXiv:2104.10310.
8. Singhala, P., Shah, D., & Patel, B. (2014). Temperature Control using Fuzzy Logic.
arXiv preprint arXiv:1402.3654.
9. Javadpour, A., Memarzadeh Tehran, H., & Saghafi, F. (2020). A Temperature
Monitoring System Incorporating an Array of Precision Wireless Thermometers.
arXiv preprint arXiv:2006.11790.