SlideShare a Scribd company logo
1 of 11
Project Title
FAN AUTOMATION WITH TEMPERATURE
SENSOR
USING ARDUINO
About me:
MUHAMMAD DANISH HASSAN
BS(SE) COMSATS UNIVERSITY ISLAMABAD
WAH CAMPUS
OBJECTIVE
 TEMPERATURE MEASURMENT
 DEGITAL DISPLAY OF TEMPERATURE
 USE OF ARDUINO TO DISPLAY TEMPERATURE
 FAN AUTOMATION
COMPONENT
 LM35 sensor.
 Arduino uno
 Computer.
 LCD 16x2.
 Variable Resistor 10K.
 5V DC Relay.
 12V DC Fan.
WORKING
 When sensor reads temperature from surrounding , it feeds
the reading to analog input pin of Arduino.
 There is ADC in Arduino which converts the analog value into
digital value and displays the temperature on LCD.
 The principle of LM35 working is that as the temperature
increases, it sends the voltage accordingly to the Arduino for
conversion. The formula is
10mV = 1C rise in
WORKING…
 Here we have put the conditional statement in the Arduino
coding for fan switching. When temperature rises by 37C, the
digital pin8 of Arduino becomes active and send some voltage
to the dc relay. Then the DC relay amplifies the voltage to
some value enough to operate the fan and feeds it to the fan
and the fan turns on every time the pin8 is enabled.
CODING:
#include<LiquidCrystal.h>
LiquidCrystal lcd(12,11,5,4,3,2);
const int A= 0;
int FAN= 8;
void setup()
{
Serial.begin(9600);
lcd.begin(16,2);
pinMode(FAN, OUTPUT);
}
CODING…
void loop()
{
int v = analogRead(A);
float mV = (v / 1024.0) * 5000;
float Celsius = mV / 10;
CODING…
lcd.clear();
lcd.setCursor(0,0);
lcd.print("CENTIGRADE=");
lcd.print(celsius);
lcd.print("C");
lcd.setCursor(0,1);
lcd.print("FARENHEIT=");
lcd.print((celsius * 9)/5 + 32);
lcd.print("F");
delay(1000);
CODING…
if (celsius >37)
{
digitalWrite(8, HIGH);
}
else
digitalWrite(8, LOW);
}
THANK YOU

More Related Content

What's hot

11 adv revision_notes_term_3
11 adv revision_notes_term_311 adv revision_notes_term_3
11 adv revision_notes_term_3
CDI Aljeer
 
Embedded based eb simcard
Embedded based eb simcardEmbedded based eb simcard
Embedded based eb simcard
Ecwayt
 
Cody / A2 / Filament Lamp
Cody / A2 / Filament LampCody / A2 / Filament Lamp
Cody / A2 / Filament Lamp
Rama Chandra
 
The fundemental of electronics ebook
The fundemental of electronics ebookThe fundemental of electronics ebook
The fundemental of electronics ebook
Le Thanh Nhan
 

What's hot (19)

11 ADV KEY VOCABULARY
11 ADV KEY VOCABULARY 11 ADV KEY VOCABULARY
11 ADV KEY VOCABULARY
 
Digital Thermometer Arduino Based Abstract Details
Digital Thermometer Arduino Based Abstract DetailsDigital Thermometer Arduino Based Abstract Details
Digital Thermometer Arduino Based Abstract Details
 
Adc
AdcAdc
Adc
 
Adc&dac
Adc&dacAdc&dac
Adc&dac
 
Sensors and data acquisation system
Sensors and data acquisation systemSensors and data acquisation system
Sensors and data acquisation system
 
11 adv revision_notes_term_3
11 adv revision_notes_term_311 adv revision_notes_term_3
11 adv revision_notes_term_3
 
Embedded based eb simcard
Embedded based eb simcardEmbedded based eb simcard
Embedded based eb simcard
 
Build your own electronics lab
Build your own electronics labBuild your own electronics lab
Build your own electronics lab
 
ARDUINO BASED TIME AND TEMPERATURE DISPLAY
ARDUINO BASED TIME AND TEMPERATURE DISPLAY ARDUINO BASED TIME AND TEMPERATURE DISPLAY
ARDUINO BASED TIME AND TEMPERATURE DISPLAY
 
Mppt using p and o
Mppt using p and o Mppt using p and o
Mppt using p and o
 
Digital object counter (group 12)
Digital object counter (group 12)Digital object counter (group 12)
Digital object counter (group 12)
 
ADC Interfacing with pic Microcontrollert
ADC Interfacing with pic MicrocontrollertADC Interfacing with pic Microcontrollert
ADC Interfacing with pic Microcontrollert
 
Project technical report
Project technical  reportProject technical  report
Project technical report
 
Design an Automatic Temperature Control System for Smart Electric Fan Using PIC
Design an Automatic Temperature Control System for Smart Electric Fan Using PICDesign an Automatic Temperature Control System for Smart Electric Fan Using PIC
Design an Automatic Temperature Control System for Smart Electric Fan Using PIC
 
