Escolar Documentos
Profissional Documentos
Cultura Documentos
INTRODUCTION
technology is so fast that most of the recent technology now is beyond the knowledge of
older generations. Automation ruled the world, replacing things that are operated manually
Reducing human efforts in accomplishing a task is the main purpose of why technology
keeps changing over time. People are bound to errors and inconsistencies when they get tired,
affecting the performance and decisions that it will make. Some machines are programmed to
follow only certain instructions, enabling them to focus on specific tasks assigned to them.
Through this advancement of technology human works made easier and can be done at a
short period of time, therefore more things can be processed at a certain time and reduce
possible errors.
An electric fan is a device used to produce an airflow for the purpose of creating comfort and
ventilation. Electric fans are designed to create breezed and circulate air in a region (Bai &
Ku ,2008). The fan creates its cooling effect based on the speed at which its blades rotate;
During hot conditions, the usage of the electric fan is a cheaper choice compared to spending
more on using an air conditioner especially in some areas where high temperature is naturally
normal. Problems such as users forget to turn off the fan when being away is inevitable, these
result in a rise of electricity bill from leaving the fan on when it is not in use and it may cause
2
accidents like fire hazards when the motor got heated up. Some people might get a feeling of
annoyance and perhaps frustration when getting up from the seat in order to adjust the speed.
This non-innovative feature makes it unable to change the speed and turn on/off the fan
automatically. This is why an automatic temperature and occupancy control system is applied
for the purpose of switching and controlling the speed of the fan.
The idea of this work is to construct an efficient energy generating fan with a circuit that will
automatically turn on/off and change the speed of the fan based on the motion and on the
temperature of its environment with the help of the microcontroller, together with an
additional dynamo that will generate an output voltage which is being stored in the battery
that can be used for charging small appliances. The motion and the temperature-controlled
fan is an alternative way to control the switching of the fan in response to the sensed
compare their input signals and produce the required output signal that will turn on the
electric fan.
3
Objectives
A.2 Automatically change its speed and varies to the room/environment temperature.
A.3 Generate electricity that will be used for charging small appliances.
A.4 Preview the status of the room temperature by the use of Android Phone
Students. This study will benefit the students since most of the students often use
gadgets and that usually get drained fast, not only for the automatic fan but for charging
purposes also.
Community. In public hospitals, through the use of automatic electric fan patients
will not any more exert effort just to turn on the electric fan with the right temperature and
motion, it will automatically switch. Together with an extra charging system to those who
Person with Disability (PWD). Providing help to those who are disabled, to
improve their quality of life. To lessen their effort and feel the freshness of the air without
Researchers. This study could help the researchers to improve their skills especially
in the design and improve their capability in decision making as a future Engineer. The study
This study aims to develop an electric fan that will automatically switch on/off when motion
change the speed level of the electric fan based on the environment temperature. To operate
the electric fan with the use of wirelessly connected android phone through bluetooth
connection with a maximum range of 50 meters within direct line of sight and displays the
current temperature of the room. The device together with the electric fan has only a limited
length of 3 meters from device to electric fan. By the use of the Android phone, it is possible
to control the fan in a distant by connecting the android phone to the Bluetooth of the device.
The device can also be controlled manually by just turning the toggle switch to its manual
mode operation. This innovative study is intended for the use of students in every classroom
Definition of Terms
In order to have a clearer understanding of the study, the following terms are
operationally defined:
microcontroller kits for building digital devices and interactive objects that can sense and
control objects in the physical and digital world (David Kushner, 2011).
operating equipment such as machinery, processes in factories, boilers and heat treating
ovens, switching on telephone networks, steering and stabilization of ships, aircraft and other
Battery Bank -is a device consisting of one or more electrochemical cells with external
battery is supplying electric power, its positive terminal is the cathode and its negative
devices such as mobile phones, computers, and peripherals to transmit data or voice
wirelessly over a short distance. The purpose of Bluetooth is to replace the cables that
normally connect devices, while still keeping the communications between them secure
sensor. It uses a capacitive humidity sensor and a thermistor to measure the surrounding air.
Dynamo -DC generator i.e. an electrical machine which converts mechanical power into
direct current electrical power. Dynamo is essentially just another name for an electric dc
Electric fan- is a powered machine used to create flow within a fluid, typically a gas such
as air. A fan consists of a rotating arrangement of vanes or blades which act on the air. The
rotating assembly of blades and hub is known as an impeller, a rotor, or a runner. Usually, it
is contained within some form of housing or case. This may direct the airflow or increase
safety by preventing objects from contacting the fan blades (Needham, 1986).
8
modern terminology, it is similar to, but less sophisticated than, a system on a chip; an SoC
digital integrated circuit that accepts binary data as input, processes it according to
instructions stored in its memory, and provides results as output. Microprocessors contain
both combinational logic and sequential digital logic. Microprocessors operate on numbers
and symbols represented in the binary number system (Krishna Kant, 2010).
Technology -can be the knowledge of techniques, processes, and the like, or it can be
embedded in machines to allow for operation without detailed knowledge of their workings.
The simplest form of technology is the development and use of basic tools (Liddell, 1980).
Relay- are switches that open and close circuits electromechanically or electronically.
Relays control one electrical circuit by opening and closing contacts in another circuit. As
relay diagrams show, when a relay contact is normally open (NO), there is an open contact
when the relay is not energized. When a relay contact is Normally Closed (NC), there is a
closed contact when the relay is not energized. In either case, applying electrical current to
Relay Module- is a separate hardware device used for remote device switching. With it you
can remotely control devices over a network or the Internet. Devices can be remotely
powered on or off with commands coming from Clock Watch Enterprise delivered over a
local or wide area network. You can control computers, peripherals or other powered devices
variation in space (such as an image) is potentially a signal that might provide information on
the status of a physical system, or convey a message between observers, among other
possibilities.
thermometer calibrated in one or more temperature scales. The most commonly used scales
electrical voltage. The thermoelectric effect addresses the science underlying cooking,
heating and cooling as well as the generating of electricity and measuring temperature.
energy between two or more circuits. A varying current in one coil of the transformer
produces a varying magnetic field, which in turn induces a varying electromotive force or
Transistor --a semiconductor device used to amplify or switch electronic signals and
USB port - A USB port is a standard cable connection interface for personal
computers and consumer electronics devices. USB stands for Universal Serial Bus, an
industry standard for short distance digital data communications. USB ports allow USB
devices to be connected to each other with and transfer digital data over USB cable.
10
is mainly used to control indoor air quality by diluting and displacing indoor pollutants; it can
CHAPTER II
Related Literature
The world is a storehouse of energy. There are many resources of energy that can
be harnessed to provide electricity which is needed in this modern world. But people tend
to waste energy resources that can produce energy as if they are limitless. The only way to
preserve this resources of energy is to renew and reuse the wasted energy, it would help in
some way to the problem of scarcity of energy, which is the major threat of the present
world. By using the concept of wind turbines Wind-generated electricity can be used for
battery charging and connection with the power grid. Beside every fan, there is a tube light
by a mechanism inside the fans motor or a belt that rotates and light up the bulb or store
the energy in a battery which could be used to power up other machines (Saquib Gadkari
et al, 2014).
the electricity bill from the increase of energy efficiency, abundance in availability of
energy being the main factor in Indonesian high energy consumption habits. High
electricity demand for consumption at current supply level in Indonesia led to the rising
cost of electricity bills. This factor is compounded by the fact that many electric generators
in Indonesia still use fossil fuels, which contributes to the high basic generation cost (Indra
Reyanto, 2018).
12
Motion sensors are used to switch on power only when a human is detected in the area
covered. Technology has advanced enough to differentiate between humans, animals and
other objects during detection. Moreover, controls can be customized to run lighting based
on the availability of daylight. Organizations are using these sensors for highly accurate
lighting and another appliances’ control. Use of PIR motion sensors in your office space
can cut your electricity bill by up to 30 per cent, depending on factors like the area
covered, the frequency of electricity usage in the covered area, load devices that the sensor
is connected to and so on. PIR sensors themselves draw less than one watt of power per
hour in idle situation, so their own electricity consumption does not impact the bill at all
(Saad, 2013).
The alternator is a generator that produces Alternating Current (AC), similar to the
electrical current in your home. This current is immediately converted to Direct Current
(DC) inside the alternator. This is because all modern automobiles have a 12-volt, DC
electrical system. The alternator is driven by a belt that is powered by the rotation of the
engine. This belt goes around a pulley connected to the front of the engine's crankshaft and
is usually responsible for driving a number of other components including the water pump,
power steering pump and air conditioning compressor. For the most part, alternators are
relatively small and lightweight. Roughly the size of a coconut, the alternators found in
most passenger cars and light trucks are constructed using an aluminum outer housing, as
the lightweight metal does not magnetize. This is important since aluminum dissipates the
tremendous heat generated by producing the electrical power and since the rotor assembly
The speed of fan will change due to the temperature of environment. The speed of fan had
been controlled by the output of Microcontroller PIC 16F877A. The PWM signal on
output Microcontroller had been settled in the different duty cycle due to different
The PIR sensor response is very fast in which the fan will turn on as there is motion
detected. However, the limitation of the system is found where the fan will turn off if the
person that the PIR detected earlier is not moving. The fan will turn on again if there is
motion made by the user even with small movement for example waving the hand
(Rahman, 2015).
Pyroelectric (PIR) motion sensor consists of two main parts. Each of these parts
include a special material that is sensitive to infrared radiation. In this case, the lens is not
particularly affecting the operation of the sensor, so that we see two sections of the entire
module sensitivity. When the sensor is at rest, both sensors determine the same amount of
radiation. For example, it may be building radiation or the environment in the street. When
warm-blooded object (a person) passes, it crosses the first sensor sensitivity zone.
Whereby two different values of the radiation are generated in the PIR sensor module.
When a person leaves the sensitivity zone of the first sensor, the values are aligned. Then
changes in the readings of the two sensors are recorded and HIGH or LOW pulses are
Passive Infrared Sensor (PIR) module is used for motion detection. It requires 10-60
seconds of settling time before starting its operation. It consists of pyroelectric sensor that
14
detects motion by measuring change in the infrared levels emitted by the objects. It can
temperature, more so than a standard resistor. As a result of this property, it is usually used
and its cresistance is highly dependent on the material from which it is made. Thermistors
are broadly divided into 2 categories: Negative Temperature Coefficient (N.T.C) and
thermistors are non-linear resistors which alter their resistance characteristics with
temperature. The resistance of NTC will decrease as the temperature increases. Many
N.T.C thermistors are made from pressed disc, rod, plate, bead, or cast chip of
increases the number of active charge carriers. It promotes them into conduction band. The
more the charge carrier that are available the more the current a material can conduct.
decrease in temperature. Most P.T.C thermistor are made from doped polycrystalline
ceramic (containing bariumtitanate and other compound). One unique property of this
material is the sharp increase in resistance at certain critical temperatures. At the Curie
point temperature, the dielectric constant drops sufficiently to allow the formation of
Related Studies
A related study about developing an automatic switch which is a device that detects the
presence of a human in a predefined area and can turn on the lights, fans or any electrical
appliances that we want. The device will automatically turn off the lights, fans or electrical
appliance if nobody is present in the area. PIR sensor is used to detect the presence of a
human. PIR is consist of IR sensors which are used to detect the heat of the human body
and if the presence of a human is detected then the electrical appliances connected to this
automatic switch will automatically turn on. They used Arduino mini pro to control the
PIR sensor while relay modules are used to control the electrical appliances (Gajjar, 2017).
Sensors are sophisticated devices that are frequently used to detect and respond to
electrical or optical signals. A sensor converts the physical parameters (for example:
temperature, blood pressure, humidity, speed etc.) into a signal which can be measured
electrically. There are certain features which have to be considered in choosing a sensor.
repeatability and lastly is cost. Sensors are classified also into the following criteria such
chemical effects), material and technology, property and lastly is application (Merculita,
2016).
The study explores the possibility of installing motion sensors to contribute to the energy
efficiency. Although mostly common in developed countries, the use of motion sensors for
16
energy efficiency is still rare, especially in Indonesia. Despite rising cost and supply
shortages, Indonesian buildings are still of high energy consumption. Our experiment
shows that simple installation of commercially available motion sensors can contribute to
reduce the electricity bill from the increase of energy efficiency. One of the efforts to
lower energy demand on the consumer side is to use the electricity efficiently, such as
turning off lights in a room when it is not in use. This method can be simply done by
turning the light switches for office and classrooms, but difficult to do in public spaces
A design of device that uses a temperature sensor; a comparator unit and relay switch to
automatically regulate the speed of the electric ceiling fan, creating breeze to enhance
convective heat transfer. The developed household electric fan automatically changes
speed in five different ascending levels with respect to the calibrated temperature range of
the environment. The operation of this innovative device makes it suitable for users who
may not be able to access the manual electric fan regulator. A sudden change in weather
conditions affecting the ambient temperature might harm a person sleeping under a
manually regulated fan. Depending on the temperature of the environment, the fan
automatically regulates its speed, making the device safe for sleeping, very convenient for
patients in the hospital, infants and all users. The aero foil of the cross section of the
applied blades, the smooth and even three blades, the length and width of the blades all
improved the air velocity distribution of the device. The developed temperature-controlled
household ceiling fan achieved improved ventilation of the room up to 20% using
enhanced blades designed with due consideration to fan aerodynamics. The ceiling fan
17
blades spin with reduced noise and created uniform flow pattern across the room (Oduah
The Power Fan works on the principle of generator. It works on the faraday’s law of
electromagnetic induction. The law state that, When a electrical conductor placed in the
strong magnetic field and when the magnetic lines of force cuts the conductor then EMF is
induced on the surface of the conductor. He assembled the copper winding on the shaft of
the fan which is connected to the ceiling. This copper winding acts as a conductor. The
copper winding is place in the circular way and around which strong magnets are place in
circular way as like winding. Strong magnets are connected to the rotating disc of the fan
(the disc to which blades of the fan are connected). As this disc is rotating magnets also
rotates and rotating magnetic field (RMF) is produce. This RMF cuts the copper winding
and EMF is induced on the surface of conductor by the principle of induction. Meaning if
there is an interaction between the copper winding and RMF due the mutual induction,
EMF can be generated on the copper winding. In this way we can generate electrical
power by fan. The generated EMF is carrying by wires and stored into the battery
(Deshmukh, 2016)
18
CHAPTER III
METHODOLOGY
effectiveness of using a motion and thermal sensor-based energy generating electric fan.
Through this, we will be able to test and to develop an automatic system that aims to
the future.
Research Procedure
Research Locale
The main location of the research is at Eastern Visayas State University, Main
Campus, Tacloban City. The Eastern Visayas State University (EVSU) is a public
university in the Philippines and the oldest higher educational institution in the Eastern
undertake research and extension services and provide progressive leadership in its area of
specialization.
Research Instruments
1. Multi-Tester – This is used to measure the voltage output and current output of the
generators that are coupled with the shaft of the electric fan, using the voltmeter and
ammeter respectively, and also by using the ohmmeter to secure that there are no errors in
2. Tools – The presence of certain tools like pliers, rulers, soldering iron,
screwdrivers, hammer, etc. are needed in constructing certain parts of the device.
3. Sensors – This includes the thermal and motion sensors that are used in the device
4. Letters to Experts for technical advice – letters like request or permission to get a
piece of advice or idea to an expert or professionals are used to make the consultation
formal.
Motion &
Thermal Arduino Electric
Sensor Fan
Voltage
Battery Regulator Generator
USB Port
The figure shows the block diagram of the Energy Generating Electric Fan with
Motion and Thermal Sensor for charging small gadgets wherein motion and thermal
sensors are used to detect a specific signal that is being drawn to the Arduino which
serves as the heart of the device that controls the operation of the fan. A generator is
coupled to the shaft of the fan for it to convert the mechanical energy produced by the
fan into usable electrical energy, that is being regulated to be stored in the battery. The
CHAPTER IV
The test for the device is done by applying motion to the sensor along with the
desired set temperature to be able to operate and give the desired output of the device. The
control device contains important components that is necessary to make the fan operate, as
well as the display to preview the temperature of an specific area and a toggle switch in
selecting the desired operation of the fan whether in automatic or in manual mode. In
automatic mode, the fan will operate by first applying motion that requires eight seconds
of detecting motion before it sends the signal to the microcontroller and triggers the relay
which is the main switch in turning on/off the fan. This relay that serves as the main
switch will supply power in either of the three relays when there is a desired set
temperature sensed by the temperature sensor. The fan will not operate if the current
temperature is less than the set temperature which is 22⁰C, and when the fan is in operation
and then there’s a drop of temperature the fan will automatically turn off. And if the
current room temperature is greater than the set temperature, the fan will operate. It will
operate at a low, medium and high speed depending on the acquired temperature in the
room. The device can also be controlled using an Android phone which serves as a remote
that is connected to the Bluetooth of the device. The Android phone displays the current
The electric fan can be operated manually by just changing the toggle switch in its
manual mode operation. This is to provide the user an option if he or she wants to operate
There are generators that are coupled to the shaft of the electric fan that generates
electricity during the operation of the fan. This electricity is harnessed in the charging
system which has a circuit that regulates the electricity produced by the generators to be
used for charging a power bank that serves as the storage of the generated electricity. The
stored energy in the power bank can be utilized for charging small devices through the USB
port.
Control Device
Charging
System USB Port for
Charging
Display
Motion Sensor
Temperature Sensor
DC Motor
Generator
Toggle
Automatic Automatic
or Manual Manual
Selector
Switch
Motion Temperature
Read Read
Motion Temp.
Is the
Is there 8 Yes temperature
No Yes No
secs. Of equal or
sensing greater than
motion? 22⁰C?
Relay for
Relay for 220V
220V will turn
will turn Yes Relay for 220V Off
Off Yes
supply will turn
On
Is there any
motion being Buzzer Is there any
detected which detected
cause the buzzer temperature
to buzz 3 times? below 22⁰C?
No No
For 22⁰C- For 27⁰C- For 33⁰C
26⁰C the 32⁰C the above the
fan speed is fan speed is fan speed
Low Medium is High
Relay for Relay for
220V will 220V will
remain On remain On
Generating and
Charging System
Display
END
The figure shows that once a gadget is already plugged into the 220V supply, the
operator may choose on how he will operate the fan, whether in automatic mode or in
manual mode operation. In automatic mode, there are two variables that must be
considered, the motion and temperature. The motion sensor must detect first a movement
for a time period of eight seconds while the temperature sensor must detect a temperature
that is equal or greater than the set temperature which is 22⁰C. If this condition is not
met, then the fan will not operate and it will undergo again on the reading process or the
detection of required movement and temperature. If the conditions are met, then the fan
will operate at a speed which is proportional to the detected temperature of the specific
area. While the electric fan is in operation and there are moves that are being detected by
the motion sensor that causes the buzzer to buzz 3 times then the fan will automatically
turn off, the same also for the temperature sensor that if there is a detected temperature
below the required temperature of 22⁰C the fan will automatically turn off.
If the operator chooses the manual mode operation, then he will just manually
control the operation of the fan by using the selector switch in turning on/off the fan and
An electricity will be generated for every operation of the fan because of the
generating system being coupled to the shaft of the fan. And this generated electricity is
being regulated and is used for charging gadgets. The temperature of the room and the
battery percentage of the power bank where the generated electricity is being stored are
In using the Android phone to manipulate the operation of the electric fan,
first is to connect it with the Bluetooth of the device. It is done by searching the name of
the Bluetooth of the device and pair it using the pins shown above which are 1234. Once
the android phone is already connected to the device then, a customized application
installed to the android phone can now be open and through it, the current temperature of
the room can be viewed as well as the buttons: Automatic and off, can now be used in
The device undergoes a series of tests in order to determine the functionality of the system
Motion. The study conducted a motion test to be able to find out the accuracy of the
motion sensor if it produces desired output for the device to function properly.
28
Functional Nonfunctional
1 second 1 ft.
2 seconds 1 ft.
3 seconds 1 ft.
4 seconds 1 ft.
5 seconds 1 ft.
6 seconds 1 ft.
7 seconds 1 ft.
8 seconds 1 ft.
The table shows that with the maximum distance of one foot that is being applied to the
motion sensor, at one second to seven seconds there is a time delay before the fan to operate
to prevent the things that may easily trigger the sensor when someone passes through or
The applied motion must continue up to eight seconds of delay within the range of the
Temperature. The study conducted temperature test to be able to observe the accuracy of
the temperature sensor if it previews exact reading of the temperature and will deliver the
desired signal and make the fun to operate based on the acquired signal.
29
Note that the set temperature that will make the electric fan to operate is 22°C. If the
temperature becomes lower than the set value, then the fan will be nonfunctional, and if the
temperature is greater than the set value the fan will be functional given that if the detected
room temperature is at the range of 22°C to 26°C the fan will operate at low speed, at a
temperature of 27°C to 32°C the electric fan will operate at its medium speed and above
32°C the electric fan will automatically reach its high speed.
Generator Output Based On Fan Speed. The study conducted an output test of the
generator during operation for low speed, medium speed and high-speed operation of the
30
fan. The test got the corresponding output voltage and output current (produced by the two
dynamos that are connected in parallel with each other and are coupled to the rotor of the
Where; 𝑅𝑃𝑀𝐹 = Revolution per minute of the fan 𝐷𝐹 = Shaft diameter of the fan
dynamo
Given the rpm of the fan for low, medium and high-speed operation and its shaft diameter of
8mm that is being coupled with two generators that are connected in parallel, with a shaft
having a diameter of 2.3 mm. Using the formula above that is based on the principle of belt
drive the researchers are able to obtain the corresponding rpm of the generators. At low
speed operation having a 3687rpm the parallel connected generators produce 7.3 V with a
current 60 mA. At medium speed operation having a 4100rpm the parallel connected
generators produce 9.3V with a current of 70 mA and at high speed operation having a
31
5148rpm the parallel connected generators produce 10.02 V having an output current of
90mA.
Charging. The study conducted charging test to observe if it produces enough current to
supply the power bank, and also to provide source of power that comes from the maximum
speed operation of the electric fan that is being converted into electrical energy.
Power Bank
Charging
The table shows the comparison of the increase of battery percentage in charging the power
bank using single generator and the two parallel connected generators with a constant period
of time which is one hour and the maximum speed of the fan. For the first experiment, a
single generator is used and the generated output voltage is being regulated to five volts and
a current of 60 mA which is used to charge the power bank in an hour. The experiment
records only four percent of increase from its current battery percentage. For the second
experiment, we used two pieces of generators which are parallel connected to each other to
boost the current it produces. It has also a regulated voltage of five volts and measured
32
current of 100mA. This records of about nine percent of increase on the battery from its
Mobile Phone
In a one-hour period of time of charging the mobile phone using the regulated electricity of
the two parallel connected generators and the fans maximum speed. For the phone having a
current battery percentage of 10%, an increase 23% is obtained. Meaning from the 10%
battery percentage of the mobile phone it becomes 33% after an hour of charging.
Distance Test. The study conducted distance test to be able to determine if the electric fan
will still operate at a certain distance through Bluetooth connection using android phone.
Distance Result
5 Meters Functional
10 Meters Functional
15 Meters Functional
20 Meters Functional
Through the use of an android phone, we are able to control the operation of the fan in a
specific range of distance by just connecting the android phone to the bluetooth of the
device. Based on the experiment, at five meters of distance from the device the fan still
operates properly, and also for 10, 15 meters. For 20 meters the use of android phone still
Product Limitations:
The study found out some limitations of the device based on the direct
1. The device will still operate properly regardless of sudden changes of temperature
2. Sensing the motion takes time and also requires limited sensing distance of one ft. to
3. Electricity is produced by the dynamo that is being regulated and delivers to the storage
bank. The storage bank charges up to 6% of the battery for a charging period of one hour.
34
CHAPTER V
Summary of Findings
1. This device energy generating electric fan with motion and thermal sensor for charging
small gadgets, senses the motion and temperature sensor and also generates power.
2. The device attained the intended preview status of the temperature scanned inside the
classroom.
3. After the experiment was done, there were limitations that were recorded through the
3.1 After hours of operation, the electric will heat up, because the mechanical load applied
3.2 The temperature sensor that records the current status of the room and is being viewed
3.3 Power generated by the generators has sufficient voltage but has an insufficient
current.
4. In turning on the electric there is a delay before the sensor sends signal and to be able for
the electric fan to operate. After turning off the electric fan, and planning to turn on the fan
the operator must wait for about 1 minute before applying motion because data are still
Conclusion
Based on the findings of the study, the following conclusions are drawn:
1. The energy generating electric fan with motion and thermal sensor for charging small
gadgets that uses motion and temperature variables is much a convenient way of controlling
the operation of the fan compared with the normal electric fan.
2. The device satisfactorily passed the evaluation on the functionalities in terms of motion,
temperature, speed and charging. But still there are some errors encountered during tests
specially in generating system that produces desired voltage but insufficient current that
3. The energy-generating electric fan with motion and temperature sensor is much
expensive than the normal electric fan but it has features that the normal electric fan does not
have, like an automatic mode which has the ability to operate the device by the use of
sensors. It has a manual drive which uses the android phone that serves as a remote
connection to the bluetooth of the device for the purpose of controlling the on and off switch
of the fan in distance. It also can generate power that is stored in a power bank and provides
Recommendation
Though the project has been proven to meet the required functionalities, there is still a
1. Use of high mechanical load dynamo that is applied to the shaft of the electric fan to
2. Use single but high current rating dynamo is advised to be able to charge the power
bank.
4. Use of accurate but larger reach of motion sensor in operating the electric
fan.
5. To decrease the required temperature into 22°C for the low speed operation of the fan.
BIBLIOGRAPHY
38
Bibliography
A. Books
Levărdă, B. and Budaciu, C. (2010), “The Design of Temperature Control System Using
Pic18f46201,” ICSTC, PP 282−286.
William, J.P. (1986); Control Systems Engineering, 2nd Ed., pp. 1-3.
(Needham (1986), Volume 4, Part 2, 99, 134, 151, 233.) Krishna Kant Microprocessors and
Microcontrollers: Architecture Programming and System
Design, PHI Learning Pvt. Ltd., 2007 ISBN 81-203-3191-5, page 61, describing the iAPX
432.) (Pauling, Linus (1988). "15: Oxidation-Reduction Reactions; Electrolysis.". General
Chemistry. New York: Dover Publications, Inc. p. 539. ISBN 978-0-486-65622-9)
(Liddell, Henry George; Scott, Robert (1980). A Greek-English Lexicon (Abridged Edition).
United Kingdom: Oxford University Press).
Bai, Y., & Ku, Y. (2008), Automatic room light intensity detection and control using a
microprocessor and light sensors. Retrieved from
https://www.researchgate.net/publication/4348956 Automatic room light intensity detection
and control using a microprocessor and light sensors
Fu, T., Wang, X., Yang, G. (2010), “Design of automatic- temperature-control circuit
module in tunnel microwave heating system,”
Retrieved from https://www.researchgate.net/publication/327232898 Design and simulation
of an automatic room heater control system
Mustafa Saad, Hossam Abdoalgader, and Muammer Mohamed (2014)," Automatic Fan
Speed Control System Using Microcontroller "
Retrieved from https://www.slideshare.net/imraanbracu/automatic-room-temperature-
controlled-fan-using-arduino-uno-microcontroller
Nwankwo Nonso Prince , Alumona Theophilus , Onwuzulike Daniel .A., Nwankwo Vincent
(2014), "Design and implementation of microcontroller based automatic fan speed regulator
(using temperature sensor) " Retrieved from https://docplayer.net/amp/57090826-Real-time-
based-temperature-control-using-arduino.html
39
Saad, M., Farij, A., Salah, A. and Abdaljalil, A. (2013), “Automatic Street Light Control
System Using Microcontroller,” Retrieved from
https://www.researchgate.net/publication/321319185_Automatic_Street_Light_Control_Syst
em_Using Microcontroller
M.H. Hussain, H.H. Hok, S.R.A. Rahim, N. Hashim, M. Ibrahim (2011). Retrieved
https://www.researchgate.net/publication/297527865 Microcontroller based Energy Saving
System
Md Mozasser Rahman, Mohd Fahrul Radzi Bin Zakaria, Shahrul Na‟im Sidek (2015).
Sensory and Control System for Smart Fan. Retrived from
http://researchpub.org/journal/jac/number/vol4-no3/vol4-no3-1.pdf
Uzoma Oduah (2017). Automatic Temperature Controlled Household Electric Ceiling Fan.
Retrieved from https://www.researchgate.net/publication/323384762 Automatic
Temperature ControlledHousehold Electric Ceiling Fan
MD Saquib Gadkari, Khemchand Kolte, Mrunal Jasani, Akash Vichare, Beatrice.S (2014).
Generation of Electricity from Fans. Retrieved from
https://ijcsit.com/docs/Volume%205/vol5issue03/ijcsit20140503136.pdf
APPENDICES
41
APPENDIX A
Bill of Materials
APPENDIX B
Material Specifications
Brief Data:
• Relay Maximum output: DC 30V/10A, AC 250V/10A.
• 4 Channel Relay Module with Opto-coupler. LOW Level Trigger expansion board, which
is compatible with Arduino control board.
• Standard interface that can be controlled directly by microcontroller (8051, AVR, *PIC,
DSP, ARM, ARM, MSP430, TTL logic).
• Relay of high-quality low noise relays SPDT. A common terminal, a normally open, one
normally closed terminal.
• Opto-Coupler isolation, for high voltage safety and prevent ground loop with
microcontroller.
43
Detailed Specification
44
Connecting
Pins
IR TRANSMITTER IR
LED
RECEIVER
ZX Sensor Pin-out
The ZX sensor board contains two emitters and one receiver module, to determine
the position of a reflector in the Z X space, and is powered externally using a 4-pin
standard 0.025-inch dip connector.
The following is the pin configuration:
1. Pin 1: NC
2. pin 2: Input voltage (5.0 volts DC)
3. Pin 3: RX for connection to an external UART serial transmitter (TX) line
4. Pin 4: TX for connection to an external UART serial receiver (RX) line
5. Pin 5: GND for ground.
6. Pin 6: GND for ground.
7. Pin 7: DR (Data Ready) for the I2C interface.
8. Pin 8: CL (or the SCL) clock signal for the I2C interface.
9. Pin 9: DA (or SDA) data signal for the I2C Interface
45
ARDUINO UNO
Specifications
Microcontroller ATmega328
Operating Voltage 5V
Input Voltage 7-12V
(recommended)
DC Generator
47
48
APPENDIX C
Program Codes
Arduino Codes
// Global Variables
ZX_Sensor zx_sensor = ZX_Sensor(ZX_ADDR);
GestureType gesture;
uint8_t gesture_speed;
SoftwareSerial mySerial(10, 11); // RX, TX
#define DHTPIN 9
#define DHTTYPE DHT11
DHT_Unified dht(DHTPIN, DHTTYPE);
int relay3 = 3; // declare variables for pins on the Arduino
int relay2 = 4; // declare variables for pins on the Arduino
int relay1 = 5; // declare variables for pins on the Arduino
boolean flag1 = true;
int vctr = 0;
int vctr2 = 0;
void flash()
void setup() {
dht.begin();
sensor_t sensor;
dht.temperature().getSensor(&sensor);
uint8_t ver;
dht.humidity().getSensor(&sensor);
delay(300);
digitalWrite(buzzer,LOW);
mySerial.begin(9600);
Serial.begin(9600);
Serial.println();
Serial.println("----------------------------------------");
Serial.println("----------------------------------------");
if ( zx_sensor.init() ) {
} else {
// Read the model version number and ensure the library will work
if ( ver == ZX_ERROR ) {
} else {
Serial.println(ver);
Serial.print(ZX_MODEL_VER);
while(1);
// Read the register map version and ensure the library will work
ver = zx_sensor.getRegMapVersion();
if ( ver == ZX_ERROR ) {
} else {
Serial.println(ver);
51
if ( ver != ZX_REG_MAP_VER ) {
Serial.print(ZX_REG_MAP_VER);
while(1);
MsTimer2::start();
void loop() {
switch ( gesture ) {
// mySerial.println("No Gesture");
delay(1000);
flag1 = true;
digitalWrite(relay1,HIGH);digitalWrite(relay2,LOW);digitalWrite(relay3,HIGH);
flag1 = false;
break;
{
53
digitalWrite(relay1,LOW);digitalWrite(relay2,LOW);digitalWrite(relay3,LOW);
else if(inChar == 'H') //if data fetched from app is “H” (means HIGH or ON)
digitalWrite(relay1,HIGH);digitalWrite(relay2,LOW);digitalWrite(relay3,LOW);
digitalWrite(relay1,HIGH);digitalWrite(relay2,LOW);digitalWrite(relay3,HIGH);
flag1 = false;
digitalWrite(relay1,HIGH);digitalWrite(relay2,LOW);digitalWrite(relay3,HIGH);
flag1 = false;
digitalWrite(buzzer,HIGH); //pin 7 on
flag1 = true;
sensors_event_t event;
if(
//Serial.println(event.temperature);
}
55
if(event.temperature> 21 && event.temperature < 27){ //if temp is greater than 22 and less
than 27
digitalWrite(relay1,HIGH);digitalWrite(relay2,LOW);digitalWrite(relay3,LOW);
if(event.temperature> 26 && event.temperature < 33){ //if temp is greater than 26 and less
than 33
digitalWrite(relay1,HIGH);digitalWrite(relay2,HIGH);digitalWrite(relay3,LOW);
//delay(50000);
digitalWrite(relay1,HIGH);digitalWrite(relay2,LOW);digitalWrite(relay3,HIGH);
//delay(50000);
//Serial.print("Humidity: ");
//Serial.print(event.relative_humidity);
//Serial.println("%");
56
.//android setup
#End Region
#End Region
Sub Process_Globals
'These global variables will be declared once when the application starts.
End Sub
Sub Globals
'These global variables will be redeclared each time the activity is created.
End Sub
'Do not forget to load the layout file created with the visual designer. For example:
End If
End Sub
Sub Activity_Resume
End Sub
ast.close
End If
End Sub
End Sub
59
lbldata.Text = temp //change text lbl data with the value of variable temp
Try
lbldata.Text = str.SubString(4) //change text of lbl data text to the 5th letter of str value
End If
End If
Catch
Log("Errr")
End Try
End If
60
End Sub
Log(LastException)
End If
End Sub
Sub mnuOpenComm
Dim l As List
l.Initialize
l.Add(PairedDevices.GetKeyAt(i))
Next
61
End If
End Sub
Sub mnuCloseComm_Click
ast.close
End If
End Sub
End If
End Sub
End If
End If
End Sub
End If
End If
End Sub
Try
Catch
Log("Error")
End Try
Try
Catch
Log("Error")
End Try
End If
End Sub
End If
End If
End Sub
65
APPENDIX C
Pictures
66
67
APPENDIX D
Curriculum Vitae
PERSONAL BACKGROUND
Gender: Male
Citezenshp: Filipino
PARENTS
EDUCATIONAL BACKGROUND
PERSONAL BACKGROUND
Gender: Male
Citizenship: Filipino
PARENTS:
EDUCATIONAL BACKGROUND
PERSONAL BACKGROUND
Gender: Male
Citizenship: Filipino
PARENTS:
EDUCATIONAL BACKGROUND
PERSONAL BACKGROUND
Alangalang Leyte
Gender: Male
Citizenship: Filipino
PARENTS:
EDUCATIONAL BACKGROUND
Training Attended: On the Job Training at LEYECO III, Tunga Leyte May - June
2018
71