Professional Documents
Culture Documents
Implementation
Jian Rong Fan, Muhammad Syafieq Abd Razak, Nur Amirah Mohamad Mohayadin, Wan Amir Fuad
Wajdi Othman*
School of Electrical & Electronic Engineering, Universiti Sains Malaysia, 14300 Nibong Tebal, Pulau Pinang,
Malaysia
*
Corresponding E-mail: wafw_othman@usm.my
Abstract— Nowadays, the weather is getting hot and the global warming keeps increasing. There are many
factors that led to the global warming. One of the factors is air conditioning that produces CFC. Instead of
using air conditioning, using a fan is safer to our environment. Therefore, we created smart fan that can
overcome all those problems. Besides, our smart fan also can reduce the energy by lowering the power
consumption. There are two main features in our smart fan which includes able to sense the presence and
follow the user motion. Smart fan will turn on when it detects the presence of the user and it will follow
the user motion whether to the left or right. With the detection of user presence, it will help reduce the
energy usage and by following the user motion it will helps to focus on one user and reduce the
temperature around its user. In this work, we use two sensors for the main features. We use Ultrasonic
sensor to follow the user motion and IR sensor to detect the presence of the user. Smart fan has managed
to reduce energy by 11.47 % than the normal table fan.
International Journal of Engineering Creativity and Innovation ( IJECI ) is licensed under a Creative Commons Attribution-
NonCommercial 4.0 International License. Libraries Resource Directory. We are listed under Research Associations category.
International Journal of Engineering Creativity and Innovation, 2019, 1 (1), 24-32
difficult if the fan is heavy or the user is of elderly motor. They showed that the servo motor speed
age. can be adjusted with analog value between 1 and
255.
It may also require multiple attempts to redirect
the fan in the desired direction. So, we have Robotix [4], published on 4 February 2015,
designed a circuit which will solve the above two had used the IR sensor module to test as a switch
problems and make the use of fan more user for an LED on Arduino. They showed that when
friendly by making the process smart. This fan is the IR sensor [5] had analog read the voltage less
only running when it detects people in a room, and than 500 (which in the range of 1 to 1024), the
automatically follows the motion of humans to LED will light up. The voltage reference can also
give the best feeling of cooling. be adjusted from the potentiometer on the module.
motor driver is a little current amplifier; the Figure 4: Illustrative figure of the components and
function of motor drivers is to take a low-current connection
control signal and then turn it into a higher-current
signal that can drive a motor [32-33]. In this work, Another sensor used is IR sensor which its
we have used L293D Motor Driver that works Signal pin is connected to pin A0 of Arduino Uno.
with Arduino Uno like a charm. For the actuators, we use servo motor and DC
motor. The signal pin of servo motor is connected
Fig. 4 shows an illustrative diagram of to pin9 and a motor driver L293D is used to
components and connection on breadboard; control the DC motor as it used up more than 5V
however, it is not the final circuit connection. A for faster speed. Since we only make the fan turns
circuit was constructed as shown in Fig. 5. There in one single direction, the input pin from motor
are 2 Ultrasonic sensors where the Signal (SIG) driver is connected to pin7 while another input pin
pin of left ultrasonic sensor is connected to pin 11 for motor is grounded. 2 LEDs are connected at
at Arduino, while another right Ultrasonic sensor pin5 and pin6 respectively. An external power
SIG pin is connected to pin 13. supply is given to the motor driver pin8 to power
up the DC motor. The operating system of the
project is shows in Fig. 6 with block diagram
showing the mechanism and flow of the process in
this work.
Fig. 7 shows the overall working flowchart for nearer object and moved towards that direction,
the system. From the flowchart, it shows that Red making a motion following mechanism.
Indicator will light up for showing switched on. IR
sensor will first sense whether there was object in
the range of 5cm. If it sensed inside the range, fan IV. RESULTS
or DC motor will start turning and indicated by a Fig. 8 shows the prototype of in this work is
Green Led, else motor and led will turn off if more made from recycled materials: such as food casing
than 5cm. For object following, left and right and cardboard, of course with DVD disc as the
ultrasonic sensors were used, with sensing range propeller. The prototype is mainly to test the
of 10cm. working operation of mechatronics system
completes with sensors, actuators and
If left sensor sensed less than threshold distance microcontroller. Therefore, the sensing region of
(10cm) and Right sensor sensed more than 10cm, the sensors had been set to as short as possible to
the servo motor will turn left by 2 degree, enable stable sensing capability.
indicating left side sensed nearer object. In the
other hand, if right sensor sensed less than 10cm For energy saving comparison, we had chosen a
and left sensor sensed more than 10cm, the right product sample from internet to compare its
side now was sensing nearer compared to left side, energy consumption with our prototype. We had
thus the servo motor will turn right by 2 degree. chosen a mini electric fan with 2 lithium ion
Therefore, the left side and right side of ultrasonic batteries with total of 7.4V and rated power of 4W
sensor will keep comparing which side sensed which is shows in Fig. 9.
Figure 8: Prototype of motion following smart fan Figure 9: Mini Electric Fan
for energy saving