Go Down

Topic: controlling 15 motors (Read 923 times) previous topic - next topic

Drew Davis

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!

CrossRoads

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.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Drew Davis

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!

CrossRoads

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.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Drew Davis

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!

CrossRoads

Diode, yes. See the figure I referenced.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Drew Davis

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!

CrossRoads

You will need 4 per motor. Connect them close to the motor.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.


zoomkat

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
Google forum search: Use Google Advanced Search and use Http://forum.arduino.cc/index in the "site or domain:" box.

Drew Davis

#10
Jun 25, 2013, 01:33 pm Last Edit: Jun 25, 2013, 01:56 pm by Drew Davis Reason: 1
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!

Go Up