Monday, 18 March 2024

Mini-project 4 (Self-study): Real-time operating system

Given an Arduino Mega board, ranging sensors, LEDs and buttons.

- You should install a real-time OS on the Mega board
- Create scheduling (two tasks) to read data from two sensors, Ultrasound and Infrared Ranging Sensors
- Create scheduling (one task) for LEDs
- Create scheduling (one task) to receive signals from button and used it as event-trigger for sensor reading and LED display. 

Hints:
https://create.arduino.cc/projecthub/feilipu/using-freertos-multi-tasking-in-arduino-ebc3cc
http://microcontrollerslab.com/use-freertos-arduino/
https://forum.arduino.cc/index.php?topic=138643.0
https://github.com/PeterVranken/RTuinOS




Lecture 3-2: Real-time Operating Systems

In this lecture, we studied fundamental elements and functions of a real-time operating system. Moreover, we also studied key features of fr...