Controlling Stepper Motor using RC transmitter

Hi guys! I am doing a project where i want to control stepper motors using RC transmitter and receiver. I know this can be done since i saw one youtube video doing exactly just that. Unfortunately, the content creator deleted his youtube account and i wasnt able to save the code at all :confused:

Anyway, as far as i can remember, he connected the receiver to the arduino, and the arduino to the stepper motor driver, and then from the driver to the stepper motor.

I would appreciate it if you can point me to a reference or similar project where i can just modify the code to my needs. Or i could use some guide in how to do it myself from scratch if none. I'm a total noob in arduino and this is my first project but im confident in my learning skills.

These are the components i will use:

Flysky AFHDS 6ch Receiver
Nema 17 Stepper motor x2
DRV8825 Stepper Motor Driver
CNC Expansion Board
Arduino UNO

My project in general is to control stepper motors using transmitter to wirelessly control a turret.

Thanks in advance!

Hello @xmetaphorx. Welcome to the forum.
Please post what hardware you will be using (e.g. Stepper Motor, Motor Driver, Arduino board etc...)

Hi @xmetaphorx

welcome to the arduino-forum.
There are two main functions

  1. receiving RC-signals
  2. driving a steppermotor

you can start with the part of receiving RC-signals
or
you can start with driving a stepper-motor.

It is your choice.

You should describe in more details what the whole project is.

What microcontroller to choose and how to drive the stepper-motor depends on what the real RC-controllig looks like.

As a general advice
I'm pretty sure that you agree and will follow the way how to solve your problem mimimum 200 minutes faster. This requires to invest 20 minutes of your precious time to read how to speedup solving your problems.

Directly after registering you got presented informations how to speed up solving your problem.
You should really read it.

Hi! I have edited my post. Thanks for the reply. Unfortunately, i wont be using IR. The transmitter and receiver output PWM signal

I apologize for my lack of thought in posting. I have edited my post. Thank you for your response!

Sorry i'm not sure where i got the IR stuff. Here is a quite thorough tutorial for the FlySky fs-i6(i presume is the model of your receiver).

https://dronebotworkshop.com/radio-control-arduino-car/

As for the cnc shield i don't know how you'd do it unless you wan't to get into GRBL wich is quit complex.

Hi! Will give this a good read. Will come back later if i encounter any problem. Thank you!