Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: Warhawk87 on September 17, 2010, 04:52:30 PM
-
Hey guys,
I've been going back and forth on whether or not I should build or buy an h bridge to control my robot's motors. I'm finally putting my foot down and buying one, but I'm having a really hard time finding the right one that I can get without paying 30 dollars in shipping and handling because the part is coming from china :-\ so can anyone help me find, or direct me to a site that can help me find, an h bridge with these specifications:
12 volt output to motors
5 volt logic from microcontroller
5 amp stall current
One chip to control 2 motors would be nice, but not at all necessary
Relatively low cost for both product and shipping to the united states
Thanks for your help!
-
This is close a L6202 at Mouser for $9.85 for one. Datasheet says 5A Peak Current and Logic Support. But only for one motor.
http://www.mouser.com/ProductDetail/STMicroelectronics/L6202/?qs=sGAEpiMZZMtKB4wrjsn3lQPLAQzMALaBiPgsdVkShdc%3d (http://www.mouser.com/ProductDetail/STMicroelectronics/L6202/?qs=sGAEpiMZZMtKB4wrjsn3lQPLAQzMALaBiPgsdVkShdc%3d)
I'll get back to yea once I find some better suited chips(Fortunately this one is a DIP 8) )
Here's the full listing for some of the H-Bridges I found:
http://www.mouser.com/Semiconductors/Power-Management-ICs/Motor-Motion-Controllers-Drivers/_/N-41dum?P=1z0jzjc&Keyword=motor&FS=True (http://www.mouser.com/Semiconductors/Power-Management-ICs/Motor-Motion-Controllers-Drivers/_/N-41dum?P=1z0jzjc&Keyword=motor&FS=True)
NOTE: Some of the Chips under peak current list their peak current at 5A, but they may say something like "2.5A DC", I assume that means if they are PWM'ed or not.
-
If its possible to splice the outputs of this (http://www.solarbotics.com/products/k_cmd/) dual h-bridge motor driver, and you can make do with 4 amps, you may be in luck. Otherwise each channel of that h-bridge can provide 2A constantly only.
-
How about the Dimension Engineering SaberTooth?
http://www.dimensionengineering.com/ (http://www.dimensionengineering.com/)
-
My motors peak at 5 amps so I don't want anything to blow up! I'll look into all your suggestions, thanks a lot!
-
I am using this controller and it works great for my 5 amp stall motors. In reality, my motors never stall, the wheels just spin...
http://www.pololu.com/catalog/product/707 (http://www.pololu.com/catalog/product/707)
JC
-
My motors peak at 5 amps so I don't want anything to blow up! I'll look into all your suggestions, thanks a lot!
The Sabertooth 2x5 will be fine for that, heres a better link:
http://www.dimensionengineering.com/Sabertooth2X5.htm (http://www.dimensionengineering.com/Sabertooth2X5.htm)
-
I am using this controller and it works great for my 5 amp stall motors. In reality, my motors never stall, the wheels just spin...
http://www.pololu.com/catalog/product/707 (http://www.pololu.com/catalog/product/707)
JC
For surface mounts, that's pretty good! 8)
-
This is close a L6202 at Mouser for $9.85 for one. Datasheet says 5A Peak Current and Logic Support. But only for one motor.
http://www.mouser.com/ProductDetail/STMicroelectronics/L6202/?qs=sGAEpiMZZMtKB4wrjsn3lQPLAQzMALaBiPgsdVkShdc%3d (http://www.mouser.com/ProductDetail/STMicroelectronics/L6202/?qs=sGAEpiMZZMtKB4wrjsn3lQPLAQzMALaBiPgsdVkShdc%3d)
I just finished purchasing the L6202 you recommended. It fits with everything I need and its cheap. Thank you ver much for you advice! When my robot is done ill post it up so you can see how it comes out!
Thanks again!
-
No Problem 8)
-
I got the parts, but I just realized, I dont know how to put everything together to make it work 0.o... My guess is, and let me know if I am right or wrong:
Connect IN1 and IN2 to 2 different pins on my microcontroller.
OUT1 to a lead on a motor and OUT2 to the other lead on the same motor
ENABLE to a pin on my microcontroller
GND(4) to the negative terminal of my battery
Vref to the positive terminal of my battery
If I hooked everything up exactly like this, would it work or blow up?
-
Yes to everything except the last one.
Vin goes to positive terminal of your battery.
From the datasheet (http://www.st.com/stonline/books/pdf/docs/1373.pdf), on page 3, there is a table listing which pin connects to what.
-
Thanks! It doesn't hurt to be too careful ;D
-
I hooked everything up according to the diagram and got nothing.... do i have to connect all the grounds or just one?
-
It's a good idea to, but not entirely necessary(unless you have power-hungry motors).
Hm, the enable pin looks like it can be set to a stable HIGH or LOW(as well as Square Waved), can you upload a schematic?
-
How would I go about uploading a schematic?
-
If you don't have software to create one, you can always sketch it on a piece of paper and scan it or if all else fails, there's always paint :P.
-
If you don't have software to create one, you can always sketch it on a piece of paper and scan it or if all else fails, there's always paint :P.
Paint is my friend. Long before "all else fails"
Conscripted