Given an Arduino Mega board, ranging sensors, LEDs and buttons.
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
- 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