Mems Motor Control application example with X_NUCLEO_IHM01A1 and X_NUCLEO_IKS01A2 expansion boards.

Dependencies:   X_NUCLEO_IHM01A1 X_NUCLEO_IKS01A2 mbed

Fork of MemsMotorControl by ST

MEMS-based Motor Control

This application provides an intuitive and natural way for controlling a stepper motor through an accelerometer. It makes use of the STMicroelectronics X-NUCLEO-IKS01A2 MEMS Inertial and Environmental Sensors Expansion Board to get accelerometer values and the X-NUCLEO-IHM01A1 Stepper Motor Control Expansion Board to directly control a stepper motor with:

  • speed proportional to the angle measured by the MEMS board;
  • direction driven by the direction of rotation captured by the MEMS board.
Revision:
16:df53cf8dd1b4
Parent:
14:3f4dc127ac4b
Child:
20:4f0729b99bf5
--- a/main.cpp	Mon Jan 04 16:04:19 2016 +0000
+++ b/main.cpp	Fri Jan 15 17:09:03 2016 +0000
@@ -1,10 +1,10 @@
 /**
  ******************************************************************************
  * @file    main.cpp
- * @author  Davide Aliprandi, STMicrolectronics
+ * @author  Davide Aliprandi, STMicroelectronics
  * @version V1.0.0
  * @date    October 16th, 2015
- * @brief   mbed vertical application using the STMicrolectronics
+ * @brief   mbed vertical application using the STMicroelectronics
  *          X-NUCLEO-IHM01A1 Motor Control Expansion Board and the
  *          X-NUCLEO-IKS01A1 MEMS Inertial & Environmental Sensors Expansion
  *          Board to get a MEMS-based motor control (direction and speed).