You are on page 1of 11

www.idosr.

org Eze et al
©IDOSR PUBLICATIONS
International Digital Organization for Scientific Research ISSN: 2550-794X
IDOSR JOURNAL OF SCIENTIFIC RESEARCH 8(2) 105-115, 2023.
https://doi.org/10.59298/IDOSR/2023/10.2.6008

Design and Implementation of an Industrial Heat Detector and


Cooling System Using Raspberry Pi

Eze Val Hyginus Udoka1, Enerst Edozie2, Turyahabwe Frank2, Kalyankolo


Umaru2 and Wantimba Janat2

Department of Publication and Extension, Kampala International University, Uganda.


1

Department of Electrical Engineering, Kampala International University, Uganda.


2

ABSTRACT
In this research paper an industrial heat detector and cooling system using Raspberry PI
was successfully developed and implemented. The workspace/machine temperature is
maintained and monitored continuously using the DHT11 temperature sensor with
Raspberry Pi. This developed system triggers the cooling fan ON immediately the
temperature is >25.99oC and triggers it OFF immediately the temperature range is <26.00oC
and an email will be sent to the manger (user) when the machine or environment continues
to heat above 30.00oC. Furthermore, if the machine continues to overheat up-to 40oC, the
embedded software will automatically trigger OFF the machine indicating that something
is wrong. The email will notify the manager (user) that the machine is getting overheated
and needed an urgent attention. This research work has successfully achieved the aim of
solving the problem of machine overheating by either cooling it or sending signal to the
manager for immediate intervention which will help in reducing the cost of repairing and
frequent maintenance.
Keywords: Heat detector, Cooling Fan, Raspberry, Sensor, Microcontroller, Solar Panel

