STM32 Stepper Motor Controller

This week I built a small controller for a unipolar stepper motor.

I’d like to use these steppers in a robotics project of some kind. They only draw 600mA and run on 5V power. There’s also a builtin gear reducer inside.

They move slowly (<60rpm) but produce pretty decent torque. This is perfect for a small robot arm.

I used STM32 CubeMX to generate a project and SW4STM32 as my toolchain. This was exciting as it’s the first STM32 project I’ve completed apart from the usual “blinking LED”.

Next I need to look at designing some mechanical segments to join several of these steppers together.