Automatic Temperature Control System Using Arduino: Kyi - Kyi - Khaing@miit - Edu.mm
Automatic Temperature Control System Using Arduino: Kyi - Kyi - Khaing@miit - Edu.mm
Using Arduino
Kyi Kyi Khaing, K. Srujan Raju, G. R. Sinha and Wit Yee Swe
1 Introduction
In the existing literature, there are many research papers that are temperature control
but very few of them have used Arduino for automatic control of temperature,
especially for monitoring applications. We studied several papers and here few of
important contributions are presented.
Atilla et al. presented a case study that the design of heating system controlled
by Arduino and has studied the technology, software, hardware used in the heating
system, which consists of isolated box, dry resistance, voltage regulator, thermo-
couple, air fan, microcontroller, and computer. Proportional–integral–derivative
(PID), neural network, fuzzy logic is mainly used for the temperature control of
heating systems. The system uses PID controller and exhibits satisfactory value of
stability, good reliability, and sensitivity also. Microcontroller-based temperature
control was designed with comparing theoretical values of temperature. However,
Arduino control and implementation were not done [1].
Abdullah et al. suggested a design of temperature control system and imple-
mented on TudungSaji microcontroller. Hardware implementation, as well as
software simulation, was tested and obtained. The purpose of this work includes
protection against bacteria after certain value of temperature. The application seems
to be very good controlling and rather preventing from bacteria since after certain
temperature, the bacteria can be killed. This could be also tested on Arduino IDE
system [2]. Wayan et al. proposed the development and design of temperature
distribution control for baby incubator application. In this system, it is a very
important to maintain a certain temperature inside the room to take care of proper
health of a baby. Humidity was also included in the study of experiment using
microcontroller-based system for temperature measurement and control. This
proved to be very important application for baby care and health [3].
Automatic Temperature Control System Using Arduino 221
3 Hardware Implementation
The generated voltage was continuous and analog signal generated through analog
pin of Arduino hardware. Arduino (ATmega328) controller was used, and the
voltage is taken as analog input in port 1 (A1) of Arduino Uno. The hardware reads
the analog signal, and it is then converted into suitable digital output with the help
of appropriate analog-to-digital converter (ADC) circuit that is inbuilt in it. ADC
has maximum capacity of 10-bits output generating from 0 to 1023 (1024
combinations).
Digital data corresponding to analog input received through the port is converted
and multiplied by a coefficient 0.488 just to normalize in centigrade. Similarly,
suitable multipliers such as 1.8 and afterward adding with 32 used to convert the
temperature measurement in Fahrenheit scale. The hardware sends the data to
16 2 LCD display which is connected with controller as shown in Fig. 4. Pin 1
and pin 2 are connected to ground and supply VCC, respectively, through Arduino
for activating or switching ON the LCD. Pin 3 enables through 10 K resister as
adjustment of brightness value of LCD display.
So, the display can be made on both the scales of temperature. A control bit,
either 0 or 1, is also sent by the Arduino to port 6 basically for providing control
224 K. K. Khaing et al.
application. Pins 8 and 9 can be seen connected with fans just to adjust, normalize,
and automatically control the temperate. Whenever temperature goes down after
certain value, the fans will be OFF else it will keep running. This is how the control
of temperature becomes automatic. Figure 3 shows the flowchart of the system.
4 Results
However, experimental setup was done and lot of temperature measurement was
recorded with suitable displays. Few of sample displays and the observations are
presented here with brief discussion.
Mainly, we have two outputs in this work: one for displaying the temperature
automatically on LCD display and second was even important that is for automatic
switching ON/OFF of fans so as to monitor the temperatures on automatic basis.
LCD display produces the output of temperature as well as the status of fans. For
example, in Fig. 4, it can be seen that 28 degree centigrade is being displayed by
the LCD display along with status of fan as ON. Actually, the running condition of
fans depends on the threshold value set. We set 25 degree centigrade as the value,
and therefore, it can be seen that for 28 degree centigrade fan is running (i.e., in ON
condition). Obviously, for below, for example 23 degree centigrade, the fan will go
OFF. The interface of display with bread board and Arduino hardware can be seen
in Fig. 5.
Automatic Temperature Control System Using Arduino 225
Fig. 5 Display of a
temperature and status of fan
in automatic control of
temperature
5 Conclusions
Acknowledgements The successful and final outcome of this paper is required a lot of guidance
and assistance from my teacher. I respect and thank Mr. G.R. Sinha, Professor, Myanmar Institute
of Information Technology (MIIT), Mandalay (Adjunct Professor, IIIT Bangalore, India).
References
1. Bayram, Atilla, Sulaiman Abdullah Moammed, and Fırat Kara. 2016. Design of Heating
System Controlled by Arduino. In 4th International Symposium on Innovative Technologies
in Engineering and Science, 1583–1591.
2. Abdullah, Rina, Zairi Ismael, Rizman, Nik Nur Shaadah Nik, Dzulkefli, SyilaIzawana, Ismail,
Rosmawati, Shafie, and Mohamad Huzaimy, Jusoh. 2016. Design an Automatic Temperature
Control System for Smart Tudung Saji Using Arduino Microcontroller. ARPN Journal of
Engineering and Applied Sciences 11(16):9578–9581.
3. Widhiada, W., D.N.K.P. Negara, and P.A. Suryawan. 2017. Temperature Distribution Control
for Baby Incubator System Using Arduino ATMega 2560. Bali Indonesia 19 (20) part xv,
1748–1751.
4. Dangi, Nagendra. 2017. Monitoring Environmental Parameters: Humidity and Temperature
Using Arduino Based Microcontroller and Sensors.
5. Kesarwani, Kanishak, S.M. Pranav, Tanish Nikhilesh Noah, and K.V.N. Kavitha. 2016.
Design of Temperature Based Speed Control System Using Arduino Microcontroller 14 (S3):
753–760. www.sadgurupublications.com.
226 K. K. Khaing et al.
6. Bhatia, Vaibhav, and Gavish Bhatia. 2013. Room Temperature based Fan Speed Control
System using Pulse Width Modulation Technique. International Journal of Computer
Applications (0975–8887) 81 (5): 35–40.
7. Wellem, Theophilus, and Bhudi Setiawan. 2012. A Microcontroller—Based Room
Temperature Monitoring System. International Journal of Computer Applications 53 (1):
7–10.
8. Nandagiri, Kiranmai, and Jhansi Rani Mettu. 2018. Implementation of Weather Monitoring
System. International Journal of Pure and Applied Mathematics 118 (16): 477–494.
9. Singhala, P., D.N. Shah, and B. Patel. 2014. Temperature Control using Fuzzy Logic.
International Journal of Instrumentation and Control Systems (IJICS).
10. Muhammad Asraf, H., K.A. NurDalila, A.W. Muhammad Hakim, and R.H. Muhammad
Faizzuan Hon. 2017. Development of Experimental Simulator via Arduino-based PID
Temperature Control System using LabVIEW. Journal of Telecommunication, Electronic and
Computer Engineering. 9 (1–5): 53–57.
11. Sami, K., M. Lavanya, M. Arivalagan and Yathrasi Sree Harsha. 2016. Temperature
Controlled Based Cooler Pad Using Arduino. Journal of Chemical and Pharmaceutical
Sciences 216–220.
12. Masstor, Norhidayah Binti. 2015. Temperature Alert Alarm System (TAAS).
13. Okpagu, P.E., and A.W. Nwosu. 2016. European Journal of Engineering and Technology 2
(7): 13–21.
14. Tan, Christina. 2010. Integrated Temperature, Light and Humidity Monitoring System.
15. Eltrubaly, Meream. 2016. Remote Temperature Monitoring of Electronic Systems, 1–29.
Sweden: Blekinge Institute of Technology.