“This post shows how to control stepper motor speed and direction of rotation using Arduino UNO board and PS2 joystick.
Hardware Required:
Arduino UNO board
28BYJ-48 stepper motor (with ULN2003A driver board)
Joystick
5V power source
Bread board
Jumper wires
Stepper motor control with Arduino and joystick circuit:Project circuit schematic diagram is shown below (all grounded terminals are connected together).”