Page 8 - ARM Based Microcontroller Projects Using MBED
P. 8
CONTENTS vii
12. SPI Bus Projects 16. Internet of Things (IoT)
12.1 Overview 315 16.1 Overview 389
12.2 Nucleo-F411RE SPI GPIO Pins 317 16.2 Internet of Things (IoT) 389
12.3 PROJECT 1—Generating Square Wave 317 16.3 PROJECT 1—Home IoT Project 392
12.4 Summary 323 16.4 Summary 404
12.5 Exercises 323 16.5 Exercises 404
13. UART Projects 17. STM32 Nucleo Expansion Boards
13.1 Overview 325 17.1 Overview 405
13.2 Nucleo-F411RE UART GPIO Pins 327 17.2 High-Power Stepper Motor Board
13.3 PROJECT 1—Two Nucleo Boards (X-NUCLEO-IHM03A1) 405
Communicating Through UART 328 17.3 Two-Axis Stepper Motor Board (X-NUCLEO-
13.4 Summary 332 IHM02A1) 406
13.5 Exercises 332 17.4 Low-Voltage Three-Phase Brushless DC Motor
Board (X-NUCLEO-IHM11M1) 407
14. Advanced Projects 17.5 Motion MEMS and Environmental Sensor
Expansion Board (X-NUCLEO-
14.1 Overview 333 IKS01A2) 407
14.2 Wi-Fi 333 17.6 PROJECT 1—Measuring and Displaying the
14.3 PROJECT 1—Android—Nucleo Board Humidity, Temperature, Atmospheric Pressure,
Communication Using the Wi-Fi Expansion and Dew Point Using the X-NUCLEO-
Board 333 IKS01A2 Expansion Board 409
14.4 PROJECT 2—Android—Nucleo Board 17.7 Multifunctional Expansion Board
Communication Using the ESP-01 343 (X-NUCLEO-IKA01A1) 414
14.5 PROJECT 3—Android—Nucleo Board 17.8 Bluetooth Low-Energy Expansion Board
Communication Using Bluetooth 351 (X-NUCLEO-IDB04A1) 415
14.6 Summary 360 17.9 Three-Phase Brushless DC Motor Board
14.7 Exercises 361 (X-NUCLEO-IHM07M1) 415
17.10 Bipolar Stepper Motor Driver Board
15. Mbed RTOS Projects (X-NUCLEO-IHM05A1) 416
17.11 Low-Voltage Stepper Motor Driver Expansion
15.1 Overview 363 Board (X-NUCLEO-IHM06A1) 417
15.2 Task Scheduling 363 17.12 Brushed DC Motor Driver Expansion Board
15.3 Mbed RTOS Implementation 366 (X-NUCLEO-IHM13A1) 418
15.4 PROJECT 1—Different Flashing a Pair of 17.13 PROJECT 2—Brushed DC Motor Speed
LEDs—Using Mbed Thread 366 Control Using the X-NUCLEO-IHM13A1
15.5 PROJECT 2—Refreshing a 7-Segment Expansion Board 420
Display 372 17.14 PROJECT 3—Brushed DC Motor Speed
15.6 Mbed Task Synchronization—Mutex, Control Using a Potentiometer With the
Semaphore, and Signals 374 X-NUCLEO-IHM13A1 Expansion
15.7 PROJECT 3—Car Park Controller—Using Board 423
Signals 379 17.15 Industrial Digital Output Expansion Board
15.8 Mbed Queue and MemoryPool 384 (X-NUCLEO-OUT01A1) 426
15.9 Mbed Mail 386 17.16 PROJECT 4—Controlling LEDs With the
15.10 Mbed RTOS Timer 386 X-NUCLEO-OUT01A1 Expansion
15.11 Summary 386 Board 428
15.12 Exercises 388