Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: Warhawk87 on September 17, 2010, 04:52:30 PM

Title: Looking for an H-Bridge....
Post 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!
Title: Re: Looking for an H-Bridge....
Post by: macdad- on September 17, 2010, 07:20:09 PM
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.
Title: Re: Looking for an H-Bridge....
Post by: Metal Slug 2 on September 17, 2010, 07:29:22 PM
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.
Title: Re: Looking for an H-Bridge....
Post by: voyager2 on September 17, 2010, 08:05:04 PM
How about the Dimension Engineering SaberTooth?
http://www.dimensionengineering.com/ (http://www.dimensionengineering.com/)
 
Title: Re: Looking for an H-Bridge....
Post by: Warhawk87 on September 17, 2010, 08:21:57 PM
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!
Title: Re: Looking for an H-Bridge....
Post by: jocatch on September 17, 2010, 09:55:13 PM
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
Title: Re: Looking for an H-Bridge....
Post by: voyager2 on September 18, 2010, 05:41:49 AM
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)
Title: Re: Looking for an H-Bridge....
Post by: macdad- on September 18, 2010, 09:23:43 AM
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)
Title: Re: Looking for an H-Bridge....
Post by: Warhawk87 on September 20, 2010, 06:26:11 PM
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!
Title: Re: Looking for an H-Bridge....
Post by: macdad- on September 20, 2010, 06:33:17 PM
No Problem  8)
Title: Re: Looking for an H-Bridge....
Post by: Warhawk87 on September 27, 2010, 12:40:09 PM
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?
Title: Re: Looking for an H-Bridge....
Post by: Metal Slug 2 on September 27, 2010, 02:42:32 PM
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.
Title: Re: Looking for an H-Bridge....
Post by: Warhawk87 on September 27, 2010, 03:25:54 PM
Thanks! It doesn't hurt to be too careful  ;D
Title: Re: Looking for an H-Bridge....
Post by: Warhawk87 on September 27, 2010, 06:22:33 PM
I hooked everything up according to the diagram and got nothing.... do i have to connect all the grounds or just one?
Title: Re: Looking for an H-Bridge....
Post by: macdad- on September 27, 2010, 06:54:54 PM
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?
Title: Re: Looking for an H-Bridge....
Post by: Warhawk87 on September 27, 2010, 07:00:03 PM
How would I go about uploading a schematic?
Title: Re: Looking for an H-Bridge....
Post by: knossos on September 27, 2010, 07:04:36 PM
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.
Title: Re: Looking for an H-Bridge....
Post by: Conscripted on September 27, 2010, 08:42:29 PM
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