28BYJ-48 stepper fun (baite maple mini stm32f103) mx1508 h-bridge

Аватар автора
Сап борды: вперед, к морским приключениям
trying out a stepper motor using a baite maple mini (stm32f103cb) the stepper motor is a 28BYJ-48 the controller board is a mx1508 dual h-bridge module in terms of connections, i connected PA0, PA1 to IN1, IN2 on the module, PA2, PA3 to IN3, IN4 on the module. but do note that i replaced the motor JST connector, so the wires need to be wired accordingly as well e.g. 1 blue, 3 yellow, 2 pink, 4 orange to turn a 28BYJ-48 into a bi-polar stepper motor this hack is needed i tried out the various driving waveforms as described in wikipedia the arduino sketch is here:

0/0


0/0

0/0

0/0