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.
History
Updated libraries.
2016-04-14, by nikapov [Thu, 14 Apr 2016 09:10:34 +0000] rev 5
Updated libraries.
Updated with latest version of X_NUCLEO_IHM03A1 library.
2016-04-13, by nucleosam [Wed, 13 Apr 2016 13:03:11 +0000] rev 4
Updated with latest version of X_NUCLEO_IHM03A1 library.
Added printf in the "myFlagIRQHandler" function.
2016-04-13, by nucleosam [Wed, 13 Apr 2016 09:01:05 +0000] rev 3
Added printf in the "myFlagIRQHandler" function.
Comments updated with the correct name of functions
2016-04-13, by nucleosam [Wed, 13 Apr 2016 08:53:45 +0000] rev 2
Comments updated with the correct name of functions
StepperMotor class modification and induced changes
2016-04-07, by nucleosam [Thu, 07 Apr 2016 16:32:55 +0000] rev 1
StepperMotor class modification and induced changes
Motion control example for 1 motor: initial version.
2016-04-05, by nucleosam [Tue, 05 Apr 2016 15:40:30 +0000] rev 0
Motion control example for 1 motor: initial version.