Implementation of a real-time operating system in an embedded system for temperature control
Abstract
This work presents an application of Real Time Operating System (RTOS) in a embedded system of temperature control, throughout the implementation, it has been analyzed how to program a RTOS in comparison to a standard methods (bare metal) in embedded system, the complexity on the development, the application of resource management for the tasks in real time and synchronization. Besides, it has been evaluated the benefits of using a RTOS, like the simplification of the resource management, determining which task has the highest priority or the performance on the temperature control of the proposed application. The results show the efficiency of the RTOS in an embedded system for temperature control, using the FreeRTOS as base for development in a microcontroller ARM (STM32F401), making it available as a base of development for new projects in the embedded systems.
References
Bertoleti, P. Principais conceitos de RTOS para iniciantes com Arduino e FreeRTOS Brasil: Embarcados, 2019. Disponível em: https://embarcados.com.br/rtos-para-iniciantes-com-arduino-e-freertos/. Acesso em 8 dez. 2024.
Cardoso, M. O Que É Um Microcontrolador? Brasil: IEEE RAS UFCG, 2020. Disponível em: https://edu.ieee.org/br-ufcgras/o-que-e-um-microcontrolador/. Acesso em 30 jun. 2025.
Jain, R. Arduino FreeRTOS Tutorial 3- Using Semaphore and Mutex in FreeRTOS with Arduino India: Circuit Digest, 2020. Disponível em: https://circuitdigest.com/microcontroller-projects/arduino-freertos-tutorial-using-semaphore-and-mutex-in-freertos-with-arduino. Acesso em 20 out. 2024.
Leroux, P. N. RTOS versus GPOS: What is best for embedded development? Canada: QNX Software Systems Ltd, 2005.
Ogata, K. Engenharia de Controle Moderno. 5ª Edição Brasil: São Paulo, 2011.
Schneider, J.; Smalley, I. O que é um microcontrolador? EUA: IBM, 2024. Disponível em: https://www.ibm.com/br-pt/think/topics/microcontroller. Acesso em 30 jun. 2025.
TPointTech Difference between Real-Time operating system and general-purpose operating system. India: Noida, 2025. Disponível em: https://www.tpointtech.com/real-time-operating-system-vs-general-purpose-operating-system. Acesso em 20 out. 2024.
Walls, C. Embedded RTOS Design: Insights and Implementation Grã-Bretanha: Newnes, 2021.
Vaibhav. What Makes RTOS an Ideal Choice for the Next Generation Embedded Applications? India: Embitel, 2019. Disponível em: https://www.embitel.com/blog/embedded-blog/what-is-rtos-and-why-is-it-critical-for-embedded-systems/. Acesso em 29 jun. 2025.
Zhao, H. RTOS vs GPOS: A Complete Guide China: WellPCB, 2021. Disponível em: https://www.wellpcb.com/blog/comparisons/rtos-vs-gpos/#Wrapping_Up. Acesso em 20 out. 2024.
Copyright (c) 2025 Andrew Ral Sen Wong, Arthur Augusto de Lima Maximiano, Rodrigo Rech

This work is licensed under a Creative Commons Attribution 4.0 International License.
All works published in REGRASP are licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
This means that:
Anyone can copy, distribute, display, adapt, remix, and even commercially use the content published in the journal;
Provided that due credit is given to the authors and to REGRASP as the original source;
No additional permission is required for reuse, as long as the license terms are respected.
This policy complies with the principles of open access, promoting the broad dissemination of scientific knowledge.



























