Sie sind auf Seite 1von 5

Fan Speed Control System Based on

Microcontroller Using Temperature SensorSistem


Muhammad Iqbal, Jaja Kustija. Dr. M.Sc., Tjetje Gunawan. Drs. M.Pd.
Department of Electrical Engineering Education
Faculty of Technology and Vocational Education
Indonesian education university
Jl. Dr. Setiabudhi No. 229 Bandung 40154
Tel. (022) 2013161, Fax. (022) 2013651
E-mail: Iqbal6448@gmail.com

ABSTRACT
II. LITERATURE REVIEW
This article presents the results of research on the
architecture of the system controller fan speed based on room
temperature. The working principle of the system is to use a 2.1 Module Arduino UNO R3 .
temperature sensor as temperature detection tool as input Arduino UNO R3 is a microcontroller board that uses
system, and then delivered to arduino for processing. The ATMega family AVR namely ATMega328. This device works
output of this system is a fan and LCD Viewer as a result of the between 1.8-5.5 Volts. The Arduino UNO has 14 digital input /
reading temperature sensors. The research method used was output pins (6 of which can be used as PWM output), 6 analog
experimental method consisting of problem identification; the inputs, a 16 MHz Crystal oscillator, a USB connection, a power
study of literature and the field; planning and manufacture of
jack, an ICSP header, and a reset button.
tools; Repair tool if an error occurs; conduct testing and
analysis tools; as well as the making of the final report and the The main component inside the Arduino board is an 8
journal. From the test results obtained that the system can work bit microcontroller with Atmega brand made by Atmel
well in accordance with the planning. The sensor's role is very Corporation. Arduino boards use different types of Atmega
important here that may affect the success rate overall. depending on the specifications.

Keywords: LM35 Temperature Sensor, Arduino, Lcd, fan.

I. INTRODUCTION

1.1 Background Research.


Currently there are still many electronic devices that
work in a conventional and still require human labor in control.
Electronic devices are still just to help humans but not
intelligent, whereas humans desperately need a tool that can
help or lighten his work without the slightest exert energy.
One of the electronics devices that work manually and still Figure 2.1 Arduino Uno
require human labor in operating it is a tool pendingain the
room. Fan and Air Conditioner (AC) is an air conditioner that 2.2 Temperature Sensor LM35
is still widely used. Air Conditioner (AC) is the most modern The LM35 sensor works by converting the
air conditioner, but not everyone can afford to have AC, temperature to a voltage. The ideal voltage coming out of
because the price is quite expensive. In contrast to the price of LM35 has a ratio of 100 ° C equal to 1 volt. This sensor
a cheap fan, but the fan is still working conventionally, has not serves as a converter of the physical quantities of
been able to alleviate the work of humans because the control temperature to the magnitude of voltage that has a
is still needed human labor. coefficient of 10 mV / ° C which means that a temperature
rise of 1 ° C then there will be a rise in voltage of 10 mV.
III. RESEARCH METHODOLOGY
2.3 Module Liquid Crystal Display (LCD) 16x2
Block diagram is a basic description of the circuit
The LCD module used is a 16x2 LCD module
system that has their respective functions. The block diagram
which can display up to 16 characters in 2 lines. The LCD
of the designed system circuit is as shown below :
will display the input readings of the sensors after being
processed from the arduino uno microcontroller.

Figure 2.2 Module LCD


Figure 3.1 Block diagram

2.4 Module Relay This system uses Arduino UNO Controlling


Relays are electrically operated switches and are Processing. Input system in the form of LM35 temperature
electromechanical components consisting of two main sensor that serves as a component to monitor the temperature in
parts: electromagnets (Coil) and mechanical (switch / the room. Output system that is in the form of fan and lcd.
switch contacts). The relays used in this final project have
been formed in a 3 channel relay module, with 3 VDC input 3.1 System Flow Sketch berupa sensor
and 3 220 VAC outputs equipped with 2 conditions: NC This system uses Arduino UNO Controlling
(Normally Close) and NO (Normally Open). NC is initial Processing. Input system in the form of LM35 temperature
condition before activated will always be in close position sensor that serves as a component to monitor the temperature in
and will be active if given 0 VDC, while NO is initial the room. Output system that is in the form of fan and lcd.
condition before activated will always be in open position Sketch of system flow can be seen in the picture below :
and will active if given 5 VDC.

Figure 2.3 Relay


Figure 3.2 System Flow Sketch

