SlideShare a Scribd company logo
1 of 4
International Islamic University
Islamabad
PROJECT REPORT
TEMPERATURE CONTROL FAN
Submitted by
MAFAZAHMED 1882-FET/BSEE/F12
COMPONENTS:
 Microcontroller 89c52.
 ADC0804
 LM35
 L293D
 Crystal Ocillator 11.0592MHz
 Capacitors
 Resistors.
 Fan
 Battery
Code:
#include<at89x51.h>
#define Read_Data P1
unsigned char show_data;
unsigned int a,c,q;
sbit Write = P3^6;
sbit Read = P3^5;
sbit Intr = P3^7;
sbit cs = P3^4;
sbit m=P3^0;
//***********************ADC*************************//
void delay2(unsigned int ms )
{
unsigned int i,j ;
for(i=0;i<ms;i++)
for(j=0; j<113; j++);
}
void ADC(void)
{
Read = 1;
Write = 0;
delay2(1);
Write = 1;
while(Intr == 1);
Read = 0;
show_data = Read_Data ;
delay2(1);
Intr = 1;
}
//**************main****************************//
void main()
{
Read_Data = 0xFF;
cs=0;
while(1)
{
ADC();
if (show_data<=0x0F) // less than and equal to 15
{
m=0;
delay2(0);
m=0;
delay2(50);
}
else if (show_data>0x0F & show_data<=0x19) // between 15 and 25
{
m=1;
delay2(25);
m=0;
delay2(25);
}
else if (show_data<=0x28 & show_data>0x19) // between 25 and 40
{
m=1;
delay2(40);
m=0;
delay2(10);
}
else if (show_data>0x28) //greater than 40
{
m=1;
}}}

More Related Content

What's hot

DAC , Digital to analog Converter
DAC , Digital to analog ConverterDAC , Digital to analog Converter
DAC , Digital to analog ConverterHossam Zein
 
EMBEDDED SYSTEM
EMBEDDED  SYSTEMEMBEDDED  SYSTEM
EMBEDDED SYSTEMAIRTEL
 
