Asked — Edited
I bought a double H Bridge Drive, here :
H bridge on ebay
I saw this DJ's tutorial
But I don't understand how connect Ez Board and this H Bridge, because I don't Vcc port on H Bridge.
I did some testing, but I have only one engine running
Can you help me ?
Upgrade to ARC Pro
Experience early access to the latest features and updates. You'll have everything that is needed to unleash your robot's potential.
2 = +5
3 = ext
I have the same h bridge this is how I have it wired. to enable the PWM you have to take off the ena & enb caps and only wire it to the first pin
I'm not acquainted with this Motor Controller. However lets see if we can work through this.
First possible explanation: In your photo above I see the A and B enable pins. It looks like you only have a lead going from EZB to the B enable pin and appears to be the right motor now seems to be working for you. The diagram you drew above shows a jumper between A & B enable which you DO need to get both motors to start up. That way you only need one digital signal port on EZB and one PWM control set to that port in ARC to control the speed of both motors. Make sure you have that jumper installed and the lead going back to EZB is indeed on a digital signal port that is set properly in ARC.
Second possible explanation: This board is not able to be controlled by PWM. All you can do is enable or disable each motor using the jumper block.
Third possible Explanation: You have everything wired up properly and you have overloaded one side of the bridge and burnt it out. Did that side ever work? you can quickly blow one side of an H-Bridge by quickly reversing the direction of a DC motor. This controller is only able to handle a 2 amp load, (3 max). Start up amperage and quick reverse amps can be higher then what the specs are for the motor. Sometimes twice as high! So if your motor is pulling almost 2 amps and you quickly reverse, it may send up to 4 amps back into your control circuit. Is your controller is rated only for 2 amps you have a problem. To protect ageist this you need to buy a controller that already had over voltage and reverse protection or build a diode protection circuit that will draw off that fly back voltage to ground. I see there are indicator lights on the controller board. One light should come on for each direction and each motor. Is that happening?
One thing; I see different wiring in each of the pics you show. You need a ground connected between your power supply (the Negative) , EZB (Negative on it's power port) and your Controller (Power Ground between the 5v and 12v power input). I think if your using 5v from the EZB you need to remove the 5v enable jumper block. If your using the power pack you need the jumper block installed. This would also be the case if you use another type of external power supply like a 12v power converter. From the Ebay link you posted: "This module has a built-in 5v power supply, when the driving voltage is 7v-35v, this supply is suitable for power supply, DO NOT input voltage to +5v supply interface".
Another thing; Lumpy is correct, your motors may be to big for that little power pack. Consider using a different power supply that can supply more volts and amps. What are you going to use this in? Are you able to use a power converter you can plug into a wall? An old computer power supply is a good choice for bench testing. Once you get the bugs worked out you can find a proper battery set up that can provide dedicated power to only your motors. That way you can give 12v to your motors and 5v to your electronics through a step down board or EZB it's self.
Try this:After you have rechecked and rechecked and rechecked your wireing and power supply remove your motors from the controller. Attach a digital tester to see us your getting the voltage you expect both A & B output terminals. Don't hook up any motors till you get the power readings you expect. If you don't own and know how to use a tester now is the time to buy one and learn to use it.
I use 2 motors of windshield ice.
I thank to use it with an another battery 12v.
What's the PWM line ?
Thanks for your pictures.
My error is definitely I don't use ENA and ENB, because I don't know what is it ? And how to connect it (which connector ? (link on web, please).
Thanks for your answer.
In first, I'll test with smaller motors, and I'll see ...
EDIT: Ahh, is see, I was looking at Derriks pic. You need to remove the jumper blocks put a jumper between Enable A and Enable B on your board. Attach the pin closest to the edge of the board. Enable is the same as PWM. If your board is PWM capable you will be able to control the speed of your motors with it by using the PWM slider in ARC. It just changes the voltage sent to the motors (actually it's more completed then that so go a Google search).
excuse my soldering on this
derrick, I understand better with your picture.
I will keep you informed of my tests in a few days.
Derrick, I did as you (thank you again). But I have already 1 motor works (right).
I think, left connectors are out. There isn't volt on the left connectors !
Is it correct ?
Left Trigger A : D8 (with D1, the motors doesn't work)
Left Trigger B : D2
Right Trigger A : D3
Right Trigger B : D4
It's too late, i'll see that tomorrow.
Left trigger a = d8
Left trigger b = d2
Right trigger a = d3
Right trigger b = d4
+5 = d5 middle +5
Ena = d6 trigger
Enb = d7 trigger
+12 & ground = battery + & -
I had the same config of you.
I use a multimeter, and I've 0 volt on the left motor.
I have a question : I use the control '4 wire HBridge Movement Panel' of ARC, and I can only indicate :
Left trigger a
Left trigger b
Right trigger a
Right trigger b
Consequently, Use I the good control ?
Where CAN I config ENA and ENB ?
Can I to try a script (is it difficult ) ?
Assuming you have connected as the tutorial video using the 5th signal wire for both enable pins, add a PWM control and assign it to the port that is connected to the enable pins. The higher the PWM the faster the motors will spin.
You could use a script too using the PWM() command but why complicate what's simple?
I wish you informed.
thank you for your help
Voilà the last wiring
I have connected only the motor B (out B) and it's good with:
In3 = D3 (ext)
In4 = D4 (ext)
ENB = D6 (ext) / config in PWM
+5v = D16 (+5)
==> my motor works very good
If I connected only the motor A (out A) and it's bad with:
In1 = D1 (ext)
In2 = D2 (ext)
ENB = D7 (ext) / config in PWM
+5v = D16 (+5)
==> my motor doesn't work (not even a noise)
Part A out is defective.
It seems to me that this card can suporter two engines windshield ice.
I just order another
Keep in mind you may beed a more heavy duty H-Bridge then what you ordered. Pololu has some nice ones that will work at a good price. You'll need to know how many amps your motors pull and the operating voltage.
And do I need to connect the 5v To Ez-B too?
Basically, 5 signal wires, D15 to D19 to each of the In1-In4 plus PWM split to both enables.
VCC from battery to VCC on H-Bridge
Ground from D19 to H-bridge ground
Vcc from D19 to H-Bridge 5V