2.5 Fan
The working principle of the fan speed control system
The fan is used to produce wind. Common
has been described as the block diagram above is the input of
functions are for air conditioning, air fresheners, ventilation
the LM35 sensor will provide data to arduino uno
(exhaust fan), dryer (generally using heat-generating
microcontroller. Microcontroller will process the data from the
components).
input in accordance with the instructions of the program. The
LCD will display the input readings of the sensors after being
processed from the arduino uno microcontroller. If the input of
the sensor corresponds to the instruction given to the arduino
uno microcontroller then it will process the input and then will
turn on the relay and fan. Whereas, if the input is not in IV. TESTING COMPONENTS
accordance with the instructions given the feeding process will
return to the process of reading the sensor until the input in Testing the components of the work function of each
accordance with the instructions given. component to be done with two stages of testing that is using
multimeter and Arduino IDE through serial monitor:

3.2 Schematic Circuits 1. Testing using multimeter includes testing the input
The schematic design of the circuit is made to show and output voltages of each component.
the connected circuit on the component.
2. Testing using Arduino IDE done by looking at the
output through serial monitor of each component connected
with Arduino via USB connection.

Figure 4.1 Arduino IDE

Figure 3.3 Schematic Circuits 4.1Testing,Components


In the Arduino UNO R3 test is done by giving a
3.3 Flow Chart Sistem Penelitian voltage of 12 V. After that the output voltage is checked on
Software manufacture consists of software design on the 5V pin connected to the positive phobe and pin GND
fan speed control model based on room temperature. Here's the associated with negative, on, multimeter.
flowchart of software design on microcontroller:
Table 1. Arduino Uno Testing
Input Voltage Output Voltage
12 VAC 5 VDC

4.2 Temperature Sensor Testing


LM35 sensor testing is done by directly connected
with arduino uno microcontroller by using the program, this
is done to know the way or not the sensor.

Berdasarkan yang telah kita ketahui, pembangkit listrik


tenaga uap unit Darajat ini, merupakan pembangkit yang
Figure 4.2 Temperature sensor testing.
Tabel 2. Arduino Uno Testing
Voltage Tabel 4. Table Results Testing
Arduino Input
Information
Voltage LM35
5 VAC 5 VDC Aktif
0 VAC 0 VDC Non Aktif

4.3.Testing.Overall
Structural testing is performed to test whether the
built-in circuit system is aligned on the path to the planned
system concept. At this stage a test that aims to determine
whether the electronic module has been connected properly
so that the system can work properly and have the
performance and function in accordance with the design.
Tabel 3.Testing Overall V. CONCLUDE AND ADVICEN

5.1 Conclusion
This circuit is simulated to adjust the fan speed level.
The fan speed can adjust to the room temperature automatically
according to the program input into the Arduino uno. This cool
fan is equipped with led indicator light and has LCD for
temperature reading in room to make it easier to differentiate
4.3 Results and Analysis didalam the speed of the fan.
In the previous stage has been described the
5.2 Suggestion
design process to the implementation of the fan speed In the course of this final project work is certainly not
setting based on arduino uno-based room temperature. This free from various kinds of shortcomings and weaknesses.
fan's fan regulator model is implemented using a small Therefore for the sake of perfection of this final task,
electronic module module so that the placement of suggestions recommended in this final project is, if you want to
electronic components does not take up much space. make the same tool, better use temperature sensors better and
Tabel 3. Table Based on Tool Settings sensitive in order to get maximum result.

BIBLIOGRAPHY

[1]. Galadima, A.A. (2014). Arduino as a learning tool.


Proceedings of the 11th International Conference on
Electronics, Computer and Computation, ICECCO 2014.

[2]. Istiyanto, J. E. (2014). Approach Project Arduino &


Android. In: Introduction to Electronics & Instrumentation.
Yogyakarta: Andi.

[3]. Silvia, A.F. (2014). Arduino and Android Gate-Based


Arduous Gate Access Control. (Thesis). Bandung: Department
of Electrical Engineering Education Universitas Pendidikan
Indonesia.

[4]. Febrian, Zico. (2015). Design of Automatic Seal Cap


System Using Arduino Uno Infared Sensor. (Essay).
Tangerang: Major Computer System High School of
Management and Computer Science (STMIK) Raharja.

Website :
[1].http://elkaubisa.blogspot.co.id/2008/02/i2c-inter-
integrated-circuit.html
[2].http://elektronika-dasar.web.id/lcd-liquid-cristal-display-
dot-matrix-2x16-m1632/
[3].http://www.immersa-lab.com/sistem-
minimummikrokontroler.htm
[4]. http://elektrondasarnika.blogspot.co.id/2013/06/transistor-
sebagai-saklar-saklar.html
[5].sebagai-saklar-elektrik/

Das könnte Ihnen auch gefallen