Lighting with Tiny bit Micro:bit Robot Tutorial 3.5: Breathing light

Posted by Fiona Su on

Lighting with Tiny bit Micro:bit Robot Tutorial 3.5: Breathing light


1-1.The position of the LED lights and RGB Searching lights on the robot car

1-2.Learn about the principle of LED and RGB Searching light

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: to enter the programming interface. Add the Yahboom package: 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:, you can program. 

In the picture shown below, the two lights by the red wire frame are the RGB Searching lights, the two white squares circled by the red wire frame are the colorful lights.

Principle: LED light  and RGB Searching light  (red, green, blue) are packaged in the LED module. We can mix different colors(256*256*256) by controlling the brightness of the three LEDs.

2.Learning goal

2-1.1.Learn how to use RGB Searching lights and LED lights graphically program building blocks

2-2.In this lesson, we will realize breathing 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:

5.Experimental phenomena

After the program is downloaded, we can see that micro:bit board will display a house pattern on the dot matrix. All lights will realize breathing lights.

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

Lighting with Tiny bit Micro:bit Robot Tutorial:


Leave a comment

Please note, comments must be approved before they are published