INTRODUCTION
There is everyday advancement in part of a fan. Usually, the speed of the fan
technology, artificial intelligent and blades is controlled manually by the
smart electronic systems in the world. turning knob on the fan regulator [2][3].
Demand for the accurate temperature Electric fan is one of the most popular
control has conquered many of industrial electrical devices due to its cost
domains. Automatic temperature control effectiveness and low power
is important in order to maintain a consumption advantages. It is a common
comfortable environment. Automation circuit and widely used in many
system aims to further the cause of applications [2][3]. So, an automatic
automation to achieve the goal of temperature control system technology
simplicity. Temperature can be using microcontroller is needed for
controlled in an environment physically regulating the fan speed according to
with either fan or AC. The major concern the temperature changes [4][5][6].
in the un-automation of electric fan has A heat detector monitors the air
been a disturbance to the wellbeing of temperature and as the temperature
fan users. An electric fan is a device used varies within a preset temperature band
to produce airflow for the purpose of above set point, the fan switch changes
creating comfort and ventilation. Electric accordingly between ON and OFF values.
fans are designed to create breeze and Due to its advantages many research
circulate air in a region [1]. The fan efforts had been focused on automatic
creates its cooling effect based on the temperature control system. A
speed at which its blades rotate; hence, temperature controller is a closed loop
the speed regulator is a very important control system which senses the
105
www.idosr.org Eze et al
temperature of the environment and In [9][10] designed a system that controls
compares it with a user-fed threshold the room temperature using PT-100 and
temperature value and changes the speed Pic microcontroller to regulate the speed
of the fan accordingly [2]. In an of the fan. The PT100 temperature sensor
automatic temperature-controlled was used in converting the temperature
system, the independent variable into equivalent voltage. The systematic
(temperature) is measured by a suitable design of low power supply, fixed voltage,
sensor such as a thermocouple or subtraction and dimmer unit are designed
thermistor and converts it to a signal and comparison among them in the
acceptable by the controller. The devices were used for graphical
controller compares the temperature representation. The pi microcontroller
signal to the desired temperature (set- in [10][11] was programmed using MPLAB
point) and activates the final control IDE and the input was given by the
device. The final control device alters the keypad to monitor the temperature value.
dependent variable (fan switch) to change In [12] [13] the researcher proposed a
the quantity of heat being taken or added system automatic temperature control
to the process [1][2]. The automatic system for electric fan using PIC
temperature-controlled fan can be microcontroller. The temperature is
effectively applied in a places like measured by the LM35 temperature
hospitals, homes of the handicapped sensor and LCD was used to display the
peoples and elderly people, since it temperature value results. Whenever the
requires no human assistance [3]. temperature increases beyond the set
The author in [4][5][6][7][8] worked on the temperature reference value
ATmega8L microcontroller for Speed the fan triggers on and vice versa.
control of DC motor fed by a DC chopper In [14][15][16][17][18][19] the researchers
and as well as the effect of input current developed, fabricated and designed many
and the receiver-transmitter distance on solar photovoltaic models and detailed
the voltage detected by infrared receiver. its advantages as one of the major
The chopper is driven by a high sources of substituting conventional
frequency PWM signal and the controlling source of energy such as NEPA. The
PWM duty cycle is equivalent to that researchers also reviewed renewable
controlling the motor terminal voltage, energy as the only sources of energy that
which in turn adjusts the motor speed. can cleanly substitute conventional
In [3] an automatic fan speed control sources of energy. For one to have steady
system using Arduino Uno was design. power, the need to install solar
The temperature is measured by the photovoltaic panels in the building being
LM35 temperature sensor and it building integrated or stand alone is
Potentiometer was connected as a very necessary to avoid interruption in
regulator to the microcontroller. The fan the cooling system. From this extensive
speed was displayed in the Revolution Per review many drawbacks in the existing
Minute (RPM) in the LCD. designs were encountered such as: (1)
In [4] a fan speed controlling system using Industrially, many running machines
temperature and humidity sensor were over-heat up and got spoilt due to la te
designed using Arduino microcontroller detection an d un -automa ted
as a regulator. This was design to work cooling system. This actually leads to
according to the environmental unnecessary spending when the
temperature whereas the fan speed is machines breakdown which would have
manually controlled. The temperature and been curtailed by an industrial heat
humidity is measured by DHT22 Sensor detector and cooling system with instant
and displayed in the LCD and the duty email notification using raspberry pi. (2)
cycle of the temperature is already set as There is no need of a person
the reference temperature. The values of sitting/keeping around all the time to
the duty cycle change the fan speed and monitor the machines in terms of
also varies the temperature change. controlling their heating-cooling sessions
hence reducing costs in terms of labor
106
www.idosr.org Eze et al
and also purchasing new machines or The review from related works the
repairing the available ones due to the idea behind this research work is to
damages attained during the overheating design & implement an industrial heat
process. detector and a cooling system with
Due to all these drawbacks from the instant email notification using raspberry
existing heating and cooling systems, it is pi that will control the speed of a fan
necessary to develop an automatic based on the temperature of its
temperature control electric fan that will environment with the help of a
have the capacity to automatically microcontroller. A temperature sensor
regulate the speed level of the fan has been used to measure the
according to temperature of the temperature of the workplace and the
environment. Automatic temperature- speed of the fan is varied according to the
controlled fan leverages the power of workplace temperature using PWM
raspberry pi to provide an automatic technique. The duty cycle is varied from
control fan, regulates its speed by 0 to 100 to control the fan speed
measuring the temperature of the depending upon the workplace
environment, compare it, analyze it and temperature, which is displayed on Liquid
sends notification to user instant. The Crystal Display. The main objective of
Raspberry pi, Raspbian, Python, motor, this research work is to design and
jumper wires, sensors and other software implement a smart device system using
tools were used to develop an automated raspberry pi that will have the functional
fan which measures the surrounding ability to detect heat, activate the fan for
temperature and adjusts the regulatory the cooling of the system and as well
system of the fan accordingly in an trigger email notification to the manager
automated manner [12][20][21][22][23]. [24][25].
MATERIALS AND METHODS
Materials used for the research design m a k e s i t t o b e easily interfaced with
1. Temperature Sensor: DHT11 any micro-controller such as Arduino,
temperature sensor was used due to its Raspberry Pi and so on to measure
low-cost and a l s o t h e a b i l i t y t o s e n s e humidity and temperature
humidity. I t w a s a l s o u s e d b e c a u s e instantaneously.
it has the functionalities that

Figure 1: DHT11 Temperature Sensor

2. Liquid Crystal Display: The LCD is a have no displaying limitations like seven
dot matrix liquid crystal display that segments.
displays alphanumeric characters and This LCD has two registers known as
symbols. T h e ( 16 X 2) LCD was used in Command and Data where the command
this research work to display the room register stores the command instructions
temperature value. T h e Liquid Crystal given to the LCD. A command is an
Display screen was used for this research instruction given to LCD to do a
work due its low cost, easily to interface, predefined task like initializing it,
107
www.idosr.org Eze et al
clearing its screen, setting the cursor data register stores the data to be
position and controlling display. The displayed on the LCD.

