ARM-Based Microcontroller Multitasking Projects

ARM-Based Microcontroller Multitasking Projects

Using the FreeRTOS Multitasking Kernel

1st Edition - May 14, 2020

Write a review

  • Author: Dogan Ibrahim
  • Paperback ISBN: 9780128212271
  • eBook ISBN: 9780128226315

Purchase options

Purchase options
DRM-free (PDF, EPub, Mobi)
Sales tax will be calculated at check-out

Institutional Subscription

Free Global Shipping
No minimum order


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.

Key Features

  • 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


Computer engineers, embedded systems professionals in industry, undergraduates and graduates in computer engineering

Table of Contents

  • About the anthor
    1. Microcomputer systems
    2. Architecture of arm microcontrollers
    3. ARM Cortex microcontroller development boards
    4. Clicker 2 for STM32 development board
    5. Programming the arm microcontrollers
    6. Programming using the mikroC Pro for ARM
    7. Introduction to multitasking
    8. Introduction to FreeRTOS
    9. Using the FreeRTOS functions
    10. Queue management
    11. Semaphores and mutexes
    12. Event groups
    13. Software timers
    14. Some example projects
    15. The Idle task and idle task hook
    16. Task Notifications
    17. Critical sections
    18. Interrupts in Cortex-M4 based microcontrollers
    19. USING the FreeRTOS API function calls from an ISR
    20. Car park management system
    21. Time in different cities
    22. Mobile robot project: the Buggy
    Appedix A. Number systems
    Appendix B. The program description language

Product details

  • No. of pages: 524
  • Language: English
  • Copyright: © Newnes 2020
  • Published: May 14, 2020
  • Imprint: Newnes
  • Paperback ISBN: 9780128212271
  • eBook ISBN: 9780128226315

About the Author

Dogan Ibrahim

Dogan Ibrahim graduated from the University of Salford with First Class Honours in Electronic Engineering. He then completed an MSc course in Automatic Control Engineering at the University of Manchester, and PhD in Digital Signal Processing at the City University in London. Prof Ibrahim worked at several companies and gained industrial experience before returning to the academic life. Prof Ibrahim is currently a Fellow of the IET, and a Chartered Electrical Engineer. His interests are in the fields of microcontroller based automatic control, digital signal processing, and computer aided design. Dogan Ibrahim has been a lecturer at South Bank University, London, and Principal Research Engineer at GEC Hirst Research Centre. Prof Ibrahim is the author of over 70 technical books in the fields of microcontrollers and electronic engineering. He is currently a systems consultant, carrying out consultancy work to various firms in London.

Affiliations and Expertise

Department of Computer Information Systems, Near East University

Ratings and Reviews

Write a review

There are currently no reviews for "ARM-Based Microcontroller Multitasking Projects"