Robot Tank Car Chassis

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

Robot Tank Car Electronic Parts Kit

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

In this lesson, we will use Mobile to control our robot car and make an imitation driving. Since is a mock driving, we will use a virtual steering wheel and gear in our APP to imitate their counterparts in real car.

TR300 tank car chassis x1 +Acrylic board chassis x1
OSOYOO UNO R3 board fully compatible with Arduino x1
OSOYOO V1.3 WIFI shield x1
OSOYOO Model X motor driver x1
OSOYOO Battery box x 1
OSOYOO Voltage meter x1
OSOYOO Bluetooth Module x1
18650 batteries(3.7V) x 2
some screws and jumper wires

Remember following tips restore your motor control system to lesson 1:

I suggest you run the sketch code in Lesson 1 and make sure motor connection is correct. This is very important for next steps.

Step 1: Connect the Uno board, model X motor driver board according below connection diagram.

Connect ENA wire from D3 to D9, keep wiring in D6,D7,D8,D11,D12 at the same position.

Step 2: Connect B_TX (in wifi shield)to D4 (in Arduino) and and B_RX(in wifi shield) to D5 (in Arduino) as per following picture.

Step 3: Insert Bluetooth Module into Osoyoo WIFI Shield Bluetooth slot as following graph.

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/
Osoyoo WIFI Robot APP Search Google Play or Apple Store with the Keywords “OSOYOO WIFI UDP Robot Car Controller APP”

Step 1: Install APP into your mobile phone:
Go to your   Apple APP store and search APP name “OSOYOO imitation driving”, Download the APP as following and install it in your smart phone.

If you are using Android cell phone, please Download the APP from following link :
https://osoyoo.com/driver/v1car.apk.

 

Step 2: Please download sketch from following link: https://osoyoo.com/driver/TR300_tank/arduino_tank_carV2.0/tankcarV2.0-lesson7.zip ,Unzip the file and you will see a folder named tankcarV2.0-lesson7, then load the tankcarV2.0-lesson7.ino code into Arduino. (Notice: Shut off your battery or Unplug your power adapter when upload sketch code to Arduino.)

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

Drive your Robot Car

Now you have installed your hardware and software for this lesson, let’s drive our car!

Step 1)Put your robot car onto the ground and turn on the battery switch.

Step 2)Go to your mobile phone ->Setting ->Bluetooth setting and search a Bluetooth device called HC-02, pair it with code 1234

Step 3)Open OSOYOO imitation driving Robot APP, Click BT Search button and find the bluetooth you have paired

Step 4)Turn on Engine toggle, and When you rotate your mobile phone angle, your car will change direction.

Enjoy your driving!