Asked — Edited
Resolved Resolved by Steve G!

12 V Motor With H-Bridge

Afternoon All

Can anyone confirm the H Bridges in the tutorials are still not suitable for 12 volt motors even with the new EZ boards? I want to avoid the headache of using a Pololu H bridge. The wiring and configuration are a nightmare :D This is for a simple waist rotation, not high speed.

Thanks,

Daniel


ARC Pro

Upgrade to ARC Pro

Your robot can be more than a simple automated machine with the power of ARC Pro!

#9  

Thanks Steve

I'll check out your recommendation and look at the amps. This is a 12 v Dewert motor to slowly rotate the main robot body on a smooth Lazy Susan. Nothing continuous.

Daniel

United Kingdom
#10  

@Mulberry.

No problem. If you Google the motor you have, you might find a spec sheet telling you the current draw. That will give you an idea of what motor controller you can use.

#11  

Daniel, Is this the same Dewert motor the B9 club uses and talks about? if so it's a 24v motor. However that's OK as it can easily run at 12v DC only it will turn slower with less torque.

User-inserted image

These motors pull a ton of amps at start up and throw current back into the controller when reversed. When I first started trying to control them I burnt up two of the H-bridges sold here in the EZ Robot store. They are nice h-bridges but wont handle the flyback current produced by this motor when it reverses. Last time we spoke I mentioned this issue and is why I recommended the Pololu h-bridge as it's much better and natively protected from this electrical phenomenon. Your going to keep burning up controllers unless you use one that is good at protecting it's self from over voltage and reverse voltage. eek

EDIT: I just reread your last few posts. Are the H-Bridges you burnt up the Pololu I recommended? I have used them with this motor with no issues. I can help you with the connections and would also be willing to solder the needed parts to it if you want the help. :)

#12  

Yep. The issues are with the Pololu and H Bridges in general. The soldering seems straightforward but for some reason I can't get the bloody things to work. I've gone through several. The issue must lie with connecting to EZ (ports). I've tried with and without a PWS. I suspect there is something quite obvious that I'm missing. My EZ in the leg section will control waist rotation and soil tester. Over the weekend I stripped out my power block and fuse wiring and am starting from scratch. I'm fine with the slow rotation from the Dewert with 12 volts. That's how I ran it before when I had an H bridge that worked. Once I upgraded to the latest EZ board that set-up failed despite mirroring the same ports.

Daniel

#13  

I've continued work with my Pololu motor controller with the H_bridge control with PWM but to date I'm only able to get motor rotation in one direction. I've tried dozens of port setting permutations but no luck. If anyone has used a similar setup would they be willing to share images of their EZ board connections and port settings? This is about my only block to finishing my build.

User-inserted image

Thanks,

Daniel

#14  

GOT IT!

Believe it or not the damn thing's working. The port configuration makes no sense to me but I don't care. I've taken photographs, drawn a circuit diagram, and made every conceivable steps I could to record the connections.

Man we're talking weeks here.........

Thanks to everyone who gave advice. I'm now going to start drinking.

Daniel

United Kingdom
#15  

@mulberry.

That's great news. So glad you got it finally working the way you want. Enjoy the drink, you deserve it.;)

#16  

Great Daniel. I knew you would get it if you kept at it.

In know you have it working now but just to run through the connections:

In a typical application: **The motor power supply is connected at the bottom of the board (where is says + - Motor Supply). in your case 12vdc. **The motor it's self is attached to the right side of the board (where it says Out A and Out B). On a typical DC motor it would not matter which lead goes to A or B. You can swap these if you want the motor to go the other way. **The control connections go to the left side of the board. You would want to attach one signal pin of an EZB Digital port to the PWM pin, The Black Ground pin of EZB's Digital port to GND. Now you need to be careful on the next connection. This motor control board requires 5vdc be delivered to the 5+ pin. The center power pin of any digital port on EZB will deliver what ever voltage your powering EZB at. If your feeding 12 vdc to power EZB then you have 12vdc at the center pin of any digital port. If your attaching this feed through 12vdc to the little Pololu board at the 5+ pin it sill shut down or burn up. You need to step down the voltage or use an alternate power source to get a stable 5vdc feeding the 5+ pin on the left side of the Pololu motor controller. **You will also need two more wires attached to INa and INb. These would in turn attach to two different signal pins on EZB's digital ports. These will turn on when you call for them and set the direction of the motor.

So on EZB you'll have: 3 wires connected to the digital signal ports 1 wire to the ground of a digital port 1 one to the center power pin of a digital port that must be regulated to 5vdc

**Now in ARC you would have to make sure you set the PWM port to te wire that is attached to the PWM of the Pololu and move ot up over 40 by either using the PWM control or in a script. **Only then can you turn on or off the Digital port (one at a time) either in a script or a control that either attaches to INa or INb and the motor will turn the way you want or stop.

Hope this helps.

Chears and bottom s up! I'll hava a rum and coke. :)