# Control 3 stepper motors with a joy stick

**URL:** <https://forum.arduino.cc/t/control-3-stepper-motors-with-a-joy-stick/1460278>\
**Category:** General Guidance\
**Created:** [September 20, 2026, 3:14am UTC](https://forum.arduino.cc/t/control-3-stepper-motors-with-a-joy-stick/1460278 "2026-09-20T03:14:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![socratease55](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/socratease55/32/1282762_2.png) [@socratease55](https://forum.arduino.cc/u/socratease55)\
**Post date:** [September 20, 2026, 3:14am UTC](https://forum.arduino.cc/t/control-3-stepper-motors-with-a-joy-stick/1460278/1 "2026-09-20T03:14:33Z")

</div>

I am looking for code to control 3 stepper motors  
I have the Arduino Uno R3 with Nema 17 stepper motors and the **DRV8825** driver

---

<div class="post-metadata">

**Author:** ![van\_der\_decken](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/van_der_decken/32/1006976_2.png) [@van\_der\_decken](https://forum.arduino.cc/u/van_der_decken)\
**Post date:** [September 20, 2026, 3:28am UTC](https://forum.arduino.cc/t/control-3-stepper-motors-with-a-joy-stick/1460278/2 "2026-09-20T03:28:39Z")

</div>

What is your budget and required completion date for the work?

---

<div class="post-metadata">

**Author:** ![Wawa](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/wawa/32/1211303_2.png) [@Wawa](https://forum.arduino.cc/u/Wawa)\
**Post date:** [September 20, 2026, 4:10am UTC](https://forum.arduino.cc/t/control-3-stepper-motors-with-a-joy-stick/1460278/3 "2026-09-20T04:10:16Z")

</div>

Hi, welcome to the forum.

Is this an analogue joystick and how are you planning to control it with one joystick which can only do two directions.

Please tell us which stepper motors. Nema 17 is the size of the mounting plate (1.7 inch).  
It tells us nothing about the electrical specs.

How far did you get on your own.  
This is not a free code writing forum, but we are happy to point you in the right direction.

---

<div class="post-metadata">

**Author:** ![sterretje](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sterretje/32/391294_2.png) [@sterretje](https://forum.arduino.cc/u/sterretje)\
**Post date:** [September 20, 2026, 4:13am UTC](https://forum.arduino.cc/t/control-3-stepper-motors-with-a-joy-stick/1460278/4 "2026-09-20T04:13:16Z")

</div>

We usually don't write code for people but assist people in writing code. Which usually means that you have to show your code and tell us how the result differs from what you expect.

A wiring/schematic diagram might also be useful for those that want to help.

---

<div class="post-metadata">

**Author:** ![xfpd](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/xfpd/32/1120236_2.png) [@xfpd](https://forum.arduino.cc/u/xfpd)\
**Post date:** [September 20, 2026, 4:24am UTC](https://forum.arduino.cc/t/control-3-stepper-motors-with-a-joy-stick/1460278/5 "2026-09-20T04:24:37Z")

</div>

You did not mention the joystick from the title.

I imagine (because you did not mention) you want to control two steppers in forward and reverse directions, and a third motor for steering.

Your code should recognize the direction of joystick movement, then make that move three of these motors...

> **[fiveSteppersRandom - Wokwi ESP32, STM32, Arduino Simulator](https://wokwi.com/projects/423346525825581057)**
>
> Run IoT and embedded projects in your browser: ESP32, STM32, Arduino, Pi Pico, and more. No installation required!

---

<div class="post-metadata">

**Author:** ![Wawa](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/wawa/32/1211303_2.png) [@Wawa](https://forum.arduino.cc/u/Wawa)\
**Post date:** [September 20, 2026, 4:28am UTC](https://forum.arduino.cc/t/control-3-stepper-motors-with-a-joy-stick/1460278/6 "2026-09-20T04:28:21Z")

</div>

If you haven’t done any thing yet, then I would suggest starting with only the joystick.  
Connect the joystick to two analogue channels and write code that prints both X an Y values to serial monitor. Joystick example code should be easy to find.
