Abstract: Real-time operating systems (RTOS) play a pivotal role in facilitating efficient multitasking and resource management in embedded systems. This paper delves into the intricacies of Semaphore and Mutex synchronization techniques within the FreeRTOS framework on Arduino microcontrollers, focusing on their application in synchronizing tasks for LED control. Semaphore serves as a signalling mechanism, allowing tasks to coordinate and synchronize their actions, while Mutex ensures exclusive access to shared resources, mitigating the risks of data corruption and race conditions. Through detailed descriptions, comprehensive implementation codes, and rigorous real-time experimentation, it showcases the robustness and effectiveness of Semaphore and Mutex in ensuring the seamless operation of real-time systems on resource-constrained platforms like Arduino. This study contributes valuable insights into the practical utilization of synchronization primitives in embedded systems, paving the way for enhanced system reliability and performance.

Keywords: Real-time operating systems, Semaphore, Mutex, FreeRTOS, Arduino, Embedded systems, Multitasking, Resource management, Synchronization, Task coordination.

Sakthivel V, Sreeja P, "Synchronization Techniques in Real-Time Operating Systems: Implementation and Evaluation on Arduino with FreeRTOS", IJARCCE International Journal of Advanced Research in Computer and Communication Engineering, vol. 13, no. 2, 2024, Crossref https://doi.org/10.17148/IJARCCE.2024.13246.

PDF | DOI: 10.17148/IJARCCE.2024.13246

Open chat
Chat with IJARCCE