Asked
— Edited
Hey.
Following rich's hbridge tutorial, which is the following wiring:
Quote:
Vcc = Motor Supply Positive
Gnd = Motor Supply Ground (ensure this is common if using more than one supply)
+5V = Not Connected
In1 = Digital Port Signal (i.e. D8)
In2 = Digital Port Signal (i.e. D9)
In3 = Digital Port Signal (i.e. D10)
In4 = Digital Port Signal (i.e. D11)
EnA = Digital Port Signal (i.e. D12)*
EnB = Digital Port Signal (i.e. D13)*
I wired up my ez-b(V4) and now have triple checked my wiring so I do in fact have this exact wiring. Proof that my ARC control is correct:

Now, when I press any button on my control, the hbridge does nothing. No lights(except the one indicating 5V), no motor movement, no nothing. When I mess up the control ports, I can get something to move.
With the current wiring, D10 when PWM'd will move the left track forward.
D11 PWM'd causes the left track to go backwards.
No other ports cause an action.
Any help is appreciated.
I'll do more testing when I'm home.
Code:
I can't remember if I ever tested or used the above but it's commented and if there are any errors with it you should be able to find out where and how to fix them.
Left- both went forward
right- both went backward
reverse-left backward, right forward
So something pwm wise is weird.
Wiring didn't change from photos, other than the jumpers are on the hbridge and pwm wires disconnected.
To make it simple, reverse the polarity of one of the motors (whichever one you said moves in reverse when you hit forward) or swap over the Trigger A and Trigger B of that side in the control.
It has nothing at all to do with PWM.
As for the speed control/PWM, now you have the actual control sorted out the speed control should be a piece of cake. 2 ports, 2 PWMs, you can't go far wrong
I noticed that you didn't test with the PWM sliders actually ON. By default the PWM sliders are at 0% PWM (OFF) so this won't allow your motors to move. Try bringing them both up over 30% and try again.
You could also try using the H-Bridge Movement Panel with PWM to have everything in one place. It makes things a little cleaner. Just make sure that if you don't use an "init" script, like in the Roli example, that you move the sliders a bit before use to initialize the PWM lines.
Thanks for the help guys!
Double check continuity of the jumper wires connected to the EnA and EnB pins.
Double check they are attached to EnA and EnB not +5
Double check you have set a PWM (start at 100% and work down)
Failing that;
Try out the H-Bridge test script I posted the other day and see if that does anything.
Edit: I guess you edited the post once you found the issue however see post #11 -