To measure the intensity of light using LDR sensor by calibrating voltage wit...
To measure the intensity of light using LDR sensor by calibrating voltage wit...To measure the intensity of light using LDR sensor by calibrating voltage wit...
To measure the intensity of light using LDR sensor by calibrating voltage wit...
 
Cody / A2 / Filament Lamp
Cody / A2 / Filament LampCody / A2 / Filament Lamp
Cody / A2 / Filament Lamp
 
Key vocabulary 10 &amp; 11 g
Key vocabulary 10 &amp; 11 gKey vocabulary 10 &amp; 11 g
Key vocabulary 10 &amp; 11 g
 
The fundemental of electronics ebook
The fundemental of electronics ebookThe fundemental of electronics ebook
The fundemental of electronics ebook
 
รายละเอียด
รายละเอียดรายละเอียด
รายละเอียด
 

Similar to Project presentation

Arduino Workshop (3).pptx
Arduino Workshop (3).pptxArduino Workshop (3).pptx
Arduino Workshop (3).pptx
HebaEng
 
Temperature based speed control of fan
Temperature based speed control of fanTemperature based speed control of fan
Temperature based speed control of fan
Çdh Suman
 

Similar to Project presentation (20)

Temperature detection and control
Temperature detection and controlTemperature detection and control
Temperature detection and control
 
DESIGN OF TEMPERATURE BASED FAN SPEED CONTROL and MONITORING USING ARDUINO
DESIGN OF TEMPERATURE BASED FAN SPEED CONTROL and MONITORING USING ARDUINODESIGN OF TEMPERATURE BASED FAN SPEED CONTROL and MONITORING USING ARDUINO
DESIGN OF TEMPERATURE BASED FAN SPEED CONTROL and MONITORING USING ARDUINO
 
Arduino based automatic temperature controlled fan speed regulator
Arduino based automatic temperature controlled fan speed regulatorArduino based automatic temperature controlled fan speed regulator
Arduino based automatic temperature controlled fan speed regulator
 
Automatic room temperature controlled fan using arduino uno microcontroller
Automatic room temperature controlled fan using   arduino uno  microcontrollerAutomatic room temperature controlled fan using   arduino uno  microcontroller
Automatic room temperature controlled fan using arduino uno microcontroller
 
Electronz_Chapter_3.pptx
Electronz_Chapter_3.pptxElectronz_Chapter_3.pptx
Electronz_Chapter_3.pptx
 
Physical prototyping lab2-analog_digital
Physical prototyping lab2-analog_digitalPhysical prototyping lab2-analog_digital
Physical prototyping lab2-analog_digital
 
Physical prototyping lab2-analog_digital
Physical prototyping lab2-analog_digitalPhysical prototyping lab2-analog_digital
Physical prototyping lab2-analog_digital
 
Automatic room ventilation.pptx
Automatic room ventilation.pptxAutomatic room ventilation.pptx
Automatic room ventilation.pptx
 
Arduino Workshop (3).pptx
Arduino Workshop (3).pptxArduino Workshop (3).pptx
Arduino Workshop (3).pptx
 
Temperature based speed control of fan
Temperature based speed control of fanTemperature based speed control of fan
Temperature based speed control of fan
 
Udayan_219209024_DA1001_FTP.pptx
Udayan_219209024_DA1001_FTP.pptxUdayan_219209024_DA1001_FTP.pptx
Udayan_219209024_DA1001_FTP.pptx
 
Batch 12(temperature based fan speed control &amp; monitor)
Batch  12(temperature based fan speed control &amp; monitor)Batch  12(temperature based fan speed control &amp; monitor)
Batch 12(temperature based fan speed control &amp; monitor)
 
Notes arduino workshop_15
Notes arduino workshop_15Notes arduino workshop_15
Notes arduino workshop_15
 
Automaticdcfanenglish 170102145329
Automaticdcfanenglish 170102145329Automaticdcfanenglish 170102145329
Automaticdcfanenglish 170102145329
 
Automatic DC Fan Using Arduino
Automatic DC Fan Using ArduinoAutomatic DC Fan Using Arduino
Automatic DC Fan Using Arduino
 
Humidity and Temperature Measurement Using Arduino
Humidity and Temperature Measurement Using ArduinoHumidity and Temperature Measurement Using Arduino
Humidity and Temperature Measurement Using Arduino
 
03 analogue anrduino fundamentals
03   analogue anrduino fundamentals03   analogue anrduino fundamentals
03 analogue anrduino fundamentals
 
Temperature based fan speed control & monitoring using
Temperature based fan speed control & monitoring usingTemperature based fan speed control & monitoring using
Temperature based fan speed control & monitoring using
 
MICROPROCESSOR_CEP_PRESENTATION.pptx
MICROPROCESSOR_CEP_PRESENTATION.pptxMICROPROCESSOR_CEP_PRESENTATION.pptx
MICROPROCESSOR_CEP_PRESENTATION.pptx
 
Arduino based digital smart thermometer.pptx
Arduino based digital smart thermometer.pptxArduino based digital smart thermometer.pptx
Arduino based digital smart thermometer.pptx
 

Recently uploaded

VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Christo Ananth
 

Recently uploaded (20)

BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spain
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Palanpur 7001035870 Whatsapp Number, 24/07 Booking
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 

Project presentation