MATEC Web of Conferences (Jan 2017)
Arrow-bot: A Teaching Tool for Real-Time Embedded System Course
Abstract
This paper presents the design of a line following Arduino-based mobile robot for Real-Time Embedded System course at Universiti Tun Hussein Onn Malaysia. The real-time system (RTS) concept was implementing is based on rate monotonic scheduling (RMS) on an ATmega328P microcontroller. Three infrared line sensors were used as input for controlling two direct current (DC) motors. A RTS software was programmed in Arduino IDE which relied on a real-time operating system (RTOS) of ChibiOS/RT library. Three independent tasks of software functions were created for testing real-time scheduling capability and the result of temporal scope was collected. The microcontroller succeeded to handle multiple tasks without missed their dateline. This implementation of the RTOS in embedded system for mobile robotics system is hoped to increase students understanding and learning capability.