II.Parts and Devices
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 WIFI Shield x 1
OSOYOO Model Y motor driver x 1
OSOYOO Volatge 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
There are two types of Mecunum wheels, left and right 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.
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.
Before connect wires, make sure you have inserted OSOYOO WIFI Shield onto MEGA2560 board already.
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.
|Download Arduino IDE here:
|7 zip is a free zip
utility that un-zips zip files
|Download 7zip here for free
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 lesson1-reverse.zip , you will see a folder called lesson1-reverse.
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 WIFI 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