4WD 100 mm Mecanum wheels Arduino Libraries

Hello,

I have been working with one of the 4WD 100mm Mecanum Wheels robots lately, but the included libraries and sample code don’t yield the expected results, not making the wheels move at all.
I can get the wheels to move if I manually write the analogue and digital pins within in my code, but this makes it so the wheels have slightly different speeds, making so that is really inaccurate.
I don’t know if there is something wrong with how I built it or if the libraries are just really outdated.

I attach the code Im using for it to move now(MotorWheelTest), and the one that doesn’t give the expected results (Test2).

Thank you
Test2.ino (1.31 KB)
MotorWheelTest.ino (1.82 KB)

We would need to know a lot more about your setup, the motor controllers use, how you have wired them etc.

  • Check that you can make the motors turn normally (as opposed to a Mecanum setup)
  • Check that you ave the right pins connected to the motor controllers from your microcontroller
  • Check your code to see if you have the right setup…

There’s a lot to debugging and you should do it piece by piece.