Summer Sale: 5% OFF Over $49, Code: Elephant5; 10% OFF Over $99, Code:Elephant10



Yahboom Omibox Robot Kit arduino IDE course 5.5 Dot_matrix_love

Posted by Fiona Su on

Yahboom Omibox Robot Kit arduino IDE course 5.5 Dot_matrix_love

1.Learning goals

1-1.The position of the Dot matrix on the robot car

1-2.Learn about the Arduino board pins connected to the Dot matrix of  Omibox programmable robot

2.Preparation

image.png

As shown in the above picture, we circled the Dot matrix with two red wire frame. We can use the program to make different colors and brightness.

According to the hardware manual, we can see that the pins of the control dot matrix are

DIN-9,

CS-10,

CLK-11.

3.About code

The code for this experiment is as follows:

image.png

image.png

image.png

 

image.png

4.Download code

1.We need to open the code of this experiment:  Dot_matrix_love.ino, click“√” under the menu bar to compile the code, and wait for the word "Done compiling " in the lower right corner, as shown in the figure below.

2. Click 【Tools】 --- 【Board】 -- we need to choose Arduino Uno. As shown in the figure below

image.png

image.png

3.In the menu bar of Arduino IDE, we need to select 【Tools】---【Port】--- selecting the port that the serial number displayed by the device manager, as shown in the figure below.

4. After the selection is completed, you need to click “ →  ”under the menu bar to upload the code to the Arduino UNO board. When the word “Done uploading” appears in the lower left corner, the code has been successfully uploaded to the Arduino UNO board, as shown in the figure below.

image.png

image.png

5.Experimental phenomena

After the program is uploaded, open the power of the robot car, and two love patterns are displayed on the dot matrix at intervals of 1 second for three consecutive times, and finally the “LOVE” is displayed on the dot matrix.

image.png  image.png

The code of the experiment: 5.Dot matrix love.rar

 

 

0 comments

Leave a comment

Please note, comments must be approved before they are published