Arduino Introduction (Blinking LED) Presentation (workshop #5)
Arduino  Introduction (Blinking LED)  Presentation (workshop #5)Arduino  Introduction (Blinking LED)  Presentation (workshop #5)
Arduino Introduction (Blinking LED) Presentation (workshop #5)UNCG University Libraries
 
Introduction on STM32 Platform and Presentation of a Water-Level & Temperatur...
Introduction on STM32 Platform and Presentation of a Water-Level & Temperatur...Introduction on STM32 Platform and Presentation of a Water-Level & Temperatur...
Introduction on STM32 Platform and Presentation of a Water-Level & Temperatur...Julio César Carrasquel
 
Msp 430 architecture module 1
Msp 430 architecture module 1Msp 430 architecture module 1
Msp 430 architecture module 1SARALA T
 
Automatic led night lamp
Automatic led night lampAutomatic led night lamp
Automatic led night lamppratik parekh
 
Temperature Controlled Fan Project
Temperature Controlled Fan ProjectTemperature Controlled Fan Project
Temperature Controlled Fan ProjectAditya Ratnaparkhi
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architectureDominicHendry
 
AUTOMATIC IRRIGATION SYSTEM USING ARDUINO UNO
AUTOMATIC IRRIGATION SYSTEM USING ARDUINO UNOAUTOMATIC IRRIGATION SYSTEM USING ARDUINO UNO
AUTOMATIC IRRIGATION SYSTEM USING ARDUINO UNORizki Verdian
 
Current measurement fundamentals (draft 8) (1)
Current measurement fundamentals (draft 8) (1)Current measurement fundamentals (draft 8) (1)
Current measurement fundamentals (draft 8) (1)Kristin Allen
 
Cyclo converters
Cyclo convertersCyclo converters
Cyclo convertersJaya Shree
 
PHOTO ELECTRIC SENSORS.pptx
PHOTO ELECTRIC SENSORS.pptxPHOTO ELECTRIC SENSORS.pptx
PHOTO ELECTRIC SENSORS.pptxshadrickkasuba
 
Design Basics on Power Amplifiers
Design Basics on Power Amplifiers Design Basics on Power Amplifiers
Design Basics on Power Amplifiers ls234
 
Automatic fan controller based on room temperature
Automatic fan controller based on room temperatureAutomatic fan controller based on room temperature
Automatic fan controller based on room temperaturenikhilreddy411
 
Basic plc
Basic plcBasic plc
Basic plcmnamky
 

What's hot (20)

DAC , Digital to analog Converter
DAC , Digital to analog ConverterDAC , Digital to analog Converter
DAC , Digital to analog Converter
 
EMBEDDED SYSTEM
EMBEDDED  SYSTEMEMBEDDED  SYSTEM
EMBEDDED SYSTEM
 
Lpc1768
Lpc1768Lpc1768
Lpc1768
 
Arduino Introduction (Blinking LED) Presentation (workshop #5)
Arduino  Introduction (Blinking LED)  Presentation (workshop #5)Arduino  Introduction (Blinking LED)  Presentation (workshop #5)
Arduino Introduction (Blinking LED) Presentation (workshop #5)
 
Ec8791 lpc2148
Ec8791 lpc2148Ec8791 lpc2148
Ec8791 lpc2148
 
Class 17 integral and derivative control mode
Class 17   integral and derivative control modeClass 17   integral and derivative control mode
Class 17 integral and derivative control mode
 
Introduction on STM32 Platform and Presentation of a Water-Level & Temperatur...
Introduction on STM32 Platform and Presentation of a Water-Level & Temperatur...Introduction on STM32 Platform and Presentation of a Water-Level & Temperatur...
Introduction on STM32 Platform and Presentation of a Water-Level & Temperatur...
 
Msp 430 architecture module 1
Msp 430 architecture module 1Msp 430 architecture module 1
Msp 430 architecture module 1
 
Automatic led night lamp
Automatic led night lampAutomatic led night lamp
Automatic led night lamp
 
Temperature Controlled Fan Project
Temperature Controlled Fan ProjectTemperature Controlled Fan Project
Temperature Controlled Fan Project
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architecture
 
AUTOMATIC IRRIGATION SYSTEM USING ARDUINO UNO
AUTOMATIC IRRIGATION SYSTEM USING ARDUINO UNOAUTOMATIC IRRIGATION SYSTEM USING ARDUINO UNO
AUTOMATIC IRRIGATION SYSTEM USING ARDUINO UNO
 
Plc seminar abu
Plc seminar    abuPlc seminar    abu
Plc seminar abu
 
Current measurement fundamentals (draft 8) (1)
Current measurement fundamentals (draft 8) (1)Current measurement fundamentals (draft 8) (1)
Current measurement fundamentals (draft 8) (1)
 
Embedded c
Embedded cEmbedded c
Embedded c
 
Cyclo converters
Cyclo convertersCyclo converters
Cyclo converters
 
PHOTO ELECTRIC SENSORS.pptx
PHOTO ELECTRIC SENSORS.pptxPHOTO ELECTRIC SENSORS.pptx
PHOTO ELECTRIC SENSORS.pptx
 
Design Basics on Power Amplifiers
Design Basics on Power Amplifiers Design Basics on Power Amplifiers
Design Basics on Power Amplifiers
 
Automatic fan controller based on room temperature
Automatic fan controller based on room temperatureAutomatic fan controller based on room temperature
Automatic fan controller based on room temperature
 
Basic plc
Basic plcBasic plc
Basic plc
 

Viewers also liked

Temperature Controlled Fan Report
Temperature Controlled Fan ReportTemperature Controlled Fan Report
Temperature Controlled Fan ReportPeeyush Pashine
 
Temperature based speed control of fan using microcontroller
Temperature based speed control of fan using microcontrollerTemperature based speed control of fan using microcontroller
Temperature based speed control of fan using microcontrollerÇdh Suman
 
TEMPERATURE BASED FAN SPEED CONTROLLER
TEMPERATURE  BASED  FAN  SPEED  CONTROLLERTEMPERATURE  BASED  FAN  SPEED  CONTROLLER
TEMPERATURE BASED FAN SPEED CONTROLLERTarek Erin
 
Temperature Based Fan Controller
Temperature Based Fan Controller Temperature Based Fan Controller
Temperature Based Fan Controller richa1910n
 
Low drift high impedance jfet dc voltmeter
Low drift high impedance jfet dc voltmeterLow drift high impedance jfet dc voltmeter
Low drift high impedance jfet dc voltmeterMafaz Ahmed
 
Automatic DC Fan using LM35 (Japanese version)
Automatic DC Fan using LM35 (Japanese version)Automatic DC Fan using LM35 (Japanese version)
Automatic DC Fan using LM35 (Japanese version)Nurlatifa Haulaini
 
A course in fuzzy systems and control by li xin wang solution manual
A course in fuzzy systems and control by li xin wang solution manualA course in fuzzy systems and control by li xin wang solution manual
A course in fuzzy systems and control by li xin wang solution manualMafaz Ahmed
 
Solar inverter with autosynchronization using microcontroller
Solar inverter with autosynchronization using microcontrollerSolar inverter with autosynchronization using microcontroller
Solar inverter with autosynchronization using microcontrollerDhaval Brahmbhatt
 
Ppt on interfacing led and 7 segment with 8951
Ppt on interfacing led and 7 segment with 8951 Ppt on interfacing led and 7 segment with 8951
Ppt on interfacing led and 7 segment with 8951 pooja jaiswal
 
Home automation using_pc
Home automation using_pcHome automation using_pc
Home automation using_pcSumit Sonawane
 
Electronic Instrumentation and Measurement Solution Manual
Electronic Instrumentation and Measurement Solution ManualElectronic Instrumentation and Measurement Solution Manual
Electronic Instrumentation and Measurement Solution ManualMafaz Ahmed
 
Real Time Clock Interfacing with FPGA
Real Time Clock Interfacing with FPGAReal Time Clock Interfacing with FPGA
Real Time Clock Interfacing with FPGAMafaz Ahmed
 
street light intensity control using micro-controller
street light intensity control using micro-controller street light intensity control using micro-controller
street light intensity control using micro-controller krunal103
 
xcel energy November 2008
xcel energy  November 2008 xcel energy  November 2008
xcel energy November 2008 finance26
 
Nothing Is Possible Until It's On Facebook
Nothing Is Possible Until It's On FacebookNothing Is Possible Until It's On Facebook
Nothing Is Possible Until It's On FacebookNassos Kappa
 

Viewers also liked (20)

Temperature Controlled Fan Report
Temperature Controlled Fan ReportTemperature Controlled Fan Report
Temperature Controlled Fan Report
 
Temperature based speed control of fan using microcontroller
Temperature based speed control of fan using microcontrollerTemperature based speed control of fan using microcontroller
Temperature based speed control of fan using microcontroller
 
TEMPERATURE BASED FAN SPEED CONTROLLER
TEMPERATURE  BASED  FAN  SPEED  CONTROLLERTEMPERATURE  BASED  FAN  SPEED  CONTROLLER
TEMPERATURE BASED FAN SPEED CONTROLLER
 
Temperature Based Fan Controller
Temperature Based Fan Controller Temperature Based Fan Controller
Temperature Based Fan Controller
 
Low drift high impedance jfet dc voltmeter
Low drift high impedance jfet dc voltmeterLow drift high impedance jfet dc voltmeter
Low drift high impedance jfet dc voltmeter
 
Report
ReportReport
Report
 
Automatic DC Fan using LM35 (Japanese version)
Automatic DC Fan using LM35 (Japanese version)Automatic DC Fan using LM35 (Japanese version)
Automatic DC Fan using LM35 (Japanese version)
 
A course in fuzzy systems and control by li xin wang solution manual
A course in fuzzy systems and control by li xin wang solution manualA course in fuzzy systems and control by li xin wang solution manual
A course in fuzzy systems and control by li xin wang solution manual
 
Solar inverter with autosynchronization using microcontroller
Solar inverter with autosynchronization using microcontrollerSolar inverter with autosynchronization using microcontroller
Solar inverter with autosynchronization using microcontroller
 
Automatic DC Fan using LM35 (english version)
Automatic DC Fan using LM35 (english version)Automatic DC Fan using LM35 (english version)
Automatic DC Fan using LM35 (english version)
 
Ppt on interfacing led and 7 segment with 8951
Ppt on interfacing led and 7 segment with 8951 Ppt on interfacing led and 7 segment with 8951
Ppt on interfacing led and 7 segment with 8951
 
Home automation using_pc
Home automation using_pcHome automation using_pc
Home automation using_pc
 
Electronic Instrumentation and Measurement Solution Manual
Electronic Instrumentation and Measurement Solution ManualElectronic Instrumentation and Measurement Solution Manual
Electronic Instrumentation and Measurement Solution Manual
 
Real Time Clock Interfacing with FPGA
Real Time Clock Interfacing with FPGAReal Time Clock Interfacing with FPGA
Real Time Clock Interfacing with FPGA
 
street light intensity control using micro-controller
street light intensity control using micro-controller street light intensity control using micro-controller
street light intensity control using micro-controller
 
ROARERS
ROARERSROARERS
ROARERS
 
xcel energy November 2008
xcel energy  November 2008 xcel energy  November 2008
xcel energy November 2008
 
Snick English
Snick EnglishSnick English
Snick English
 
Seoul topis
Seoul topisSeoul topis
Seoul topis
 
Nothing Is Possible Until It's On Facebook
Nothing Is Possible Until It's On FacebookNothing Is Possible Until It's On Facebook
Nothing Is Possible Until It's On Facebook
 

Similar to Temperature Control Fan Using 8051 Microcontroller

Data Acquisition
Data AcquisitionData Acquisition
Data Acquisitionazhar557
 
New text document
New text documentNew text document
New text documentRoja Patro
 
PROGRAMMING ADC and DAC-mbed.pdf
PROGRAMMING ADC and DAC-mbed.pdfPROGRAMMING ADC and DAC-mbed.pdf
PROGRAMMING ADC and DAC-mbed.pdfvidhyalakshmi153619
 
lab_ADC.pdf
lab_ADC.pdflab_ADC.pdf
lab_ADC.pdfboukomra
 
What will be quantization step size in numbers and in voltage for th.pdf
What will be quantization step size in numbers and in voltage for th.pdfWhat will be quantization step size in numbers and in voltage for th.pdf
What will be quantization step size in numbers and in voltage for th.pdfSIGMATAX1
 
avenger96-schematics.pdf
avenger96-schematics.pdfavenger96-schematics.pdf
avenger96-schematics.pdfOskarsAni
 
SAMSUNG SCALA-14UL BA41-01881A PDF.pdf
SAMSUNG SCALA-14UL BA41-01881A PDF.pdfSAMSUNG SCALA-14UL BA41-01881A PDF.pdf
SAMSUNG SCALA-14UL BA41-01881A PDF.pdfHomeCell3
 
Quanta ze7 r1b_schematics
Quanta ze7 r1b_schematicsQuanta ze7 r1b_schematics
Quanta ze7 r1b_schematicsDATACORP
 
Example MVS Console Interface
Example MVS Console InterfaceExample MVS Console Interface
Example MVS Console InterfaceDavid Young
 
Dam gate open close lpc prog
Dam gate open close lpc progDam gate open close lpc prog
Dam gate open close lpc prognikhil dixit
 
ECS H77H2-M4 rA.pptx
ECS H77H2-M4 rA.pptxECS H77H2-M4 rA.pptx
ECS H77H2-M4 rA.pptxssusercda6b5
 
Embedded systems design @ defcon 2015
Embedded systems design @ defcon 2015Embedded systems design @ defcon 2015
Embedded systems design @ defcon 2015Rodrigo Almeida
 
Analog To Digital Conversion (ADC) Programming in LPC2148
Analog To Digital Conversion (ADC) Programming in LPC2148Analog To Digital Conversion (ADC) Programming in LPC2148
Analog To Digital Conversion (ADC) Programming in LPC2148Omkar Rane
 

Similar to Temperature Control Fan Using 8051 Microcontroller (20)

FINISHED_CODE
FINISHED_CODEFINISHED_CODE
FINISHED_CODE
 
Data Acquisition
Data AcquisitionData Acquisition
Data Acquisition
 
Robotics lec7
Robotics lec7Robotics lec7
Robotics lec7
 
EEE UNIT-2 PPT.pdf
EEE UNIT-2 PPT.pdfEEE UNIT-2 PPT.pdf
EEE UNIT-2 PPT.pdf
 
New text document
New text documentNew text document
New text document
 
PROGRAMMING ADC and DAC-mbed.pdf
PROGRAMMING ADC and DAC-mbed.pdfPROGRAMMING ADC and DAC-mbed.pdf
PROGRAMMING ADC and DAC-mbed.pdf
 
lab_ADC.pdf
lab_ADC.pdflab_ADC.pdf
lab_ADC.pdf
 
Anup2
Anup2Anup2
Anup2
 
What will be quantization step size in numbers and in voltage for th.pdf
What will be quantization step size in numbers and in voltage for th.pdfWhat will be quantization step size in numbers and in voltage for th.pdf
What will be quantization step size in numbers and in voltage for th.pdf
 
REPORT
REPORTREPORT
REPORT
 
Em s7 plc
Em s7 plcEm s7 plc
Em s7 plc
 
avenger96-schematics.pdf
avenger96-schematics.pdfavenger96-schematics.pdf
avenger96-schematics.pdf
 
SAMSUNG SCALA-14UL BA41-01881A PDF.pdf
SAMSUNG SCALA-14UL BA41-01881A PDF.pdfSAMSUNG SCALA-14UL BA41-01881A PDF.pdf
SAMSUNG SCALA-14UL BA41-01881A PDF.pdf
 
Quanta ze7 r1b_schematics
Quanta ze7 r1b_schematicsQuanta ze7 r1b_schematics
Quanta ze7 r1b_schematics
 
Example MVS Console Interface
Example MVS Console InterfaceExample MVS Console Interface
Example MVS Console Interface
 
Dam gate open close lpc prog
Dam gate open close lpc progDam gate open close lpc prog
Dam gate open close lpc prog
 
ECS H77H2-M4 rA.pptx
ECS H77H2-M4 rA.pptxECS H77H2-M4 rA.pptx
ECS H77H2-M4 rA.pptx
 
LCD_Example.pptx
LCD_Example.pptxLCD_Example.pptx
LCD_Example.pptx
 
Embedded systems design @ defcon 2015
Embedded systems design @ defcon 2015Embedded systems design @ defcon 2015
Embedded systems design @ defcon 2015
 
Analog To Digital Conversion (ADC) Programming in LPC2148
Analog To Digital Conversion (ADC) Programming in LPC2148Analog To Digital Conversion (ADC) Programming in LPC2148
Analog To Digital Conversion (ADC) Programming in LPC2148
 

More from Mafaz Ahmed

INTERACTIVE FLOOR PROJECTION SYSTEM
INTERACTIVE FLOOR PROJECTION  SYSTEMINTERACTIVE FLOOR PROJECTION  SYSTEM
INTERACTIVE FLOOR PROJECTION SYSTEMMafaz Ahmed
 
Series and parallel operation of power devices
Series and parallel operation of power devicesSeries and parallel operation of power devices
Series and parallel operation of power devicesMafaz Ahmed
 
Series and parallel connection of igbt
Series and parallel connection of igbtSeries and parallel connection of igbt
Series and parallel connection of igbtMafaz Ahmed
 
Series and parallel connection of mosfet
Series and parallel connection of mosfetSeries and parallel connection of mosfet
Series and parallel connection of mosfetMafaz Ahmed
 
Internet of Things
Internet of ThingsInternet of Things
Internet of ThingsMafaz Ahmed
 
Interoperability among various Generations of Telecom Technologies
Interoperability among various Generations of Telecom TechnologiesInteroperability among various Generations of Telecom Technologies
Interoperability among various Generations of Telecom TechnologiesMafaz Ahmed
 
Energy Crisis, Different Energy Sources and Role of Power Electronics
Energy Crisis, Different Energy Sources and Role of Power ElectronicsEnergy Crisis, Different Energy Sources and Role of Power Electronics
Energy Crisis, Different Energy Sources and Role of Power ElectronicsMafaz Ahmed
 
RADIO ON RADIO OVER FIBER EFFICIENT FRONTHAULING FOR SMALL CELLS AND MOVING C...
RADIO ON RADIO OVER FIBER EFFICIENT FRONTHAULING FOR SMALL CELLS AND MOVING C...RADIO ON RADIO OVER FIBER EFFICIENT FRONTHAULING FOR SMALL CELLS AND MOVING C...
RADIO ON RADIO OVER FIBER EFFICIENT FRONTHAULING FOR SMALL CELLS AND MOVING C...Mafaz Ahmed
 
Project Management Project
Project Management ProjectProject Management Project
Project Management ProjectMafaz Ahmed
 
Speed Control of DC Motor
Speed Control of DC MotorSpeed Control of DC Motor
Speed Control of DC MotorMafaz Ahmed
 
Tweety modelling in pro engineering
Tweety modelling in pro engineeringTweety modelling in pro engineering
Tweety modelling in pro engineeringMafaz Ahmed
 
Truck modelling in pro engineering
Truck modelling in pro engineeringTruck modelling in pro engineering
Truck modelling in pro engineeringMafaz Ahmed
 
Bicycle modelling in pro engineering
Bicycle modelling in pro engineeringBicycle modelling in pro engineering
Bicycle modelling in pro engineeringMafaz Ahmed
 
Laptop modelling in pro engineering
Laptop modelling in pro engineeringLaptop modelling in pro engineering
Laptop modelling in pro engineeringMafaz Ahmed
 
Chair modelling in pro engineering
Chair modelling in pro engineeringChair modelling in pro engineering
Chair modelling in pro engineeringMafaz Ahmed
 
Fsk modulation and demodulation
Fsk modulation and demodulationFsk modulation and demodulation
Fsk modulation and demodulationMafaz Ahmed
 
Automatic room light controller with visible counter
Automatic room light controller with visible counterAutomatic room light controller with visible counter
Automatic room light controller with visible counterMafaz Ahmed
 
Calculating the efficiency and regulation of transformer using matlab
Calculating the efficiency and regulation of transformer using matlabCalculating the efficiency and regulation of transformer using matlab
Calculating the efficiency and regulation of transformer using matlabMafaz Ahmed
 

More from Mafaz Ahmed (20)

INTERACTIVE FLOOR PROJECTION SYSTEM
INTERACTIVE FLOOR PROJECTION  SYSTEMINTERACTIVE FLOOR PROJECTION  SYSTEM
INTERACTIVE FLOOR PROJECTION SYSTEM
 
Series and parallel operation of power devices
Series and parallel operation of power devicesSeries and parallel operation of power devices
Series and parallel operation of power devices
 
Series and parallel connection of igbt
Series and parallel connection of igbtSeries and parallel connection of igbt
Series and parallel connection of igbt
 
Series and parallel connection of mosfet
Series and parallel connection of mosfetSeries and parallel connection of mosfet
Series and parallel connection of mosfet
 
Project loon
Project loonProject loon
Project loon
 
Internet of Things
Internet of ThingsInternet of Things
Internet of Things
 
Interoperability among various Generations of Telecom Technologies
Interoperability among various Generations of Telecom TechnologiesInteroperability among various Generations of Telecom Technologies
Interoperability among various Generations of Telecom Technologies
 
Dc motor drive
Dc motor driveDc motor drive
Dc motor drive
 
Energy Crisis, Different Energy Sources and Role of Power Electronics
Energy Crisis, Different Energy Sources and Role of Power ElectronicsEnergy Crisis, Different Energy Sources and Role of Power Electronics
Energy Crisis, Different Energy Sources and Role of Power Electronics
 
RADIO ON RADIO OVER FIBER EFFICIENT FRONTHAULING FOR SMALL CELLS AND MOVING C...
RADIO ON RADIO OVER FIBER EFFICIENT FRONTHAULING FOR SMALL CELLS AND MOVING C...RADIO ON RADIO OVER FIBER EFFICIENT FRONTHAULING FOR SMALL CELLS AND MOVING C...
RADIO ON RADIO OVER FIBER EFFICIENT FRONTHAULING FOR SMALL CELLS AND MOVING C...
 
Project Management Project
Project Management ProjectProject Management Project
Project Management Project
 
Speed Control of DC Motor
Speed Control of DC MotorSpeed Control of DC Motor
Speed Control of DC Motor
 
Tweety modelling in pro engineering
Tweety modelling in pro engineeringTweety modelling in pro engineering
Tweety modelling in pro engineering
 
Truck modelling in pro engineering
Truck modelling in pro engineeringTruck modelling in pro engineering
Truck modelling in pro engineering
 
Bicycle modelling in pro engineering
Bicycle modelling in pro engineeringBicycle modelling in pro engineering
Bicycle modelling in pro engineering
 
Laptop modelling in pro engineering
Laptop modelling in pro engineeringLaptop modelling in pro engineering
Laptop modelling in pro engineering
 
Chair modelling in pro engineering
Chair modelling in pro engineeringChair modelling in pro engineering
Chair modelling in pro engineering
 
Fsk modulation and demodulation
Fsk modulation and demodulationFsk modulation and demodulation
Fsk modulation and demodulation
 
Automatic room light controller with visible counter
Automatic room light controller with visible counterAutomatic room light controller with visible counter
Automatic room light controller with visible counter
 
Calculating the efficiency and regulation of transformer using matlab
Calculating the efficiency and regulation of transformer using matlabCalculating the efficiency and regulation of transformer using matlab
Calculating the efficiency and regulation of transformer using matlab
 

Recently uploaded

SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 

Recently uploaded (20)

SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 

Temperature Control Fan Using 8051 Microcontroller

  • 1. International Islamic University Islamabad PROJECT REPORT TEMPERATURE CONTROL FAN Submitted by MAFAZAHMED 1882-FET/BSEE/F12
  • 2. COMPONENTS:  Microcontroller 89c52.  ADC0804  LM35  L293D  Crystal Ocillator 11.0592MHz  Capacitors  Resistors.  Fan  Battery Code: #include<at89x51.h> #define Read_Data P1 unsigned char show_data; unsigned int a,c,q; sbit Write = P3^6; sbit Read = P3^5; sbit Intr = P3^7; sbit cs = P3^4; sbit m=P3^0; //***********************ADC*************************// void delay2(unsigned int ms ) { unsigned int i,j ; for(i=0;i<ms;i++)
  • 3. for(j=0; j<113; j++); } void ADC(void) { Read = 1; Write = 0; delay2(1); Write = 1; while(Intr == 1); Read = 0; show_data = Read_Data ; delay2(1); Intr = 1; } //**************main****************************// void main() { Read_Data = 0xFF; cs=0; while(1) { ADC(); if (show_data<=0x0F) // less than and equal to 15
  • 4. { m=0; delay2(0); m=0; delay2(50); } else if (show_data>0x0F & show_data<=0x19) // between 15 and 25 { m=1; delay2(25); m=0; delay2(25); } else if (show_data<=0x28 & show_data>0x19) // between 25 and 40 { m=1; delay2(40); m=0; delay2(10); } else if (show_data>0x28) //greater than 40 { m=1; }}}