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 add 5-point tracking sensors to the framework built in Lesson 1. If you have not completed installation in Lesson 1, please review Lesson 1

The software in this lesson will read data from these 5-point tracking sensors and automatically guide the smart car to move along the black track line in the white ground.

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 5-Point tracking sensor module x1
18650 batteries(3.7V) x 2
some screws and jumper wires

Step1: Install 2 pcs M3*30+6 copper pillars and 2 pcs nuts at the front of lower car chassis,then

install 5-point tracking sensor module with 2pcs M3 screws as per the following pictures.

Use 7pin female to female jumper wires to connect 5-point tracking sensor modules. Connect GND to GND, VCC of tracking sensor module to 5V in UNO board,IR1,IR2,IR3,IR4,IR5 to A1,A2,A3,A4,A5 in UNO board. As the following photo shows (Remember : DO NOT remove any existing wires installed in Lesson1 ):

Step 1: Install latest Arduino IDE (If you have Arduino IDE version after 1.1.16, please skip this step)Download Arduino IDe from , then install the software.

Step2 :Download Lesson One sample code from , unzip the download zip file , you will see a folder called tankcarV2.0-lesson4.ino.

Step 3: Connect Arduino UNO to PC with USB cable, Open Arduino IDE -> click file -> click Open -> choose code “tankcarV2.0-lesson4.ino” in folder, load the 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.

Step 5: Adjust the sensitivity of tracking sensor modules. Turn on and hold the car and adjust the potentiometer on the tracking sensor with cross screwdriver until you get the best sensitivity status: the signal indicate LED light will turn off when sensor is above white ground, and the signal LED will turn on when the sensor is above black track.


Prepare a black track (the width of the black track is more than 20mm and less than 30mm) in white ground. Please note, the bend angle of track can’t be larger than 90 degree. If the angle is too large, the car will move out of the track.

Turn on the car and put the middle of tracking sensor module facing over black track, and then the car will move along the black track.