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



Singing with Tiny bit Robot Tutorial 4.2 Play Merry Christma with lights

Posted by Fiona Su on

Singing with Tiny bit Robot Tutorial 4.2 Play Merry Christmas with lights

Playing internal music

1.Preparation

1-1.The position of the buzzer on the robot car

1-2..Learn some basic music knowledge

Programming method:

Mode 1 online programming: First, we need to connect the micro:bit to the computer by USB cable. The computer will pop up a USB flash drive and click on the URL in the USB flash drive: http://microbit.org/ to enter the programming interface. Add the Yahboom package: https://github.com/lzty634158/Tiny-bit to program.

Mode 2 offline programming: We need to open the offline programming software. After the installation is complete, enter the programming interface, click【New Project】, add Yahboom package: https://github.com/lzty634158/Tiny-bit, you can program.

In the picture shown below, the black cylinder circled by the red wire frame is the buzzer on the Tiny-bit.

2.Learning goal

2-1.Learn how to use buzzer graphically program building blocks

2-2.In this lesson, we will play music 《Merry Christmas》with colorful lights.

3.Search for block

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

4.Combine block

The summary program is shown below:

Please refer to the microbit-Merry-Christmas.hex file for this course summary procedure.

5.Experimental phenomena 

After the program is downloaded, robot car will play 《Merry Christmas》with lights.

The code of the experiment: 2.Play Merry Christmas with lights.rar

Singing with Tiny bit Microbit Robot Tutorial:

0 comments

Leave a comment

Please note, comments must be approved before they are published