Pages: [1]   Go Down
Author Topic: Controling 12V DC motor with an arduino  (Read 1788 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi.
I need to control 2 x 12V DC motor from a wheelchair. I dont have access to the datasheet of these motors, so I dont know what is the maximum output current. So my problem is that I cant design my control circuit if I dont know the max current that can flow into my circuit or it can broke.
Does anybody know how to mesure/calculate the max current from each motor and is there any component that I can use to control these motors from a PWM signal.

Thanks.
Logged

United Kingdom
Offline Offline
Tesla Member
***
Karma: 224
Posts: 6614
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Use a multimeter to measure the resistance of each motor. From that you can work out the stall current @ 12V. Use the lowest of several readings, rotating the motor a little between readings, because the brushes may make intermittent contact at the low current supplied by the multimeter.
Logged

Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

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

Tks for the repply. Just another question. For the max current how can I get it? Ohm law? I=motor resistance/12V? And about the controller? Any opinion?
Logged

United Kingdom
Offline Offline
Tesla Member
***
Karma: 224
Posts: 6614
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Tks for the repply. Just another question. For the max current how can I get it? Ohm law? I=motor resistance/12V? And about the controller? Any opinion?

Yes, Ohm's Law:

 I_stall = 12/motor_resistance

For the controller, if you want to run each motor in both directions, you need one H-bridge per motor. Check out the motor drivers at pololu.com. If you want to run the motors in one direction only, it's simpler - you need a suitable power mosfet and schottky diode for each motor.
Logged

Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

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

What do you mean by stall current (max current???).  Do you think that a breadboard can take this amount of current? Or if not what is the maximum current that can flow trough a breadboard?
Tks.
Logged

United Kingdom
Offline Offline
Tesla Member
***
Karma: 224
Posts: 6614
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

No, a breadboard definitely cannot carry the stall current of a wheelchair motor. However, most motor drivers have screw terminals for connecting the motor and motor supply, so there is no need to involve the breadboard in this part of the wiring even if you don't want to solder the connections.
Logged

Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

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

So, I must use a motor driver (h-bridge) like this,

http://www.digikey.pt/product-detail/en/L9958SBTR/497-11667-1-ND/2746896

or something like that, but they all have pins. So I need a breadboard to make the conections between the motor driver, the battery, the arduino. But if the breadboard can't take the amount of current that flow trough the motor driver, how I'm I suposed to make the connections?

Tks for the help.
Logged

United Kingdom
Offline Offline
Tesla Member
***
Karma: 224
Posts: 6614
Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Buy a ready-made motor driver with screw terminals from pololu.com.
Logged

Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

Pages: [1]   Go Up
Jump to: