
TheRat
Hi,
I have a probleme with my Roli h-bridge.
I checked my connections like explained in those posts :
http://www.ez-robot.com/Tutorials/Lesson/44
http://www.ez-robot.com/Community/Forum/Thread?threadId=6809&page=2
My h-bridge was initially connected like the wrong way as here :
Now when I open the exemple project from roli in ez-builder,
if I want to go forward, only the right motor is going forward (nok),
if I want to go right, only right motor is going backward (nok),
if I want to go backward, the two motors are going backward (ok),
if I want go left, left motor is going backard, right motor is going forward (ok).
I don't know where is my mistake.
Thanks
Just a thought. Have you changed the digital port values in the "H-Bridge movement" control config menu (pictured below)? Try clicking on the "gear" icon, then try changing the port values in menu until you get the correct movement direction you desire.
Ensure both the wires on the EZ-B and wires on the HBridge are connected correctly according to the images.
I realize the image is very challenging to understand, which is why we will be changing it when i return to Calgary later this week.
@Steve : I have this :
@DJ : Thanks, I modified the project but "save as" it localy, I have reloaded the roli default project and I have the same problem.
it looks ok to me but I certainly miss a trick of
Do the leds on the h-bridge light when you give it commands?
Alan
Looking at your pictures and symptoms, I think you have a bad Hbridge, but that would confirm it. If you set d0 and d6 high, and then find any other port which doesn't cause some movement then you either have a bad H-bridge or a bad port on the EZ-B.
(you can test for a bad port by moving the wire from the non-responding port to another port.)
Alan
Using the defaults, this should be port D1/blue/In4.
Never count out a broken wire, that's been the culprit a number of times for me. Try swapping over the purple and blue wires on both sides so that purple connects In4 to D1 and Blue connects In3 to D0, test and see if the left motor runs only reverse rather than only forward, if this is the case then the blue wire is broken.
A, B, C and D should light up too depending on the logic sent. Forwards, reverse, left and right should make 2 of the 4 leds illuminate, does it? (this will eliminate a motor/motor wiring fault).
Modifying the project did you accidentally miss the speed initialization script for the hbridge in the connection control?
Code:
Sorry, I did not have time to see my problem.
Maybe I could during the Christmas holiday;)