Honestly I'm new to Arduino.
I am currently working on a cable suspended parallel robot, and I have the kinematic equation of rope speed for each winch based on robot's speed, direction of movement & current position.
I want to control 4 stepper motors independently based on the mathematical equation, I want to control the robot via remote control ( using 2 joysticks; 1 for horizontal movement, 1 for vertical movement).
Can Arduino UNO control 4 stepper motors independently (using mathematical equation for speed) via joysticks also connected to it?
I was thinking to use CNC Shield over the Arduino UNO board to connect 4 stepper motors, but will I be able to connect Remote control to it then?
Really need help, please guide me with the hardware I should buy (in INDIA) and how to connect 4 stepper motors + RC receiver (or 2 joy stick for vertical and horizontal).
When you say joysticks can I assume that they are analog joysticks with 2 potentiometers for each joystick?
The CNC shield V3 for the Uno can independently control 4 stepper motors. Use pins 2 & 5 for #1, 3 & 6 for #2, 4 & 7 for #3 and 12 & 13 for #4 (step & direction). See below for setting for the 4th motor (A axis).
To connect joysticks, the Uno analog inputs are connected to the Abort, Hold, Resume and Coolant Enable pins on the CNC shield. Those pins could be used for the analog joysticks.
And here is the pin mapping from the Uno to the CNC shield.
Also, be aware that the stepper enable pin is pulled high on the CNC shield so the motors are disabled by default. Enable them in software by making pin 8 an OUTPUT and setting it LOW or by jumpering the enable header (to ground) on the shield.
For an RC receiver, pins 9, 10, 11 and A4, A5 are free for RC inputs if you don't use them for limit switches. A4 and A5 are available on the header on the upper right (SDA and SCL).
@sameerjeet_singh_chhabra
You have flagged 2 of the replies you got to the moderators for no reason I can see. The people replying are trying to help you, if a reply isn't quite what you were hoping for then engage in discussion to clarify your requirements, don't just report things to the moderators because the answer isn't quite what you wanted.
The person is a well respected and regular contributor to this forum who gives a lot of good advice. You would be well advised to take note of what he says, he's very helpful.