Mecanum Wheel Robot Car Kit Metal Chassis (without 18650 batteries)

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

Mecanum Wheel Robot Car Electronic Parts Kit (without 18650 batteries)

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

Mecanum Wheel Robot Car Full Package (without 18650 batteries)

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.OSOYOO Mecanum Wheels Robotic Car Chassis x 1 (2x left-wheels/2x right-wheels and 4x motor)
OSOYOO Mega2560 board fully compatible with Arduino
OSOYOO V1.0 Wifi Shield x 1
OSOYOO Model X motor driver x 2
OSOYOO HC02 bluetooth module
OSOYOO Battery box x 1
18650 Batteries(3.7V) x 2

You must complete lesson 1 (assembling the car) before you continue on with this lesson.No need change anything, just keep the hardware wire connection as it is.

STEP1: Connect B_TX and B_RX to D19 and D18.

(Note: You need split 2 pcs of male-to-female jumper wires from our 10-pc jumper wire bundle. Any color from the bundle will be ok. The rest of 8 pcs wires are as spare parts for potential broken or damaged wires.)

STEP2:Bluetooth Module should be inserted into bluetooth 6-pin slot in OSOYOO Wifi Board

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_metal_chassis/for_mega2560/metal-2560-lesson4.zip , unzip the download zip file lesson4.zip, you will see a folder called lesson4 .

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

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

Mobile APP:
Go to your Google Play or Apple APP store and search APP name “OSOYOO imitation driving”, Download the APP as following and install it in your smart phone.

Power on the robot, and open APP.

1)If you have not paired Bluetooth module with your cell phone, please pair the bluetooth module first before open the APP. In your cell phone Setting->Bluetooth ,find a Bluetooth device called HC02, pair it with password 1234

2)After bluetooth HC02 device is paired, open the APP. If you are using Android APP, ClickBT Search Button to connect APP to HC02 device, if it is iOS APP, just click connect

3)Click Engine Switch to start/stop the car

4)Click Speed +/- button to accelerate or reduce speed

5)Rotate the mobile phone to change direction(steering wheel will rotate while you are turning the phone).

6)click Gear button to change gear to Forward or Backward direction.

7)press F1 to Shift to left way, F5 to shift to right way, F3 to up left diagonal, F4 to up right diagonal.

Motor Speed Tuning for better performance

To get better running performance result, motor power(speed) value should be adjusted properly as per battery level. If motor power(speed) value is too high, your car might run too fast and easy to out of control. If motor power(speed) is too low, the car might not even move.

To adjust the motor power value, you need change the 3 constants line 27,28,29 in mecanum-2560-lesson4.ino sketch file:

#define MIN_SPEED  50
#define TURN_SPEED  70
#define SLOW_TURN_SPEED  50
#define BACK_SPEED 60

MIN_SPEED is the minimum power required to start the car. If when APP engine toggle is switched to RED, but your car does not move, you need increase this value , if the car runs too fast at engine start moment, you need reduce this value.

TURN_SPEED AND, SLOW_TURN_SPEED value determines the turning speed of your car. If your car turning too fast, you need reduce these two values, if turning too slow or not turning, increase these two values. Always make SLOW_TURN_SPEED about 20 to 30 lower than TURN_SPEED value.

BACK_SPEED value determines the reverse back running speed.

After batteries are running low, you might need to increase the value of these 3 constants. You can gradually add or reduce 10 each time on these values and compare which values have best tracking performance.