0% found this document useful (0 votes)
69 views16 pages

Mini Progress 2.0-1

The document outlines a project titled 'Automatic Fan Speed Controller Using Temperature Sensor' developed by a group of students at Annasaheb Dange College of Engineering and Technology. The project aims to address issues with traditional fan systems by implementing automation based on real-time temperature readings, thereby optimizing comfort and energy efficiency. Key components include an ESP32 microcontroller, DHT11 temperature sensor, and L298N motor driver, with a detailed explanation of the design, coding, and expected outcomes.

Uploaded by

Abrar Shaikh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
69 views16 pages

Mini Progress 2.0-1

The document outlines a project titled 'Automatic Fan Speed Controller Using Temperature Sensor' developed by a group of students at Annasaheb Dange College of Engineering and Technology. The project aims to address issues with traditional fan systems by implementing automation based on real-time temperature readings, thereby optimizing comfort and energy efficiency. Key components include an ESP32 microcontroller, DHT11 temperature sensor, and L298N motor driver, with a detailed explanation of the design, coding, and expected outcomes.

Uploaded by

Abrar Shaikh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 16

Sant Dnyaneshwar Shikshan Sanstha’s

Annasaheb Dange College of Engineering and


Technology, Ashta
Department Of Mechanical Engineering

Project Title:-

Automatic Fan Speed Controller


Using Temperature Sensor
Sr. No Group Members Group Members Roll. No
1. Roll
Shaikh AbrarNo
Sagir 420

2. Chikte Aniket Ashok 307

3. Chavan Hrishikesh Vijay 304

4. Aghade Vaibhav Raju 346

5. Salunke Vaibhav Krushna 416

Guide Prof. G. N. Rakate


Name:-
Problem statement

1. Static Fan Control: Traditional fan systems often operate at fixed speeds, regardless of changes in room
temperature. This can result in inadequate cooling when temperatures rise or excessive energy use when
temperatures are low.
2. User Discomfort: Inconsistent air circulation can lead to discomfort, especially in environments where
temperature fluctuates throughout the day. Users often have to manually adjust fan speeds, which can be
inconvenient.
3. Energy Waste: Running fans at full speed when unnecessary leads to higher electricity costs and increased
energy consumption, contributing to environmental concerns.
4. Lack of Automation: Many existing solutions do not incorporate automation based on real-time temperature
readings, resulting in missed opportunities for optimizing comfort and energy efficiency.
Selection Of Materials

•Microcontroller: ESP32.
•Temperature Sensor: DHT11for accurate readings.
•Motor Driver: Tayal L298N DC fan with variable speed control.
•Display : Ihc 16x2 LCD Blue with I2C Module
•DC Fan: Ajeetech DC 12 volt regulated power source.
The relationship between Resistance,
Voltage, and Current (Ohm’s Law) in
this context, with real examples from
setup.

1. DHT11 Sensor
1. DHT11 Sensor (Temperature & Humidity Sensor)Output:
Small digital signal, powered by 3.3V or 5V from ESP32.
It draws around 1–2 mA.A pull-up resistor (usually 10kΩ) is used on the data pin.
Example:
Suppose DHT11 runs at 5V, with a 10kΩ pull-up resistor:
I = V / R = 5V / 10000Ω = 0.0005 A = 0.5 mA
2) L298N Motor Driver

2) L298N Motor Driver + 12V Fan


L298N is used to control motor (or fan) speed/direction via PWM.
The fan needs 12V and a certain amount of current, say 0.3A (300 mA).
Example:
Fan rating: 12V, 300 mA R = V / I = 12 / 0.3 = 40Ω (fan’s internal resistance)
If you connect the fan directly to 12V:
Power = V × I = 12 × 0.3 = 3.6 Watts
3. Relay Module

3. Relay Module (for switching fan ON/OFF)


Relay draws ~70 mA to activate its coil.
Example:
Control pin has 1kΩ resistor.
Input voltage from ESP32: 3.3V I = V / R = 3.3 / 1000 = 3.3 mA
Schematic Diagram

10/04/2025 8
Temperature vs Speed

10/04/2025 9
Design Of Model

10/04/2025 10
Arduino Code

#include <LiquidCrystal.h>

// Define LCD pins


LiquidCrystal lcd(7, 8, 9, 10, 11, 12);

// Define temperature sensor and fan pins


const int tempSensorPin = A0; // LM35 sensor connected to A0
const int fanPin = 3; // Fan connected to PWM pin 3

void setup() {
lcd.begin(16, 2); // Initialize LCD (16x2)
pinMode(fanPin, OUTPUT);
lcd.print("Fan Speed Control");
}

void loop() {
int sensorValue = analogRead(tempSensorPin); // Read temperature sensor value
float voltage = sensorValue * (5.0 / 1023.0); // Convert to voltage
float temperature = voltage * 100.0; // Convert to Celsius for LM35

int fanSpeed;

10/04/2025 11
// Adjust fan speed based on temperature
if (temperature < 20) {
fanSpeed = 0; // Fan OFF
} else if (temperature >= 20 && temperature < 25) {
fanSpeed = 64; // Low speed (25% PWM)
} else if (temperature >= 25 && temperature < 30) {
fanSpeed = 128; // Medium speed (50% PWM)
} else if (temperature >= 30 && temperature < 40) {
fanSpeed = 192; // High speed (75% PWM)
} else {
fanSpeed = 255; // Very high speed (100% PWM)
}

analogWrite(fanPin, fanSpeed); // Set fan speed

// Display temperature and fan speed on LCD


lcd.clear();
lcd.setCursor(0, 0);
lcd.print("Temp: ");
lcd.print(temperature);
lcd.print(" C");

lcd.setCursor(0, 1);
lcd.print("Fan Speed: ");
lcd.print(map(fanSpeed, 0, 255, 0, 100)); // Convert PWM to %
lcd.print("%");

delay(1000); // Wait 1 second before next reading


10/04/2025} 12
Variation of current with resistance at
constant voltage

10/04/2025 13
Conclusion:

From the graph and Ohm's Law (I = V / R), we observe:


As resistance increases, current decreases (inversely proportional).At a constant voltage, current flow
depends on resistance.
This explains :
1) Sensors with high resistance draw less current (safe for microcontrollers).
2) Power devices (like fans) with lower resistance because to draw more current and need drivers like
L298N or relay modules.

10/04/2025 14
Time Line and Work plan (as per the
Phases)

Sr
Activity/Month Nov- Jan-
Aug Sep Oct
No Dec Mar

1 Literature Review

2 Design of purification
system and solar tracker
Manufacturing of
3 purification system
Testing, Result Analysis,
Report Preparation,
4 Patent /Paper Publication,
Participation in SIH
•. Thank You…!

You might also like