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



Yahboom Omibox Robot Kit Expand Course 4.5 Traffic light

Posted by Fiona Su on

Yahboom Omibox Robot Kit Expand Course 4.5 Traffic light

1.Preparation

1-1. The position of the RGB lights and color detection module in the robot car

1-2. Learn how to use RGB lights and identify graphically program building blocks

image.png

image.png

As shown in the above picture, we circled LED matrix with a red wire frame,we circled the color detection module with a green wire frame. 

2.Learning goals

In this lesson, we will learn how to achiev, when the Omibox robot recognizes red, a stop people pattern is displayed on the LED matrix; when the Omibox robot recognizes green, a walking people  pattern is displayed on the dot matrix.

3.Search for blocks

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

image.pngimage.pngimage.png

4.Combine blocks

The summary program is shown below:

image.png

5.Experimental phenomena

After the program is uploaded, open the power of the robot car. When the Omibox robot recognizes red, a stop people pattern is displayed on the LED matrix; when the Omibox robot recognizes green, a walking people  pattern is displayed on the dot matrix.

image.png image.png

The code of the experiment: 5.Traffic light.rar

0 comments

Leave a comment

Please note, comments must be approved before they are published