Pages: [1]   Go Down
Author Topic: Large number of motor to control  (Read 715 times)
0 Members and 1 Guest are viewing this topic.
Quebec
Offline Offline
Newbie
*
Karma: 0
Posts: 21
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi everyone,

I have a quick question! I have a small project where I need to control 20 Door lock motor. I was wondering if It could be acheive with 1 arduino mega and 10 motor controller shields.

Thank you

M.
Logged

UK
Offline Offline
Shannon Member
****
Karma: 223
Posts: 12577
-
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You'd need to use shields that can be controlled independently - typically, the pins used by each shield are fixed so that they would all respond identically. I assume that's not what you want. This could be addressed by using a proto board to reroute the pins between each shield, but the costs add up sharply when you have twenty of everything. The number of pins would also be problematic on a UNO with that many outputs so I suppose a Mega would be needed.

I suspect you might be better off using motor driver cards rather than shields that plug directly on to the Arduino so that you can control the pin assignments directly instead of having to reroute the pin headers. For that many, I'm sure it would work out considerably cheaper to make your own H bridge drivers, if you're able to deal with breadboard soldering and electronics.

I suspect that the people who make Arduino controlled robots will be able to give you chapter and verse on this, might be worth a search for a robotics forum.
Logged

I only provide help via the forum - please do not contact me for private consultancy.

Offline Offline
Sr. Member
****
Karma: 0
Posts: 403
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

if you give some more information on your motors like voltage and stall current we might be able to help you decide what you need.
Logged

Quebec
Offline Offline
Newbie
*
Karma: 0
Posts: 21
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you for your answers,

Each will consume 1.5amps at +/-6V for 5sec burst. The motors will be used in pair and at no time will both motors of a given pair will have to be actuated together.

Thanks
Logged

Offline Offline
Sr. Member
****
Karma: 0
Posts: 403
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

is 1.5 amps the stall? if it is that is a good thing because thats not too much current.

okay I looked around and found these. http://www.pololu.com/catalog/product/2135
they can go up to 1.5 amp stall and control 2 DC motors. not bad for $6.

I would measure the current at different voltages and see if you can run your motors at say 4 or 5 volts. that will lower the current use for the motors and would give you more of a safety margin.

EDIT: just read this about the controller.
if you are willing to pay double, you can use one controller per motor and tie both channels together.
Quote
Motor outputs can be paralleled to deliver 2.4 A continuous (3 A peak) to a single motor
« Last Edit: September 19, 2012, 07:37:44 pm by arduinopi » Logged

Topsham, Vermont USA
Offline Offline
Edison Member
*
Karma: 32
Posts: 1867
... in The Woods In Vermont
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi, Are you reversing the motors (Like used in the car) or running them only in 1 direction?

"Motor Drivers" like this are actually 4 power drivers and you could use them individually if the motors are not reversed:
http://goo.gl/BvShT

More INFO on the ArduinoInfo WIKI here - http://arduinoinfo.info   
Logged

Regards, Terry King terry@yourduino.com  - Check great prices, devices and Arduino-related boards at http://YourDuino.com
HOW-TO: http://ArduinoInfo.Info

Poole, Dorset, UK
Offline Offline
Edison Member
*
Karma: 50
Posts: 2211
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The next question is:- do you need speed, direction, brake, current sensing.

For speed you need a pin that can produce PWM does the mega have enough PWM pins?

For current sensing you need a analog pin per motor.

Will the mega give you this?

Mark

PS Let the OP answer!
Logged

Quebec
Offline Offline
Newbie
*
Karma: 0
Posts: 21
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you guys!

Quote
Hi, Are you reversing the motors (Like used in the car) or running them only in 1 direction?
Yeah I will need to inverse the polarity in order to run the motors both

The next question is:- do you need speed, direction, brake, current sensing.

For speed you need a pin that can produce PWM does the mega have enough PWM pins?

For current sensing you need a analog pin per motor.
No I do not need speed or current sensing. I only need to say motor 1 +6V, motor 2 -6V or the reverse

Thank you for your answer

M.
Logged

Pages: [1]   Go Up
Jump to: