Sunteți pe pagina 1din 13

TEMPERATURE CONTROLLED-FAN

RATING:

Student(s): Beronilla, Hervillle Darauay, Angelica


Guiterinng, Marnel M. Defeo, Rosel
Mammuad, Allan Michael Eneres, Virginia
Tango, Jhoe Mel P. Lugo, Michelene Chariz P.
Apacible, Marinel Marinas,Joyce
Baisa, Rizza Mae Pagulayan, Kristine
Baligod, Clariza Pastor, Marivic
Banastas, Jazzel Rodriguez, Lorraine
Bronio, Lhyka Tagao, Meljean
Catubag, Jade Tomas, Yanessa
Cosain, Najya Tumaliaun, Jesusa

Course/Year: BSECE-IV

Date of Submission: JUNE 6, 2019

ENGR. CRISTOPHER CAPILI


INSTRUCTOR

Page | 1
TABLE OF CONTENTS

Title Page ………………………………………………………………………………………1

Table of Contents………………………………………………………………………………2

Abstract………………………………………………………………………………………...3

Chapter I: Introduction……………………………………………………………………….4

Chapter II: Objectives…………………………………………………………………………5

Chapter III: Methodology…………………………………………………………………..6-10

3.1: Schematic Diagram

3.2: PCB Design

3.3 Parts and Components

3.4 Construction of the Design

3.5 Program of the microcontroller

Chapter IV: Conclusion and Recommendation…………………………………………….11

4.1 Conclusion

4.2 Recommendations

Chapter V: Appendices……………………………………………………………………...12

5.1: Documentations
5.2: Data Sheet (Main Components)

Page | 2
ABSTRACT

The developed system provides an environment in which no user needed to control the fan speed.

Automatically control the fan speed by sensing the room temperature. These fascinating efforts to create

intelligent system are to provide human being a more convenient life. The circuit was designed using

electronic components available in local market to keep the cost at low level.

Hence, the students used the LM35 for the temperature sensor which produces analog output

voltage; the LM35 is connected with the microcontroller which then produces DC PWM. After

which, the DC output PWM is connected to solid state relay which send the signals or the ac fan to

be turned on. The microcontroller is also connected to LCD which displays the room temperature.

Based from the results, the objectives have been achieved. The variation of the room

temperature sensed also changes the speed of the fan. Therefore, the circuit designed and

constructed are accurately working. Hence, the students observed that the temperature variation

range of LM35 is limited.

Since the students observed that the temperature variation range of LM35 is only limited, the

students recommend that the temperature sensor be used must be more accurate and have wide

temperature range.

Page | 3
INTRODUCTION

Since the weather changes rapidly in the world, the temperature changes frequently.

Temperature monitoring and control is important in industrial environments and also in the human

living room. Industrial temperature monitoring is important in many applications and systems as excessive

changes in the temperature can lead to detrimental effects and failure of operation. Many important

devices and chip components, such as integrated circuit, demand for stable temperature and voltage

without instantaneous breakdown and wide range fluctuation. Early detection of overheating and

proper handling of such situation is essential to avoid deterioration and faulty component.

In the electronics world we want to make the human life comfortable. Therefore, the home

automation system is very essential. Fan speed controller is one of the parts of the home automation system.

In the case of home automation system, room temperature monitoring is very important. Sensors are

widely used for measurement of temperature. Usually, a temperature sensor converts the temperature

into an equivalent voltage output. In this project, the researchers used LM35 which are precision-

integrated- circuit temperature sensors, whose output voltage is linearly proportional to the Celsius

temperature.

Page | 4
OBJECTIVES
The main objective of this project is to make a functional temperature controlled-fan. It

also aims to:

 To construct a circuit diagram of a temperature controlled-fan using LM35

 To know the limitations of the temperature controlled-fan using LM35

Page | 5
METHODOLOGY
3.1: Block Diagram

3.2: ULTIBOARD Design

Page | 6
3D DESIGN

Page | 7
3.3: Parts and Components

COMPONENTS/MODULE DESCRIPTION

A device having a designed resistance to the passage of


RESISTOR
an electric current.

CAPACITOR Used to store an electric charge, consisting of one or


more pairs of conductors separated by an insulator.

A semiconductor device with three connections, capable


TRANSISTOR
of amplification in addition to rectification.

Used to rectify AC current subsequently turning it into


DIODES
DC current.

Used to connect components. Allows an electrical


CONNECTING WIRES
current to travel from one point on a circuit to another

Mechanically supports and electrically connects


electronic components using conductive tracts, pads and
PCB other features etched from one or more sheet layers of
coppers laminated onto and/or between sheet layers of a
non-conductive substrate.
 Used as a placeholder for IC chips and is used in order
