Control stepper motor by joystick


#1

Hello guy,

I am seaching for controlling a stepper motor with a joystick in order to turn a turret. I try to adapt the speed depending on the joystick, and stop in position when release.

Can you help me please?


#2

Not sure the exact application, with mBlock 3 (3.4.11), these blocks may help you:
image

In arduino mode, we have library for me stepper motor: