Course Content
About BBC microbit
Micro:bit board is designed by BBC which aims to help children at or above 7 grade to learn programming better. Micro:bit board has abundant board resources, including a 5*5 LED metric dot array, 2 programmable buttons, Compass, USB ports, Bluetooth module etc.. It is only pocket size but very powerful. You can programming, customize or control it as well. The latest Micro:bit V2 board comes with a touchable Logo and microphone on the front. A speaker is added on the back, so all kinds of sounds can be played without external equipment. The gold finger at the bottom adds a gear design to facilitate the user to better fix the alligator clip. In addition, the 2nd generation Micro:bit board also support sleep mode. Users can make it enter sleep mode by long pressing the reset button, which can reduce power consumption. The most important feature is that the CPU performance of the Micro:bit V2 board is much better than the V1 version, coupled with more RAM. So Micro:bit V2 allow users to expand more functions and create more creative works.
0/1
Transfer code to the micro:bit
This guide explains how to transfer code from a computer or tablet so that it can run on a BBC micro:bit. It covers: Transferring a program from MakeCode or the micro:bit Python Editor from a computer from an Apple device (iPad or iPhone) from an Android device Transferring a program that has been downloaded as a file When your program is being transferred, your micro:bit will pause and you may see the yellow LED on the back flash. Once it’s copied across, your program starts running on your micro:bit.
0/6
BASIC LESSONS
Quick projects to suit all ages, searchable by computing topic, level, coding language and micro:bit feature
0/10
SENSOR LESSONS
Quick projects to suit all ages, searchable by computing topic, level, coding language and micro:bit feature
0/8
CREATOR BIT
The micro:bit Creator:bit Bricks Pack contains 360 degrees servos, the LED strips and almost 200 pieces bricks. Together with the well-designed assembly instructions and courses, it makes the kids learn the coding easily as well as how to build blocks in an interesting way. Let’s start building our kits with the tips!
0/9
Private: Welcome to Micro:bit starter kit
About Lesson

1. Learning goals

In this lesson, we will learn to use the on board buzzer and photosensitive sensor of the micro:bit to detect the current light intensity in real time.

When the light is dark, the Micro:bit board dot matrix will display a moon.

When the Micro:bit board light is strong, it means daytime, start the alarm clock, the Micro:bit board dot matrix will display a sun.

image.pngimage.png 

2. 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 http://microbit.org/ in the USB flash drive to enter the programming interface to start 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】, you can start program.

3.Looking for blocks

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

image.png 

image.png 

image.png 

image.png 

image.png 

4.Combine block 

The summary program is shown below. 

image.png 

Program analysis:

Set the light level value to the variable “item”.

When the condition is met (“item” is less than or equal to 20), it means that the current environment has weak light intensity and it is at night, and the dot matrix displays a moon.

Otherwise, it means that the current ambient light intensity is strong, the dot matrix displays the sun, and the buzzer starts to play music.

5.Experimental phenomena

After connecting the computer to the micro:bit board via the micro USB data cable. Click download or save on the programming interface, and the program can be successfully downloaded to the Micro:bit board.

When current environment has weak light intensity and it is at night, and the dot matrix displays a moon.

When current ambient light intensity is strong, the dot matrix displays the sun, and the buzzer starts to play music.