I. Objective
II. Parts and Devices
III.Hardware Installation
IV.Circuit Connection
V.Software Installation
VI.How to play
Mecanum Wheel Robot Car Full Package
Buy from US | Buy from UK | Buy from DE | Buy from IT | Buy from FR | Buy from ES | ここでご購入を! |
Mecanum omni-wheels are a powerful technology that enables a robot car to move in any direction, including lateral movement to the left and right.
In this project, we will demonstrate how to use Arduino to control an Osoyoo brand robot car equipped with Mecanum omni-wheels.
OSOYOO Mecanum Wheels Robotic Car Chassis x 1 (2xleft-wheels/2xright-wheels and Motor x 4)
OSOYOO Mega2560 board, fully compatible with Arduino
OSOYOO V1.3 Wi-Fi Shield x 1
OSOYOO Model Y motor driver x 1
OSOYOO Voltage meter x1
OSOYOO Battery box x 1
OSOYOO 3pin female to female jumper wire x1
OSOYOO 6pin male to female jumper wire x2
OSOYOO 2 pin XH.25 female to female x1
18650 batteries (3.7V) x 2
Specifications:
There are two types of Mecanum wheels, left and right Mecanum wheel; the difference between them is the orientation of rollers. For A Mecanum wheel, as shown below, rollers are orientated from lower right to upper left. Rollers for B wheels are installed in the opposite way.
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 pre-written codes are based on this configuration.
Before connect wires, make sure you have inserted OSOYOO Wi-Fi Shield onto MEGA2560 board already.
Step13. Connect 4 motors to model Y driver board as per the following pictures.
Caution:
When insert/remove the 6-pin parallel cable plug into Model Y 6-pin male socket, please hold the white plastic pin-holder to do operation. Never drag the wires to pull the plug out of the socket, otherwise it will damage the wires.
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 unzips 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_metal_chassis_m2/m2-lesson1.zip, unzip the download zip file called m2-lesson1.zip, you will see a folder called m2-lesson1.
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.
Disconnect Arduino from PC, put battery into battery box. When you put the car on the ground, turn on the switch on OSOYOO Uart Wi-Fi shield and the switch on battery box.
After running Lesson 1 code, the car will move
Forward→Backward→Left turn→Right turn→
Right Parallel Shift→Left Parallel Shift→
Up Right Diagonal→Down Left Diagonal→
Up Left Diagonal → Down Right Diagonal
DownLoad Url osoyoo.com