2 Motors 4 switches

Hello Forum

My friends and I have 2 12V Waterproof motors that we are trying to control through a joystick.

The joystick is simple in that it has just 4 switches that it can switch on. We plan to use each switch to control the motors so that when we attach them to a vehicle it can propel it forward, backwards, left, right, forward left, forward right, backwards left and backwards right. The joystick can activate two switches simultaneously or activate a single switch.

We tried to use the four switches on a breadboard circuit and used a push pull driver to see if that would work but we realized it would be better to use an arduino board to read the multiple inputs and use a H Bridge to control the motor movements.

Im not great at programming as I can only do basic things but I was wondering if anyone had an idea of how we could code the arduino board so that it could read the multiple inputs and then make the motors go in the directions stated above.

Any help will be great.

Can you provide more informations on the motors?

Just provide all the information you have on all the hardware, saves time having to be asked
again.

Have you worked through the relevant example sketches? If not then do so.