
Angell
USA
Asked
— Edited
I'm going through the tutorials (this particular one is lesson 44), and something seems off. I've followed the instructions completely but the H-Bridge controls don't function correctly. Roli will move backwards just fine, but "Stop" causes the left tread to stop, "forward" causes total stop, right causes total stop and left causes only the right tread to move.
Any advice would be greatly appreciated.
Sounds like you have your wires plugged in incorrectly. Could you post a picture of how you have them plugged in?
They should look like this:
This thread helped me get it figured out:
www.ez-robot.com/Community/Forum/Thread?threadId=6762
If it moves when you hit stop then there is a problem with the wires to In1 to In4. It initially sounds like you have the wires for both channels crossed causing both to be low or both to be high on some movement commands or you have a PWM connected to one of the In1 to In4s.
You may need to check on the H-Bridge in Roli and look at what colour wires are going to which pins. Make a note of them and ensure that they are connected to the correct digital ports on the EZ-B and ensure the control in ARC has the correct ports set.
After changing the wiring to match the examples shown for how it should be wired, I'm getting no movement at all.
This is what it currently looks like. I'm not seeing any discrepancies from what other users have posted as their correctly wired units.
Any further help would be greatly appreciated.
Left Trigger A: D1
Left Trigger B: D2
Left PWM: D0
Right Trigger A: D3
Right Trigger B: D4
Right PWM: D5
Your wiring is correct for the above configuration (I have presumed the green wire goes to EnB in your photo).
Check the push switch on the H-Bridge is pressed down to enable the onboard 5V regulator.
Then move the sliders on the Movement Panel down to about 3/4 to initialise the PWM and try moving the robot with the movement panel. After this you can move them back to the top.
While using the Movement Panel see if any LEDs on the H-Bridge are lighting up. You should get two LEDs light up when you attempt to move in any direction (in addition to any LEDs which are currently lighting up).
What Rich is mentioning will work, using the Roli example will just get you there quicker.
As for the wires directly on the HBridge (which is inside roli), there is a section at the bottom of the tutorial with images.
This lesson indicates the same thing (https://www.ez-robot.com/Tutorials/Lesson/69?courseId=3).
The lights on the H-Bridge only come on when mine is in the up position, and Roli only moves when it is in the up position.
Which way is correct?