EmbeddedRelated.com
Books

ARM-based Microcontroller Projects Using mbed

Ibrahim, Dogan 2019

ARM-based Microcontroller Projects Using mbed gives readers a good understanding of the basic architecture and programming of ARM-based microcontrollers using ARM’s mbed software. The book presents the technology through a project-based approach with clearly structured sections that enable readers to use or modify them for their application. Sections include: Project title, Description of the project, Aim of the project, Block diagram of the project, Circuit diagram of the project, Construction of the project, Program listing, and a Suggestions for expansion. This book will be a valuable resource for professional engineers, students and researchers in computer engineering, computer science, automatic control engineering and mechatronics.

  • Includes a wide variety of projects, such as digital/analog inputs and outputs (GPIO, ADC, DAC), serial communications (UART, 12C, SPI), WIFI, Bluetooth, DC and servo motors
  • Based on the popular Nucleo-L476RG development board, but can be easily modified to any ARM compatible processor
  • Shows how to develop robotic applications for a mobile robot
  • Contains complete mbed program listings for all the projects in the book


Why Read This Book

You will learn ARM microcontroller fundamentals and practical mbed-based development by building complete, ready-to-run projects with circuit diagrams and full program listings. The project-first approach helps you move from concept to working firmware quickly and shows clear suggestions for expanding each design for IoT, sensor, and control applications.

Who Will Benefit

Students, hobbyists, and professional embedded engineers who want hands-on, project-driven experience building ARM Cortex-M systems using the mbed platform for IoT, sensors, and firmware development.

Level: Intermediate — Prerequisites: Basic C/C++ programming, basic electronics (reading schematics, basic soldering), and familiarity with microcontroller concepts such as GPIO, ADC, timers, and UART.

Get This Book

Key Takeaways

  • Build complete ARM Cortex-M projects from block diagram to working firmware using the mbed platform
  • Use mbed APIs to control GPIO, ADC/DAC, timers, PWM, and interrupt-driven peripherals
  • Interface common buses and devices (UART, SPI, I2C) and integrate sensors, actuators, and displays
  • Implement basic mbed OS/RTOS concepts for task timing and responsiveness in embedded applications
  • Debug and test firmware on real mbed-enabled development boards and expand projects for IoT connectivity
  • Adapt and extend provided circuit schematics and code listings to meet custom application requirements

Topics Covered

  1. Introduction to ARM Microcontrollers and the mbed Ecosystem
  2. Getting Started: mbed Online Compiler, mbed CLI, and Toolchain Setup
  3. Basic Digital I/O, LEDs, and Switches
  4. Analog Input/Output: ADCs, DACs, and Signal Conditioning
  5. Timing, PWM, and Interrupts
  6. Serial Communication: UART, USB CDC and Debugging
  7. Bus Protocols: SPI and I2C Peripheral Interfacing
  8. Sensors and Actuators: Temperature, Light, Motors, and Relays
  9. Displays and Human Interfaces: LCDs, OLEDs, and Keypads
  10. Connectivity and IoT: Ethernet, Wi‑Fi and BLE Examples (mbed-based)
  11. Intro to mbed OS / RTOS Features and Multitasking
  12. Advanced Projects: Data Logging, Control Systems, and Remote Monitoring
  13. Construction, Troubleshooting and Suggestions for Expansion
  14. Appendices: Parts, Schematics, and Sample Code Listings

Languages, Platforms & Tools

CC++ARM Cortex-M (mbed-enabled boards)Examples using boards such as NXP LPC1768, ST Nucleo/STM32, and FRDM seriesARM mbed Online Compiler / Mbed Studiombed OS (mbed RTOS APIs)mbed CLIGCC ARM Toolchain (arm-none-eabi)Keil uVisionSerial terminal tools (PuTTY, Tera Term)

How It Compares

Compared with Carmine Noviello's Mastering STM32, this book is more mbed-focused and board-agnostic rather than STM32-HAL centric; compared to Elecia White's Making Embedded Systems, it is much more hands-on and project-oriented with less emphasis on deep system design theory.

Related Books

Bryant, Randal, O'Hallaron,...