Welcome to Synthiam!

The easiest way to program the most powerful robots. Use technologies by leading industry experts. ARC is a free-to-use robot programming software that makes servo automation, computer vision, autonomous navigation, and artificial intelligence easy.

Get Started
Asked — Edited
Resolved Resolved by Rich!

Need Help On Hbridge, Please

OK, I have:

Left trigger A 16
Left trigger B 17
Right trigger A 18
Right trigger B 19

When I hit forward, it goes to the right.
when I hit backward, it goes to the left.
when I hit Right it goes forward.
and when I hit Left it goes backwards.

How can I fix this?

Thanks in Advance.


Upgrade to ARC Pro

Unleash your creativity with the power of easy robot programming using Synthiam ARC Pro

United Kingdom
In ARC change your ports for the H-Bridge.

Think logically, since it turns right when you hit forward you know the right motor must be spinning backwards when it should spin forwards. This indicates the right triggers are around backwards. This is confirmed by the other behaviour.

So change Right Trigger A to 19 and Right Trigger B to 18, that should fix it.

Additional info
For information (in case you wanted to know how to figure it out)
To move forwards the motors must;
Left: Forwards
Right: Forwards

To move reverse the motors must;
Left: Reverse
Right: Reverse

To move left the motors must;
Left: Reverse
Right: Forwards

To move right the motors must;
Left: Forwards
Right: Reverse

So, if it's turning right when it should go forwards the motors are;
Left: Forwards
Right: Reverse
When they should be;
Left: Forwards
Right: Forwards
So the right triggers appear to be backwards. Swap them around and check.
Once again, Thank You for sharing your genius with us.

Now it moves forward as directed and backwards as told.
Since I put the top on in reverse, the backwards goes way faster than the forward.
When it tries to move Left, it moves so slowly.
when it tries to move Right, it just gives it a BUMP in the right direction. But you have solved for the direction problem. It could be that my batteries are low.

Thank You!
I think they have Kings and qweens in the UK. Rich gets to choose which he wants to be.
United Kingdom
We have a prime minister who I guess would be the equivalent of president. But it's probably not a good idea to give me control of a country!

I'm happy to share what knowledge I have:)
Isn't that what your Royals are for also? Sharing the knowledge they've attained throughout their lineage? You can be our Royalty here Rich. ;)