to allow safe removal and insertion of IC chips
IC SOCKET
because IC chips may become damaged from heat due to
soldering.

The metal–oxide–semiconductor field-effect transistor is


MOSFET a type of field-effect transistor (FET), most commonly
fabricated by the controlled oxidation of silicon.

Pin headers are often associated with ribbon cable


PIN HEADER connectors, pin headers often also function as recipients
for jumpers. 

Page | 8
Is a connector that allows more than one circuit to
another circuit. It often contains too long aluminum or
TERMINAL BLOCKS
copper strips that are design to connect different
components.

The LM35 series are precision integrated-circuit


LM35 temperature devices with an output voltage linearly-
proportional to the Centigrade temperature.

It is a high performance, low power controller from


Microchip. ATMEGA328P is an 8-bit microcontroller
ATMEGA328p based on AVR RISC architecture. It is the most popular
of all AVR controllers as it is used in ARDUINO boards.

A liquid-crystal display is a flat-panel display or other


LCD electronically modulated optical device that uses the
light-modulating properties of liquid crystals

The BT136 is TRIAC with 4A maximum terminal


TRIAC(BT136) current. The gate threshold voltage of the BT136 is also
very less so can be driven by digital circuits.

BD139 is a NPN transistor hence the collector and


emitter will be left open (Reverse biased) when the base
BD139
pin is held at ground and will be closed (Forward biased)
when a signal is provided to base pin.

Any of a class of rotary electrical machines that converts


DC MOTOR (5V)
direct current electrical energy into mechanical energy.

3.4: Construction of the Design


1. Construct a circuit diagram in multisim.
2. After the simulation, gather all the materials needed and put in a breadboard.
3. If the breadboarded components worked well, print the design of the circuit diagram.
4. After printing, put the printed circuit diagram in the copper clad (based on the size of the
printing layout) and iron it. After ironing, soak it in the Ferric Chloride for about 5-10
minutes.
5. After soaking, let it dry and then solder on the components in the proper places.
6. Troubleshoot if there are problems encountered.
7. Finally, have a project case for better packaging of the project.

3.5 Program of the microcontroller

Page | 9
#include <LiquidCrystal.h>
int Contrast=100;
LiquidCrystal lcd(12,10,5,4,3,2);
int tempPin = A1; // the output pin of LM35
int fan = 11; // the pin where fan is
int led = 8; // led pin
int temp;
int tempMin = 20; // the temperature to start the fan
int tempMax = 50; // the maximum temperature when fan is at 100%
int fanSpeed;
int fanLCD;

void setup() {
analogWrite(6,Contrast);
pinMode(fan, OUTPUT);
pinMode(led, OUTPUT);
pinMode(tempPin, INPUT);
lcd.begin(16,2);
}

void loop() {
temp = readTemp(); // get the temperature
if(temp < tempMin) { // if temp is lower than minimum temp
fanSpeed = 0; // fan is not spinning
digitalWrite(fan, LOW);
}
if((temp >= tempMin) && (temp <= tempMax)) { // if temperature is higher than minimum temp
fanSpeed = map(temp, tempMin, tempMax, 32, 255); // the actual speed of fan
fanLCD = map(temp, tempMin, tempMax, 0, 100); // speed of fan to display on LCD
analogWrite(fan, fanSpeed); // spin the fan at the fanSpeed speed
}
if(temp > tempMax) { // if temp is higher than tempMax
digitalWrite(led, HIGH); // turn on led
} else { // else turn of led
digitalWrite(led, LOW);
}

lcd.print("TEMP: ");
lcd.print(temp); // display the temperature
lcd.print("C ");
lcd.setCursor(0,1); // move cursor to next line
lcd.print("FAN SPEED: ");
lcd.print(fanLCD); // display the fan speed
lcd.print("%");
delay(200);
lcd.clear();
}

int readTemp() { // get the temperature and convert it to celsius


temp = analogRead(tempPin);
return temp * 0.48828125;

Page | 10
CONCLUSION AND RECOMMENDATION

4.1 CONCLUSION

Based from the results, the objectives have been achieved. The variation of the room

temperature sensed also changes the speed of the fan. Therefore, the circuit designed and

constructed are accurately working. Hence, the students observed that the temperature variation

range of LM35 is limited.

4.2 RECOMMENDATIONS

Since the students observed that the temperature variation range of LM35 is only limited,

the students recommend that the temperature sensor be used must be more accurate and have

wide range variation range temperature.

Page | 11
APPENDICES

5.1: DOCUMENTATIONS

Page | 12
Page | 13

S-ar putea să vă placă și