Buy from US Buy from UK Buy from DE Buy from IT Buy from FR Buy from ES Buy from JP

Mecanum Omni wheel is a very powerful wheel technology which allows robot car make omni-directional movement( parallel shift to left and right).

In this project, we will show how to use Arduino to control an Osoyoo Brand Mecanum wheel robot car to make some basic movement. The installation of lesson 1 provides the fundamental mechanical structure and circuit connection and therefore is starting point of of other four lessons.

OSOYOO Mecanum wheels robotic car chassis x 1 (2xleft-wheels/2xright-wheels and Motor x 4)
OSOYOO Mega2560 board fully compatible with Arduino UNO/Mega2560 x 1
OSOYOO V1.0 Wifi shield x 1
OSOYOO Model X motor driver x 2
OSOYOO battery box x 1
Model X to Model X connection white cable (2 pin XH.25 female to female) x 1

18650 batteries(3.7V) x 2





The Mecanum wheel is one design for a wheel which can move a vehicle in any direction. It is a conventional wheel with a series of rollers attached to its circumference. These rollers each have an axis of rotation at 45° to the plane of the wheel and at 45° to a line through the centre of the roller parallel to the axis of rotation of the wheel. There are two types of Mecunum wheels, A and B Mecunum wheel; the difference between them is the orientation of rollers. For A Mecunum wheel, as shown below, rollers are orientated from lower right to upper left. Rollers for B wheels are installed in the opposite way.

The installation of the 4WD Mecanum Wheel kit should demand some carefulness. A correct configuration requires each of four wheels is set in the way as shown below, where the rotation axis of each wheel’s top roller points to the center of the platform. Please notice that all the dynamic analysis and prewritten codes are based on this configuration.

Circuit Connection

Motor wire connections:





Open-source Arduino
Software(IDE)
Download Arduino IDE here:
https://www.arduino.cc/en/Main/Software?setlang=en
7 zip is a free zip
utility that un-zips zip files
Download 7zip here for free
https://www.7-zip.org/

Step 1: Install latest Arduino IDE (If you have Arduino IDE version after 1.1.16, please skip this step). Download Arduino IDE from https://www.arduino.cc/en/Main/Software?setlang=en , then install the software.

Step 2: Download https://osoyoo.com/driver/mecanum/mecanum-2560-lesson1.zip, unzip the download zip file lesson1.zip, you will see a folder called lesson2 .

Step 3: Connect mega2560 board to PC with USB cable, Open Arduino IDE -> click file -> click Open -> choose code “lesson1.ino” in lesson1 folder, load the code into arduino.

Step 4: Choose corresponding board/port for your project,upload the sketch to the board.

After running Lesson 1 code, the car will move forward,backward, left turn, right turn, left shift, right shift. If the car does not move as per this sequence , you need check the wire connection.