Pages: [1]   Go Down
Author Topic: controlling 15 motors  (Read 759 times)
0 Members and 1 Guest are viewing this topic.
Florida
Offline Offline
God Member
*****
Karma: 2
Posts: 559
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello, I'm volunteering for a not for profit and I need some ideas. They are having me help them design a project that will power 15 DC brushed motors. The motors are 12v, 2amp and will need to be run at various speeds and in different directions. My plan was to use the L298N but I would like to know if there is a cheaper option? Any ideas would be awesome!

Thanks!
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 538
Posts: 27147
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You can find 2A H-bridge chips for a little less:

http://www.digikey.com/product-detail/en/BA6219B/BA6219B-ND/658358
vs
http://www.digikey.com/product-detail/en/BA6222/BA6222-ND/2673806
vs
http://www.digikey.com/product-detail/en/L298N/497-1395-5-ND/585918

Outside of that, you are looking at making your own h-bridge driver with 4 transistors each and all that goes with that.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Florida
Offline Offline
God Member
*****
Karma: 2
Posts: 559
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for the suggestions but the one I found was a little cheaper…
https://www.sparkfun.com/products/9479

Also I don't exactly know how to connect them to the Arduino as I was planning on figuring it out once I got them but they would like schematic and I was wondering if anybody had one? (i only need to show how to connect one to the Arduino)


Thanks!
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 538
Posts: 27147
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Wow, that is a good price.
Anyway, hook it up per the datasheet. See Figure 6.

You can also google L298 Shield and finds sites like this
http://arduino-info.wikispaces.com/MotorDrivers
with connection info.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Florida
Offline Offline
God Member
*****
Karma: 2
Posts: 559
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I looked at the data sheet and I understood wear to hook everything to but I don't know If I need other parts to put in-between the connections. Do I need some diodes or resistors? 


Thanks!
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 538
Posts: 27147
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Diode, yes. See the figure I referenced.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Florida
Offline Offline
God Member
*****
Karma: 2
Posts: 559
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I read the link as soon as you posted it but I don't know wear to put the diodes It appears like I will need 8 but wear to place them?  "There are 8 diodes that are connected from the motor outputs to ground and the motor power supply."  I don't quite understand that. Please forgive my ignorance as i'm still trying to understated electronics!
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 538
Posts: 27147
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You will need 4 per motor. Connect them close to the motor.


* L298_connections.jpg (54.89 KB, 960x720 - viewed 18 times.)
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Florida
Offline Offline
God Member
*****
Karma: 2
Posts: 559
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks!
Logged

0
Offline Offline
Tesla Member
***
Karma: 145
Posts: 9637
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Might save some time and trouble to just buy the h-bridge boards like below.

http://www.ebay.com/itm/5-PCS-Dual-H-Bridge-DC-Stepper-Motor-Drive-Controller-Board-Module-Arduino-L298N-/321147141737?pt=LH_DefaultDomain_0&hash=item4ac5dc7e69
Logged

Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   smiley-cool

Florida
Offline Offline
God Member
*****
Karma: 2
Posts: 559
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I was looking over that picture and to be honest I have never really used one like that, (I have only used the nice color ones) and it a appears like I need some 100nf capacitors. Is that true?

Zoomkat I thought about buying some pre made motor driver however they are double the cost and I must build everything for under $150 Including the Arduino Mega.

Thanks!
« Last Edit: June 25, 2013, 06:56:35 am by Drew Davis » Logged

Pages: [1]   Go Up
Jump to: