Motion control example for 1 motor.
Dependencies: X_NUCLEO_IHM03A1 mbed
Fork of IHM03A1_ExampleFor1Motor by
This application provides an example of usage of the X-NUCLEO-IHM03A1 High Power Stepper Motor Control Expansion Board.
It shows how to use one stepper motor connected to the board by:
- moving the rotor a specific number of steps or to a specific position, with a given speed value, direction of rotation;
- monitoring the motor status;
- handling an interrupt triggered by the motor driver;
- getting and setting a motor driver parameter.
- etc.
For the hardware configuration of the expansion board, please refer to the X_NUCLEO_IHM03A1 home web page.
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
5:c72579273afb | 2016-04-14 | nikapov | Updated libraries. |
4:5b4969cb5bf0 | 2016-04-13 | nucleosam | Updated with latest version of X_NUCLEO_IHM03A1 library. |
3:465d357bbce3 | 2016-04-13 | nucleosam | Added printf in the "myFlagIRQHandler" function. |
2:7e8485b5d57d | 2016-04-13 | nucleosam | Comments updated with the correct name of functions |
1:6b179be4937e | 2016-04-07 | nucleosam | StepperMotor class modification and induced changes |
0:cd62cd5b2c77 | 2016-04-05 | nucleosam | Motion control example for 1 motor: initial version. |