How to power two stepper motor ? MEGA 2560 - 28BYJ48 - ULN2003

Hi everyone !

I'm working on a robot project which needs two stepper motor with their maximum power.
The model of the stepper is a 28BYJ48 with ULN2003 Driver.

28BYJ-48.pdf (369 KB)

I first try to power them with the arduino mega 2560 pin but it was not enough.

Secondly, contrary to the datasheet which recommend to use 5V i power them with a 9V battery. It's work perhaps the battery had emptied out quickly and the motors were heating.

Thirdly , I power the stepper moteur with a 5V - 1,5 A usb cable but it doesnt work? I think it's because of a too low intensity.

I'v read that intensity increase the torque and tension increase the speed. Considering that i can't increase the tension because of the heating i've to manage the intensity.

My goal is too find a sustainable way to power this motor without heating and sufficiently powerfull.

You will find attached the two datasheet.

Thank you for you answer and sorry for my english which is imperfect.

Lesson 31 ULN2003A Stepper motor driver.pdf (295 KB)

28BYJ-48.pdf (369 KB)

i use an old wall wart supply and step down converter for powering motors and power an arduino thru usb on the bench during development. I have used a 12V wall wart for a final project also connected to the arduino relying on its internal regulator

Dumadri:
Secondly, contrary to the datasheet which recommend to use 5V i power them with a 9V battery.

That seems very silly. You are lucky you did not destroy the motors.

Thirdly , I power the stepper moteur with a 5V - 1,5 A usb cable but it doesnt work? I think it's because of a too low intensity.

You don't say where the cable is getting its power from?

I would expect the sort of adapter that is used to provide 5v USB power from a car's 12v power should work fine. I got some for £1 each a few days ago but they only provide 1 amp so you would probably need one for each motor. Make sure to connect the GND from the external 5v power to the Arduino's GND.

...R

gcjr:
i use an old wall wart supply and step down converter for powering motors and power an arduino thru usb on the bench during development. I have used a 12V wall wart for a final project also connected to the arduino relying on its internal regulator

Thanks you gcjr for your answer.

What I understand is that i can connect my Arduino to a 12v and it will release enough power to run my two steppers ?
I have a 3D printer with an electric transformer from 220v to 12v 5A DC, do you think i can power my arduino with that without burning it ?

Robin2:
That seems very silly. You are lucky you did not destroy the motors.
You don't say where the cable is getting its power from?

I would expect the sort of adapter that is used to provide 5v USB power from a car's 12v power should work fine. I got some for £1 each a few days ago but they only provide 1 amp so you would probably need one for each motor. Make sure to connect the GND from the external 5v power to the Arduino's GND.

...R

Thank you Robin 2.

Yes it's bit silly but i desperate to find a solution.

The power is coming from a classic USB adapter for cellphone which technically provide a 5v 1.55A. Perhaps when i mesure the intensity i have a first a value of 15mA and now 5mA.

I think the problem is that i dont know how much ampere need the motor to run well and how much I can give him.

I have found several chargeur with 5V and 1 / 2 /4 /5 or 10 A, do you think one of them could be good ?

I have also found the same motor in 12V and the datasheet provide a value of 25 mA.

Dumadri:
What I understand is that i can connect my Arduino to a 12v and it will release enough power to run my two steppers ?

the arduino board has a regulator that allows up to a 12V supply to be used for power. That regulator outputs 5V for use on the Arduino board and some lower power devices.

you should use the external 12V supply as the power source for your motor. (see this example)

Ok so I can follow this wiring diagram with the usb wire corresponding to the external 12V 5A ?

I have to precise that I have a TFT pluged in my arduino and using all the pins except :

  • A8 to A15 (actually used to command the 2 motors).
  • D22 to D53 free.

Can I connect the ground of the motor and the ground of the tft to the arduino gnd at the same time ? (see the picture)

Thanks you for time :slight_smile:

Dumadri:
Can I connect the ground of the motor and the ground of the tft to the arduino gnd at the same time ?

all circuitry needs to have a common ground

Images from Reply #6 so we don't have to download them. See this Simple Image Posting Guide

...R

They are nice photos but they don't provide any useful information about your problem.

...R

Thank you for your help !

I 'm not sure of the fritzing wiring diagram I've made based on your explanation.

You will find the fritzing file attached.

2020:02:05 Alim.fzz.zip (40.9 KB)

Dumadri:
I 'm not sure of the fritzing wiring diagram I've made based on your explanation.

Sorry to bring bad news, but Fritzing diagrams are little use - they are too easy to misunderstand. Please just make a simple pencil drawing with the connections clearly labelled and post a photo of the drawing.

You said earlier that you have 5v motors so why are you using a 12v power supply - do you like seeing the smoke escape?

...R

1 Like