357Views2Replies

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

The forums are retiring in 2021 and are now closed for new topics and comments.
0
Thomazzz3
Thomazzz3

1 year 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
Thomazzz3
Thomazzz3

1 year 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
Downunder35m
Downunder35m

1 year 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.