Drive 2 Stepper motors on arduino uno with X-nucleo-IHM02A1 stacked on it

Hi everyone, thanks for welcoming me here.

I started a project where I have to drive two stepper motors.

I must use an arduino Uno with a x-nucleo-ihm02a1 stacked on it.

I look all day long yesterday for tutorials, schematics, circuits diagrams and code examples.
I found tutorials of two stepper motor with ihm02a1 stacked on stm32 board.

I need somehow to also make it work with an arduino Uno.
My problem is that I don’t understand how to “translate ST code to Arduino code” .

Can someone help me to start my project please

Driver:
https://www.st.com/resource/en/user_manual/dm00237629-getting-started-with-xnucleoihm02a1-twoaxis-stepper-motor-driver-expansion-board-based-on-l6470-for-stm32-nucleo-stmicroelectronics.pdf

Stepper Motor:

Hi @athos21,
I've been analyzing this module's datasheet.

It is proposed as a shield for the arduino UNO, but the programming is quite complex.

Why do you need to use this module?
Is it a homework?

RV mineirin

1 Like

Is for an extracurricular activity at my university
maybe we should just use a more suitable driver...

I've found this code online but I don't know how to fix it.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.