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.

Revisions of main.cpp

Revision Date Message Actions
28:9618700cd2f6 2017-03-14 Mems Motor Control application example with X_NUCLEO_IHM01A1 and X_NUCLEO_IKS01A2. File  Diff  Annotate
21:08ddc48353ac 2016-04-07 + Updated with the new version of the library. File  Diff  Annotate
20:4f0729b99bf5 2016-03-11 + Updated with the new version of the library. File  Diff  Annotate
16:df53cf8dd1b4 2016-01-15 + Updated with the new version of the library. File  Diff  Annotate
14:3f4dc127ac4b 2015-12-14 + Updated with no initialization structure passed by default. File  Diff  Annotate
9:218d1ac31590 2015-11-27 + Updated with the new version of the library. File  Diff  Annotate
8:201bc01dcc1b 2015-11-26 + Updated with new version of the X_NUCLEO_IHM01A1 library. File  Diff  Annotate
6:b09e55633002 2015-11-20 + Application updated to reflect addition of FLAG interrupt to the X_NUCLEO_IHM01A1 library. File  Diff  Annotate
5:d88c9c8df082 2015-11-18 + Program updated to reflect the modifications to the "StepperMotor" abstract class. File  Diff  Annotate
4:778a7effb013 2015-11-13 Adaptation to the "StepperMotor" abstract class. File  Diff  Annotate
3:112d46906bee 2015-10-28 Added support for the LSM6DS0 other than the LSM6DS3 within the main program. File  Diff  Annotate
2:1784677a5955 2015-10-27 Threshold and gain updated. File  Diff  Annotate
0:bd157c8f770c 2015-10-16 mbed vertical application using the STMicrolectronics X-NUCLEO-IHM01A1 Motor Control Expansion Board and the X-NUCLEO-IKS01A1 MEMS Inertial and Environmental Sensors Expansion Board to get a MEMS-based motor control (direction and speed). File  Diff  Annotate