Simple application using the STMicroelectronics X-NUCLEO-IHM01A1 Stepper Motor Control Expansion Board and the X-NUCLEO-IKS01A1 MEMS Inertial and Environmental Sensors Expansion Board to get a MEMS-based motor control in terms of direction and speed.

Dependencies:   X_NUCLEO_IHM01A1 X_NUCLEO_IKS01A1 mbed

Fork of MemsMotorControl by ST Expansion SW Team

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-IKS01A1 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.

Files at this revision

API Documentation at this revision

Comitter:
Davidroid
Date:
Fri Oct 28 13:32:48 2016 +0000
Parent:
26:2e7312064d81
Commit message:
Updated with the new version of the IHM01A1 library.

Changed in this revision

X_NUCLEO_IHM01A1.lib Show annotated file Show diff for this revision Revisions of this file
diff -r 2e7312064d81 -r 93a3bd108045 X_NUCLEO_IHM01A1.lib
--- a/X_NUCLEO_IHM01A1.lib	Fri Oct 28 13:26:08 2016 +0000
+++ b/X_NUCLEO_IHM01A1.lib	Fri Oct 28 13:32:48 2016 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/teams/ST/code/X_NUCLEO_IHM01A1/#a05820cfdba9
+http://developer.mbed.org/teams/ST/code/X_NUCLEO_IHM01A1/#c4d0fee5ce75