16x2
LCD

Figure 2: Liquid Crystal Display


3. Raspberry Pi: This is a credit card– Raspberry Pis to learn programming
sized computer that plugs into your TV or skills, build hardware projects, do home
any other display which can be used to automation, and even use them in
learn coding and to build electronics industrial applications. The Raspberry Pi
projects. The Raspberry Pi is being used is a very cheap computer that runs Linux
by adults and children all over the world and window but it also provides a set of
to learn programming and digital making. GPIO (general purpose input/output) pins
The original Pi had a single-core 700MHz that allow you to control electronic
CPU and just 256MB RAM, and the latest components for physical computing and
model has a quad-core 1.4GHz CPU with explore the Internet of Things (IoT).
1GB RAM. All over the world, people use

108
www.idosr.org Eze et al
Figure 3: Raspberry Pi
METHODS
The microcontroller was programmed r e f e r e n c e t e m p e r a t u r e r a n g e and
using C, Python, C# language in order to feeds the microcontroller w i t h t h e
suit its designed features and as well to w o r k i n g signal. Furthermore, the relay
be loaded in Raspberry Pi. The Switch switches OFF or ON th e fan based on the
control of the DC Fan was used as PWM interpreted temperature of the room or
signal which manipulates the pulse width workspace and finally sends e-mail
of the system and the temperature sensor notification instantly to the manager. The
was also reconfigured to suit the system block diagram, flow chart and circuit
design. The Temperature sensor was diagram of the system are shown as in
configured to senses the temperature of figure 4, figure 5 and figure 6
a room or workspace a t a c e r t a i n respectively.

Figure 4: Block Diagram of an Industrial Heat Detector and Cooling System.

109
www.idosr.org Eze et al

Figure 5: Flowchart of an Industrial Heat Detector and Cooling System

110
www.idosr.org Eze et al

Figure 6: Circuit Diagram of an Industrial Heat Detector and Cooling System

DHT11 Sensor is used to measure the optimized and ported to the Raspberry Pi
temperature and humidity. It consists of ARM architecture. This OS has very good
four pin: the first pin is connected to the integration with the hardware and
VCC on the power supply (3.5 to 5 V), comes w i t h pre- loaded GUI and
second pin is connected to the data and development tools. The IP was edited to
fourth pin is connected to the ground enable network interface files to accept
whereas third pin is free. The sensor is commands from python. Simple Mail
interface with Arduino and it consists of Transfer Protocol (SMTP) program was
two electrodes which detects any then used to deliver the email from the
resistance changes in the electrodes. Two Raspberry Pi to the configured mail-hub.
channel opto-coupler relay are used to The program will be set to be resetting the
electrically control and activates the sensor pin to LOW and recheck again the
other devices according to the same status after 2 seconds. This should return
electronic circuit. Raspberry Pi-3Model B the program to the main loop and so on.
runs on Raspbian OS and it is Liquid Crystal Display is used to display
programmed using python 2.7.6. the temperature and humidity results as
Raspbian’s operating system was chosen output.
because it runs on the Pi as OS has been
RESULTS AND DISCUSSION
This section of this research work details well discused the figures involved for
the reustls of this projrct work and as more simplicity.

111
www.idosr.org Eze et al

Figure 7: The output of the design at temperature less than 25.99oC

The diagram of figure 7, showed the range is <26.00oC. This working principle
output of the design from temperature was adopted because from 0.00oC to
range of 0.00oC to 25.99oC. It was 25,99oC the temperature ranges of a
observed from figure 7 that the accuracy machines were meant to be ideally good
of the designed system is reliable and but above that it will overheat and the
durable as it maintained the perfect cooling fan triggers ON to avoid
range for good system. The system overheating. From figure 7, it was
triggers the cooling fan ON immediately observed that at temperature ranges of
the temperature is >25.99oC and triggers 24.80oC, 20.90oC, 25.00oC which are very
it OFF immediately the temperature close to the activating temperature

112
www.idosr.org Eze et al
(26.00oC) the smart industrial heat the temperature range of the machines or
detector and cooling system designed environment is still within the normal
obviously never triggered ON because range.

Figure 8: The Output of the Design at Temperature of 26.000C and above

