ARM-Based Microcontroller Multitasking Projects
Author | : Dogan Ibrahim |
Publisher | : Newnes |
Total Pages | : 520 |
Release | : 2020-05-14 |
ISBN-10 | : 9780128226315 |
ISBN-13 | : 0128226315 |
Rating | : 4/5 (15 Downloads) |
Book excerpt: Most microcontroller-based applications nowadays are large, complex, and may require several tasks to share the MCU in multitasking applications. Most modern high-speed microcontrollers support multitasking kernels with sophisticated scheduling algorithms so that many complex tasks can be executed on a priority basis. ARM-based Microcontroller Multitasking Projects: Using the FreeRTOS Multitasking Kernel explains how to multitask ARM Cortex microcontrollers using the FreeRTOS multitasking kernel. The book describes in detail the features of multitasking operating systems such as scheduling, priorities, mailboxes, event flags, semaphores etc. before going onto present the highly popular FreeRTOS multitasking kernel. Practical working real-time projects using the highly popular Clicker 2 for STM32 development board (which can easily be transferred to other boards) together with FreeRTOS are an essential feature of this book. Projects include: LEDs flashing at different rates; Refreshing of 7-segment LEDs; Mobile robot where different sensors are controlled by different tasks; Multiple servo motors being controlled independently; Multitasking IoT project; Temperature controller with independent keyboard entry; Random number generator with 3 tasks: live, generator, display; home alarm system; car park management system, and many more. - Explains the basic concepts of multitasking - Demonstrates how to create small multitasking programs - Explains how to install and use the FreeRTOS on an ARM Cortex processor - Presents structured real-world projects that enables the reader to create their own