5% OFF Over \$19, Code: Elephant5; 10% OFF Over \$59, Code: Elephant10

# Yahboom Omibox Robot Kit Expand Course 4.9 Tracking

Posted by Fiona Su on

Yahboom Omibox Robot Kit Expand Course 4.9 Tracking

1.Preparation

1-1.The position of the Tracking sensor in the robot car

1-2.Learn to understand the principle of Tracking

1-3. Learn how to use Tracking sensor graphically program building blocks.

As shown in the above picture, We circled the Tracking sensor with two purple wire frame. We can control them by programming.

2. Learning goals

In this lesson we will learn how to complete the tracking function of the robot car  by programming.

3.Experimental principle

The basic principle of the tracking sensor is to use the reflective nature of the object. Our experiment is to tracking the black line. When the infrared light is emitted to the black line, it will be absorbed by the black line. When the infrared light is emitted to the other color line, it will reflected to the infrared receiver tube.

When the tracking module of the robot car detects a black line, the indicator light is off, and the indicator light is on when a white (no black) object is detected. We write the corresponding code to complete the tracking function according to this point.

4.Search for blocks

The following is the location of the building blocks required for this programming.

5.Combine blocks

The summary program is shown below:

6.Experimental phenomena

After the program is uploaded, make the Omibox on the black track on the white background, or use our color track directly and open the power of the Omibox. We can see that the car will advance along the black track.

For the tracking sensor, except for black, other colors of the material cannot absorb the infrared light emitted by the infrared emission tube, so when the tracking probe detects the color track, it is equivalent to recognizing the white color. Tracking experiments can be completed.

Note:In order to avoid the interference of sunlight on the infrared light, the experiment must be carried out indoors！

The code of the experiment: 9.Tracking.rar