The design showed that when software will automatically trigger OFF
temperature above 26.000C is detected the machine indicating that something is
the cooling Fan triggers ON automatically faulty. The email will notify the manager
as shown in figure 8. It was observed (user) that the machine is getting
from figure 8 that the fan triggered ON overheated and needed an urgent
immediately the temperature of the attention and if the manger refuses to
system or the environment is > 25.99oC intervene immediately, the machine will
which is the specified range for an ideal automatically trigger OFF. From figure 8,
working system. This design system will it is observed that the accuracy and
trigger an email to the manger (user) efficiency of this designed system is
when the machine or environment excellently and efficiently achieved at
continues to overheat up to 30.00oC. very low cost.
Furthermore, if the machine continues to
overheat up-to 40oC, the embedded
CONCLUSION
In this research work, the workspace monitored continuously using the DHT11
temperature is maintained and temperature sensor with Raspberry Pi.

113
www.idosr.org Eze et al
This designed system triggers the cooling automatically trigger OFF the machine
fan ON immediately the temperature is indicating that something is wrong. The
>25.99oC and triggers it OFF immediately email will notify the manager (user) that
the temperature range is <26.00oC. The the machine is getting overheated and an
fan then triggers ON immediately the urgent attention is needed. This research
temperature of the system or the work has successfully achieved the aim
environment is > 25.99oC and an email of solving the problem of machine
sent to the manger (user) when the overheating by either cooling it or
machine or environment continues heat sending signal to the manager for
above 30.00oC. Furthermore, if the immediate intervention which will help in
machine continues to overheat up-to reducing the cost of repairing the
40oC, the embedded software will machines.
REFERENCES
[1]. Bai, Y. W., & Ku, Y. T. (2008). PIC, International Journal of Science
Automatic room light intensity and Research(IJSR), 2(9).
detection and control using a [7]. Eze, V. H. U., Olisa, S. C., Eze, M. C.,
microprocessor and light Ibokette, B. O., & Ugwu, S. A. (2016).
sensors. IEEE Transactions on Effect of Input Current and The
Consumer Electronics, 54(3), 1173- Receiver-Transmitter Distance on
1176. the Voltage Detected by Infrared
[2]. Mustafa, S., Hossam, A., and Receiver. International Journal of
Muammer, M. (2014). Automatic Scientific & Engineering Research,
Fan Speed Control System Using vol. 7, no. 10, pp. 642–645.
Microcontroller. 6th Int'l [8]. Eze, M. C., Eze, H. U., Chidebelu, N.
Conference on Electrical, O., Ugwu, S. A., Odo, J. I., & Odi, J. I.
Electronics & Civil Engineering (2017). Novel Passive Negative and
(ICEECE'2014), 27-28, 2014 Cape Positive Clamper Circuits Design
Town (South Africa) for Electronic Systems.
[3]. Nwankwo, N. P., Alumona, T., International Journal of Scientific &
Onwuzulike, D. A., & Nwankwo, V. Engineering Research, vol. 8, no. 5,
(2014). Design and pp. 856–867.
implementation of microcontroller [9]. Vaibhav, B. (2014). Room
based automatic fan speed Temperature based Fan Speed
regulator (using temperature Control system using Pulse Width
sensor). International Journal of Modulation Technique,
Engineering Research and International Journal of Computer
Management (IJERM), 01(05). Applications, Volume 85- No 5,
[4]. Wong, K. K., Abu, S. N. A., Sahimi, [10]. Amoo, A. L. (2014). Design and
M. S., & Othman, W. A. F. W. (2019). Implementation of a Room
Development of Reverse Vending Temperature Control System:
Machine using Recycled Materials Microcontroller- Based, IEEE.
and Arduino Microcontroller. [11]. Dilruba, Y. ( 2015) . Automatic
International Journal of Room Temperature Controlled Fan
Engineering Creativity and Speed Controller Using PT-100,
Innovation, 1(1), 7-16. International Journal of Scientific
[5]. Fan, J. R., Abdi, R. M. S., Mohamad, and Engineering Research, 6(8).
M., & Othman, W. A. F. W. (2019). [12]. Kunalsingh, T. (2017). Automatic
Energy Saving - Motion Activated Fan Speed Control System using
Smart Fan Design and Arduino, International Journal of
Implementation. International. Novel Research and Development,
Journal of Engineering Creativity Volume 2, Issue 4, April.
and Innovation, 1(1), 24-32. [13]. Harshavar, T. G. (2017). Real Time-
[6]. Zairi, I. R. (2013). Design of an Based Temperature Control Using
Automatic Temperature Control Arduino, International Journal of
System for Smart Electric Fan Using
114
www.idosr.org Eze et al
Innovations in Engineering and [19]. Eze, V. H. U., Eze, M. C., Ogbonna,
Technology, Volume 8, Issue 2. C. C., Ugwu, S. A., Emeka, K., &
[14]. Eze, V. H. U., Iloanusi, O. N., Eze, M. Onyeke, C. A. (2021).
C., & Osuagwu, C. C. (2017) Comprehensive Review of Recent
“Maximum power point tracking Electric Vehicle Charging Stations.
technique based on optimized Global Journal of Scientific and
adaptive differential conductance,” Research Publications, vol. 1, no.
Cogent Engineering, vol. 4, no. 1, 12, pp. 16–23.
pp. 1–13, doi: [20]. Edozie, E., Janat, W., Kalyankolo, Z.,
10.1080/23311916.2017.1339336 Adabara, I., & Ukagwu, K. J. (2020).
[15]. Eze, V. H. U., Eze, M. C., Chijindu, Design and Analysis of a Lab IP Spy
V., Chidinma, E., Samuel, E. U. A., & Camera and Alarm System using
Chibuzo, O. C. (2022). Raspberry Pi and
Development of Improved ATMEGA328P. System, 4(5), 16-20.
Maximum Power Point Tracking [21]. Ibrahim, A., Kasiimbura, O., Enerst,
Algorithm Based on Balancing E., Ginabel, O. O., Ouma, S., &
Particle Swarm Optimization for Komujuni, S. (2019). Raspberry Pi 3
Renewable Energy Generation. B+ Based War Field Spying Robot
International Digital Organization Using Wireless Camera.
for Scientific Research of Applied International Journal of Academic
Science, vol. 7, no. 1, pp. 12–28. and Applied Research (IJAAR),
[16]. Eze, M. C. (2021). Solar Energy Volume 3, Issue 7, Pages 49-53.
Materials and Solar Cells Optimum [22]. Hassan, A. S., Adabara, I., Ronald, A.,
silver contact sputtering & Muteba, K. (2018). Design and
parameters for efficient perovskite Implementation of an Automatic
solar cell fabrication. Solar Energy Power Supply from Four Different
Materials and Solar Cells, vol. 230, Source Using
no. 2020, p. 111185, doi: Microcontroller. vol, 4(5): 40-46.
10.1016/j.solmat.2021.111185. [23]. Edozie, E., & Vilaka, K. (2020).
[17]. Eze, V. H. U., Oparaku, U. O., Ugwu, Design and Implementation of a
A. S., & Ogbonna, C. C. (2021). A Smart Sensor and RFID Door Lock
Comprehensive Review on Recent Security System with Email
Maximum Power Point Tracking of a Notification. International Journal
Solar Photovoltaic Systems using of Engineering and Information
Intelligent, Non-Intelligent and Systems (IJEAIS), 4(7), 25-28.
Hybrid based Techniques. [24]. Hassan, A. S., Adabara, I., Ronald, A.,
International Journal of Innovative & Muteba, K. (2018). Design and
Science and Research Technology, Implementation of an Automatic
vol. 6, no. 5, pp. 456–474. Power Supply from Four Different
[18]. Eze, M. C. (2022). Improving the Source Using
efficiency and stability of in-air Microcontroller. vol, 4(5): 40-46.
fabricated perovskite solar cells [25]. Ibrahim, A., Abdurrahman, S., &
using the mixed antisolvent of Hassan, L. I. (2018). Design and
methyl acetate and chloroform. Implementation of an Automatic
Organic Electronics, vol. 107, pp. 1– Sun Tracking Solar Panel without
10,doi:10.1016/j.orgel.2022.10655 Light Sensors. International Journal
2. of Electrical and Electronic Science,
Volume 5, Issue 3, Pages 77-83.

CITE AS: Eze Val Hyginus Udoka, Enerst Edozie, Turyahabwe Frank, Kalyankolo Umaru,
and Wantimba Janat (2023). Design and implementation of an industrial heat detector
and cooling system using Raspberry Pi. IDOSR Journal of Scientific Research 8(2) 105-
115, 2023. https://doi.org/10.59298/IDOSR/2023/10.2.6008

115

You might also like