Control 2 stepper motors with a joystick

Control two 28BYJ-48 stepper motors with a joystick

Jun 3, 2020

16068 views

2 respects

Components and supplies

1

Analog joystick (Generic)

1

Arduino UNO

1

Jumper wires (generic)

2

ULN2003APG stepper driver

2

28BYJ-48 stepper motor

Project description

Code

Stepper with joystick code

c_cpp

Stepper with joystick code

c_cpp

Downloadable files

2 stepper with joystick

2 stepper with joystick

2 stepper with joystick

2 stepper with joystick

Two steppers with joystick

Two steppers with joystick

Comments

Only logged in users can leave comments

Anonymous user

2 years ago

I've used this, thanks! I do have a question, though. I did this once and it worked fine, but now the y-axis motor won't stop spinning. It has a constant input to spin, and won't take any other commands for that motor (though the x-axis motor works great). Do you have any thoughts? Thanks in advance :).

maxmeister747

2 years ago

I think it is the analog input, if it is not connected correctly then it spins around and won't stop

Anonymous user

2 years ago

That works great, but those stepper motor boards need power too.

Anonymous user

3 years ago

I've used this, thanks! I do have a question, though. I did this once and it worked fine, but now the y-axis motor won't stop spinning. It has a constant input to spin, and won't take any other commands for that motor (though the x-axis motor works great). Do you have any thoughts? Thanks in advance :).

Anonymous user

2 years ago

I think it is the analog input, if it is not connected correctly then it spins around and won't stop

Anonymous user

3 years ago

This was helpful in my project development. It worked fine. Thanks much.

Anonymous user

4 years ago

That works great, but those stepper motor boards need power too.