·Click on the public account to follow us / Get the latest robot education information
In the previous articles, we introduced the BBC’s Micro:bit, a microcomputer development board aimed at programming education for teenagers. In this article, I will guide you through the first module group of Micro:bit, helping you complete your first Micro:bit program.
Since the Micro:bit development environment is equipped with an emulator, we can view the programming effects through the emulator even if we do not have the development board in hand.
All information displayed by Micro:bit is implemented through dot matrix lights, and its development environment also provides four display modules for developers to use specifically, which we will introduce one by one. (The following introduction applies to both online programming and offline client programming)
01
Create Project
When we first open the programming environment, it looks like this.
Online programming: http://makecode.microbit.org/
![Getting Started with Micro:bit: Display Module Tutorial](https://ss.boardor.com/wp-content/uploads/2024/12/00548041b4c73784d3b172bc476ec017bfefa56816c1937474bba68f30883a75.jpg)
Client programming: Add WeChat: RCRL_Niuk to get the client download method
![Getting Started with Micro:bit: Display Module Tutorial](https://ss.boardor.com/wp-content/uploads/2024/12/cc324295f1dd3c23093fff5efd8a18ef00523e79b7459fa7da7cc0e1fabb2683.png)
As can be seen, when we first open the programming environment, we need to create a new programming project, so we just click “New Project” to jump to the programming interface.
In online programming, you need to enter the project name when creating a new project, and this name supports both Chinese and English; in client programming, it will directly jump to the programming interface when creating a new project.
02
Display Module
After entering the programming interface, we can see that the left side is the Micro:bit emulator; the middle is the module selection area; the right side is the module editing area; the lower left corner is the download button; and the middle below is the project name, next to it is the project error button.
![Getting Started with Micro:bit: Display Module Tutorial](https://ss.boardor.com/wp-content/uploads/2024/12/dd3ab2f3843f48569c02db45daf2e4bb7759d7d20b208ba3dd78e2acb67cb1f1.png)
The display module we are using today is in the “Basic” section of the module selection area.
Vol.1
Click and drag the “Display Number” module into the “On Start” module, and you will find that the left emulator displays the number “0”. Try clicking on the “Display Number” module and change the “0” to another number?
![Getting Started with Micro:bit: Display Module Tutorial](https://ss.boardor.com/wp-content/uploads/2024/12/0d2aded75645da6f88f37fa8aa485be600310ce99b8b9be07e8fb3148bfdac6b.png)
When the number is changed to two digits or more, the dot matrix light’s number becomes a scrolling screen because the dot matrix light can only display a single character or number. (The following modules work similarly)
Vol.2
Drag the “Display LED” module into the “On Start” module, and the left emulator will automatically refresh. (The emulator will refresh automatically every time a module change occurs)
In the “Display LED” module, there is also a 5×5 dot matrix. We just need to click on any small block, and it will light up, and the left emulator will light up the corresponding LED. You can try to draw a small work.
![Getting Started with Micro:bit: Display Module Tutorial](https://ss.boardor.com/wp-content/uploads/2024/12/95bc27a8fbe0546534e0303ff19e1fc7797622cb3d4c96c2b73453b504c50a49.png)
Vol.3
If you have no artistic talent and can’t draw, that’s okay.
The next module to be introduced, the “Display Icon” module, is prepared for you. Click the icon at the end of this module, and the prepared pattern will be displayed.
![Getting Started with Micro:bit: Display Module Tutorial](https://ss.boardor.com/wp-content/uploads/2024/12/f22a528c799651f0c5f24bf901380d5967ba246f20a8569e591f271e63db2f71.png)
Vol.4
The last module introduced, the “Display String” module, is used to display letters or English sentences for prompt effects.
That’s right, this module only supports English letters, and entering Chinese will not display.
![Getting Started with Micro:bit: Display Module Tutorial](https://ss.boardor.com/wp-content/uploads/2024/12/421443890157e5bfa562dc397f62b40c395ec999e4e9d321ecd0bba72625d92f.png)
03
Micro:bit Program Download
When we connect the Micro:bit to the computer via a data cable, a disk will pop up, and then we can download the program. The download method varies based on computer configuration.
Vol.1
Click the download button to download directly to Micro:bit.
Vol.2
Drag the downloaded “.hex” file to the Micro:bit disk.
![Getting Started with Micro:bit: Display Module Tutorial](https://ss.boardor.com/wp-content/uploads/2024/12/a1fa6d8faad36e74440025a00926d479a90084ae1067dac68af67d2bf3186f57.gif)
● Through this study, I believe you have a preliminary understanding of Micro:bit programming. Now, please try to create a dynamic pattern? I will reveal the answer next time.
Scan the code to enter the course sharing group for more course resources
![Getting Started with Micro:bit: Display Module Tutorial](https://ss.boardor.com/wp-content/uploads/2024/12/73bd457f739b6487fdc2227cbf7c1f72f2dadeef406d607f7bae359728a739bc.jpg)
If you can’t scan the code to enter the group, you can add WeChat below to join the group
![Getting Started with Micro:bit: Display Module Tutorial](https://ss.boardor.com/wp-content/uploads/2024/12/6a8bde48d8c3061224a7c8ba39d8248dc308f86e536d71dcb40b673436335545.jpg)
END
![Getting Started with Micro:bit: Display Module Tutorial](https://ss.boardor.com/wp-content/uploads/2024/12/cf8d781c4a96e801512f8d102ff53e9d7ad225c43a31a8ee417d22c9b8c00b39.jpg)
Robot Course Resource Library
WeChat ID | RCRL_Niuk
Joint brand under Xinyu Maker Culture