![](/media/cache/profiles/Timo_01_DSC_4754_533x533.jpg.50x50_q85.jpg)
ST Microelectronics IHM02A1 motor driver board for two stepping motors. ST L647OPD motion controller ICs are used on the IHM02A1. Nanotec ST4118X1404-A motors used on testing.
Dependencies: X_NUCLEO_IHM02A1
Diff: main.cpp
- Revision:
- 11:79fcaf38c09d
- Parent:
- 9:f35fbeedb8f4
- Child:
- 12:5be6dd48b94a
diff -r d1e568b0079d -r 79fcaf38c09d main.cpp --- a/main.cpp Mon Jan 04 16:11:47 2016 +0000 +++ b/main.cpp Thu Jan 14 10:01:18 2016 +0000 @@ -70,12 +70,12 @@ X_NUCLEO_IHM02A1 *x_nucleo_ihm02a1; /* Initialization parameters of the motors connected to the expansion board. */ -MICROSTEPPING_MOTOR_InitTypeDef init[L6470DAISYCHAINSIZE] = +L6470_InitTypeDef init[L6470DAISYCHAINSIZE] = { /* First Motor. */ { 9.0, /* Motor supply voltage in V. */ - 200, /* Min number of steps per revolution for the motor. */ + 400, /* Min number of steps per revolution for the motor. */ 1.7, /* Max motor phase voltage in A. */ 3.06, /* Max motor phase voltage in V. */ 300.0, /* Motor initial speed [step/s]. */ @@ -103,7 +103,7 @@ /* Second Motor. */ { 9.0, /* Motor supply voltage in V. */ - 200, /* Min number of steps per revolution for the motor. */ + 400, /* Min number of steps per revolution for the motor. */ 1.7, /* Max motor phase voltage in A. */ 3.06, /* Max motor phase voltage in V. */ 300.0, /* Motor initial speed [step/s]. */