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
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.
X_NUCLEO_IKS01A1.lib@6:b09e55633002, 2015-11-20 (annotated)
- Committer:
- Davidroid
- Date:
- Fri Nov 20 18:19:49 2015 +0000
- Revision:
- 6:b09e55633002
- Parent:
- 0:bd157c8f770c
- Child:
- 15:1a67aa3ee705
+ Application updated to reflect addition of FLAG interrupt to the X_NUCLEO_IHM01A1 library.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Davidroid | 6:b09e55633002 | 1 | http://developer.mbed.org/teams/ST/code/X_NUCLEO_IKS01A1/#a91987e8cf51 |