41Views3Replies

Author Options:

How do I control 3 stepper motors and 1 servo motor on arduino Answered

How can I control 3 stepper motors motors (28 BYJ 48)and 1 servo motor with arduino uno on my robotic arm. If possible, I need circuit diagram, can someone help?

Tags:help

Discussions

0
None
Thomazzz3

9 days ago

Ohh, and please don't connect the stepper motor pins directly to the Arduino. Most of the time those motors are bundled with a little driver board which uses the ULN2003.

0
None
Thomazzz3

9 days ago

The stepper motors can be controlled withe the stepper library (Stepper.h)
Note: your steppers are unipolar

Schematics and sample code on arduino site:
https://www.arduino.cc/en/Tutorial/MotorKnob

The servo can be controlled with the servo library.

Screenshot_20191129-182959__01.jpg
0
None
Downunder35m

9 days ago

Have you checked the Arduino Playground?
There should be quite a few robotics applications there with all the required info, libraries and documentation.
Would be too hard to take what you need from there to combine it into your code.
Be aware though that a 8-bit controller is limitations in terms of processing power and speed.