Simple program featuring a few API functions usage of the X_NUCLEO_IHM06A1 library.

Dependencies:   X_NUCLEO_IHM06A1 mbed

Fork of HelloWorld_IHM06A1 by ST Expansion SW Team

This application provides a simple example of usage of the X-NUCLEO-IHM06A1 Bipolar Stepper Motor Control Expansion Board.

It shows how to use a stepper motor connected to the board by:

  • Running the motor;
  • Monitoring the speed and the motor state;
  • Setting/Getting the speed;
  • Setting/Getting the step mode;
  • Setting/Getting the acceleration and deceleration;
  • Moving a defined number of steps or microsteps;
  • Disabling the power bridges;
  • Setting/Getting the torque;
  • Going to home position

It also shows how to monitor the step clock handler duration in order to evaluate the maximum achievable motor speed for a given MCU.

For the hardware configuration of the expansion board, please refer to the X_NUCLEO_IHM06A1 library web page.

History

Updating with new libraries. default tip

2017-07-28, by Davidroid [Fri, 28 Jul 2017 13:28:52 +0000] rev 6

Updating with new libraries.


With the new version of the library.

2017-03-24, by Davidroid [Fri, 24 Mar 2017 13:54:58 +0000] rev 5

With the new version of the library.


Aligning to ARM mbed coding style.

2017-03-24, by davide.aliprandi@st.com [Fri, 24 Mar 2017 11:00:53 +0100] rev 4

Aligning to ARM mbed coding style.


Updated library link.

2016-07-29, by nikapov [Fri, 29 Jul 2016 08:54:36 +0000] rev 3

Updated library link.


Lib updated.

2016-07-29, by nikapov [Fri, 29 Jul 2016 08:36:15 +0000] rev 2

Lib updated.


Updated libs.

2016-07-27, by nucleosam [Wed, 27 Jul 2016 12:08:08 +0000] rev 1

Updated libs.


Initial version.

2016-05-26, by nucleosam [Thu, 26 May 2016 15:54:22 +0000] rev 0

Initial version.