Design of a Two-Point Temperature Monitoring System on a Heating Medium Based on Arduino Mega 2560 and IoT

Authors

  • Nataly Wisnu Anggara Universitas Pelita Harapan
  • Mario Gracio Anduinta Rhizma Universitas Pelita Harapan

DOI:

https://doi.org/10.19166/fastjst.v10i1.10897

Keywords:

Arduino MEGA 2560, Firebase, IoT, DS18B20 thermocouple sensor, dual sensor, two-point monitoring system, temperature

Abstract

This research aims to design a two-point temperature monitoring system using 2 DS18B20 sensors on a heating medium using DS18B20 sensors controlled by an Arduino Mega 2560 and integrated with Internet of Things (IoT) technology. The measured data are processed by the microcontroller and transmitted via the ESP8266 module to the Firebase platform, then displayed on a smartphone application and recorded as historical data. The experimental results show that the DS18B20 sensors are able to read temperature changes linearly within the tested temperature range of approximately 27°C to 67°C and can follow the temperature increase trend of the heating medium. To improve measurement accuracy, calibration was performed using a linear regression method with a surface thermocouple as the reference instrument. After calibration, the measurement error was significantly reduced to 2.90% at the upper measurement point and 2.66% at the lower measurement point, indicating that the system is more representative for monitoring temperature changes at two measurement locations. The proposed demonstrates decent performance as an IoT-based temperature monitoring prototype, making it suitable for small-scale heating applications and educational purposes.

References

[1] B. Li and J.H. Lei, "Design of Industrial Temperature Monitoring System Based on Single Chip Microcontroller," 2011 International Conference on Computer Science and Service System (CSSS), Nanjing, 2011, pp. 342-344, https://doi.org/10.1109/CSSS.2011.5974595.

[2] S. Ponnusamy, R. Samikannu, B. A. Tlhabologo, W. Ullah and S. Murugesan, “Design and Development of Microcontroller-Based Temperature Monitoring and Control System for Power Plant Generators,” IOP Conference Series: Materials Science and Engineering, Volume 1055, International Virtual Conference on Robotics, Automation, Intelligent Systems and Energy (IVC RAISE 2020) 15th December 2020, Erode, India https://doi.org/10.1088/1757-899X/1055/1/012158

[3] D. K. Fisher, H. Kebede, “A Low-Cost Microcontroller-Based System to Monitor Crop Temperature and Water Status,” Computers and Electronics in Agriculture, Volume 74, Issue 1, 2010, Pages 168-173, ISSN 0168-1699, https://doi.org/10.1016/j.compag.2010.07.006.

[4] H. Zhu and L. Bai, "Temperature Monitoring System Based on AT89C51 Microcontroller," 2009 IEEE International Symposium on IT in Medicine & Education, Jinan, China, 2009, pp. 316-320, https://doi.org/10.1109/ITIME.2009.5236408.

[5] K.K. Khaing, K. S. Raju, G.R. Sinha, W.Y. Swe, “Automatic Temperature Control System Using Arduino,” Proceedings of the Third International Conference on Computational Intelligence and Informatics, 2020, Advances in Intelligent Systems and Computing, vol 1090. Springer, Singapore. https://doi.org/10.1007/978-981-15-1480-7_18

[6] J. Hubbart, T. Link, C. Campbell, and D. Cobos, “Evaluation of a Low-Cost Temperature Measurement System for Environmental Applications,” 2005, Hydrological Processes Vol. 19 Issue 7: 1517-1523. https://doi.org/10.1002/hyp.5861

[7] A. Indriani, Hendra, and Y. Witanto, “Error of Assembly Microcontroller Arduino Mega and ATmega in the Control of Temperature for Heating and Cooling System,” AMM, vol. 842, pp. 324–328, Jun. 2016, https://doi.org/10.4028/www.scientific.net/amm.842.324.

[8] P. Megantoro, A. A. Bagus, H. F. A. Kusuma, S. A. Reina, M. Fadhilah, “Automation System of Temperature Calibrator for Room Thermostat Using Arduino Mega256,” Proceedings of the International Conference on Advanced Technology and Multidiscipline (ICATAM 2024), 2024. https://doi.org/10.2991/978-94-6463-566-9_14

[9] M. K. Fadzly, Yiling, M. F. Rosli, T. Amarul and M. S. M. Effendi, “Smart Air Quality Monitoring System Using Arduino Mega,” Materials Science and Engineering, Volume 864, 2nd Joint Conference on Green Engineering Technology & Applied Computing 2020 4-5 February 2020, Bangkok, Thailand. https://doi.org/10.1088/1757-899X/864/1/012215

[10] X. Gao, Q. Ma, X. Sun, J. Wang and S. Li, "Research on a Dual-Closed-Loop Temperature Control Method and System Based on Dual Sensors for Infrared Object Simulation," IEEE Sensors Journal, vol. 19, no. 23, pp. 11553-11561, 1 Dec.1, 2019, https://doi.org/10.1109/JSEN.2019.2935555.

[11] M. A. Muslim, R. A. Setyawan, A. Basuki, A. A. Razak, F. P. Hario and E. Fernando, “IOT Based Climate Monitoring System,” Earth and Environmental Science, Volume 746, 3rd International Conference on Life and Applied Sciences for Sustainable Rural Development (ICLAS-SURE 2020), November 18-19, 2020 Central Java, Indonesia. https://doi.org/10.1088/1755-1315/746/1/012044

[12] R. F. Maulana, M. A. Ramadhan, W. Maharani and M. I. Maulana, “Rancang Bangun Sistem Monitoring Suhu dan Kelembapan Berbasis IOT Studi Kasus Ruang Server ITTelkom Surabaya,” Indonesian Journal of Multidisciplinary on Social and Technology, 2023, 1(3), 224–231. https://doi.org/10.31004/ijmst.v1i3.169

[13] R. Saha, S. Biswas, S. Sarmah, S. Karmakar and P. Das, “A Working Prototype Using DS18B20 Temperature Sensor and Arduino for Health Monitoring,” SN Computer Science Vol.2, article number 33, 2021. https://doi.org/10.1007/s42979-020-00434-2

[14] Y. X. Wu, D. Liu, and X. H. Kuang, “A Temperature Detecting System Based on DS18B20,” Advanced Materials Research, vol. 328–330, pp. 1806–1809, Sept. 2011, https://doi.org/10.4028/www.scientific.net/amr.328-330.1806.

[15] R. A. Koestoer, Y. A. Saleh, I. Roihan, Harinaldi, “A Simple Method for Calibration of Temperature Sensor DS18B20 Waterproof in Oil Bath Based on Arduino Data Acquisition System,” AIP Conference Proceedings, 25 January 2019; 2062 (1): 020006. https://doi.org/10.1063/1.5086553

[16] S. Budijono and Felita, “Smart Temperature Monitoring System Using ESP32 and DS18B20,” Earth and Environmental Science, Volume 794, 4th International Conference on Eco Engineering Development, 10-11 November 2020, Banten, Indonesia, https://doi.org/10.1088/1755-1315/794/1/012125

[17] A. N. Fathoni, N. Hudallah, R. D. M. Putri, K. Khotimah, T. Rijanto and M. Ma’arif, "Design Automatic Dispenser for Blind People based on Arduino Mega using DS18B20 Temperature Sensor," 2020 Third International Conference on Vocational Education and Electrical Engineering (ICVEE), Surabaya, Indonesia, 2020, pp. 1-5, https://doi.org/10.1109/ICVEE50212.2020.9243254

Downloads

Published

2026-05-20

Issue

Section

Articles