Evaluation of a low-cost multithreading approach solution for an embedded system based on Arduino with pseudo-threads
Ref: CISTER-TR-190611 Publication Date: 6, Mar, 2019
Evaluation of a low-cost multithreading approach solution for an embedded system based on Arduino with pseudo-threadsRef: CISTER-TR-190611 Publication Date: 6, Mar, 2019
Although projects using Arduino boards are becoming more and more common due to their simplicity, low cost, and a variety of applications, Arduino boards consist of a simple processor that does not allow the execution of threads. This paper presents a study and evaluation of multithreading approaches on a single Arduino board. We present a group of existing software approaches for dealing with concurrent actions on Arduino. Among the solutions presented, we propose a case study using timed interrupts due to their simplicity. Although the case study provided requires dealing with many actions concurrently, including external actions, timed interrupts showed to be a robust solution to the problem. Furthermore, the evaluated approach presented great potential for being applied and implemented commercially at low cost.
14th International Conference on Software Technologies (DSIE 2019), pp 37-44.