Spring Sale: 5% OFF Over $89, Code: Elephant5; 10% OFF Over $149, Code:Elephant10



Yahboom Omibox Robot Kit Expand Course 4.7 Choose a song

Posted by Fiona Su on

Yahboom Omibox Robot Kit Expand Course 4.7 Choose a song

1.Preparation

1-1. The position of the button, buzzer, RGB lights,LED matrix in the robot car

1-2. Learn how to control them by graphically programming

image.png

image.png

image.png

As shown in the figure above,we circled the blue wire frame with two buttons, we circled the red wire frame with buzzer and two LED matrix . We can control them by programming.

2.Learning goals

In this lesson, we will learn how to use buttons, dot matrix, magic lights, and buzzer. 

When we press the red button, the LED matrix will scroll "RED" to the left, all RGB lights will become red, the buzzer plays the song "Ode".

When we press the green button, the LED matrix will scroll  "GREEN" to the left, then all RGB lights will become green, the buzzer plays the song “Little star”.

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, the car is powered on normally. When we press the red button, the LED matrix will scroll "RED" to the left, all RGB lights will become red, the buzzer plays the song "Ode".

When we press the green button, the LED matrix will scroll  "GREEN" to the left, then all RGB lights will become green, the buzzer plays the song “Little star”.

image.pngimage.pngimage.png

image.pngimage.pngimage.png

The code of the experiment: 7.Choose a song.rar

0 comments

Leave a comment

Please note, comments must be approved before they are published