Arduino Uno: multiple stepper motor project

Hi forum!

I'm fairly new to Arduino and need some quick advice on a motor project I'm working on.

SO BASICALLY

I want to run FIVE 28BYJ-48 stepper motors from a single Arduino Uno. TWO of these motors will be running in bipolar mode using a driver I haven't chosen yet, while the other THREE will be in unipolar mode using ULN2003 drivers.

Can the Uno handle all this without a I/O expansion board?

I need to have the two motors in bipolar mode mirroring one another I was wondering if I could save pinout from the Uno by connecting them in parallel on a breadboard somehow.

I apologize if this question is naive/open-ended/difficult to answer. Info from online is plentiful, but hard to piece into my specific problem.

Any advice?

Thank you!

  • J

doc_holiday:
Hi forum!

I'm fairly new to Arduino and need some quick advice on a motor project I'm working on.

I want to run FIVE 28BYJ-48 stepper motors from a single Arduino Uno. TWO of these motors will be running in bipolar mode using a driver I haven't chosen yet, while the other THREE will be in unipolar mode using ULN2003 drivers.

Can the Uno handle all this without a I/O expansion board?

  • J

Yes is the short answer.
Yes is also the long answer :slight_smile:

Any particular reason for using both modes of motor ?

Just dont forget they will need a seperate PSU with a common ground back to the Arduino.

Driver selection will be a key factor and you may want to change the ULN to something a little better.

It does sound like a job for a CNC shield which already has the ability to handle 5 motors and two in mirror mode. It also takes care of the driver aspect too.
Whilst all packed neatly into a bundle.

doc_holiday:
TWO of these motors will be running in bipolar mode using a driver I haven't chosen yet,

What is the purpose of running them in bipolar mode?

If you need more I/O pins you could use a Mega

If you need high step rates you might find that a 16 MHz Arduino struggles to keep up with 5 motors. With bipolar motors and drivers that take step and direction signals the computational load for the Arduino is much lower.

You could program an Uno (or nano) to act as a step and direction driver for two (or maybe three) 28BYJ / ULN2003 motors

...R

Hi All

You can drive 3 motors from a nano with the ULN2003 drivers. if you swap to a step direction driver you should be able to run all 5 if you are set on the ULN2003 drivers. switch to a teensy.3.2

DAS